Hardware Reference
In-Depth Information
2.2
Connecting
a
Relay
and
a
Lamp
to
Arduino
Assembling the hardware for this project is really simple. First, plug the Ethernet shield on
top of your Arduino board, and connect the shield to your Internet router via an Ethernet
cable.
For the relay module, there are three pins you need to connect: VCC, GND and SIG. VCC
needs to go the Arduino 5V pin, and GND goes to the Arduino ground pin. Finally, connect
the SIG pin to pin number 7 of the Arduino board. This is a picture of the project at this
point:
 
Search WWH ::




Custom Search