Hardware Reference
In-Depth Information
Then, you need to insert the Arduino board into the device and connect the relay module
to the Arduino board. The connections to the Arduino board are really easy: connect the
VCC pin of the relay module to the Arduino +5V pin, the GND pin to the Arduino GND,
and the SIG pin to the Arduino pin 7. This is shown in the following screenshot:
Now, you can plug a USB cable into your Arduino board so that you can control it from
your computer. I also made a small hole in the device that I hacked so that the USB cable
can fit nicely when the device is closed. You can now close the device.
With the device I used, this is how it looked at the end:
Search WWH ::




Custom Search