Professional Documents
Culture Documents
Living
Outside
Play
Technology
Workshop
Table of Contents
Controlling AC light using Arduino with relay module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 2: Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 6: Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 7: Watch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
http://www.instructables.com/id/Controlling-AC-light-using-Arduino-with-relay-modu/
http://www.instructables.com/id/Controlling-AC-light-using-Arduino-with-relay-modu/
Step 2: Connections
Connect pin 7 arduino to IN 1 relay module
5v to vcc of relay module
gnd to gnd of relay module
http://www.instructables.com/id/Controlling-AC-light-using-Arduino-with-relay-modu/
Image Notes
1. NO
2. NO
3. COM
4. Hot line (power supply)
5. To the load (light)
Image Notes
1. gnd
2. IN 1 input signal
3. VCC 5V
http://www.instructables.com/id/Controlling-AC-light-using-Arduino-with-relay-modu/
Step 6: Code
digitalWrite(RELAY1,0); // Turns ON Relays 1
Serial.println("Light ON");
delay(2000); // Wait 2 seconds
digitalWrite(RELAY1,1); // Turns Relay Off
Serial.println("Light OFF");
delay(2000);
File Downloads
Step 7: Watch
http://www.instructables.com/id/Controlling-AC-light-using-Arduino-with-relay-modu/
Related Instructables
ClicketyClackety
Sunlight Wave
Machine
(Photos) by Elap
Getting Started
With Relays by
IndoorGeeks
SEEED Studio /
Arduino -- 5V
Relay module
(Digital) -Electronic Brick
by rik
Arduino
Building a four
powered mini
channel
SolidState Relay traffic signal monitor your
by diy_bloke
repair shop! by
troyanderson
Arduino
powered
bluetooth
remote relay
switch by
simon72post
Advertisements
Comments
2 comments
Add Comment
carlos66ba says:
http://www.instructables.com/id/Controlling-AC-light-using-Arduino-with-relay-modu/