2. What you will need
https://amzn.to/3Al1zyj
https://amzn.to/3CmMcam https://amzn.to/3inMyFM
Arduino UNO Arduino Uno Network Shield
Wireless is an option though I’ve not tested nor do I recommend wireless as it is not as reliable as a
wired connection
8-channel Relay
3. Disclosures
This project is a DIY. I’m only providing instructions and suggestions on how I
managed to create this project.
I’m not an arduino proficient coder. I’m a hack. This code while works may not be
the best or most efficient code for this project. If you wish to improve it please let
the Houdini team know so they can update it as needed.
I have tested this setup with my own Houdini (demo) and it communicates and
works as expected.
You are on your own with this project you can reach out to me, I may or may not
assist as I have many other projects I’m working on as well.
Info@hourtomidnight.com
4. Build out
I always suggest building out
things like this on a breadboard
and testing prior to applying it to
your real world install.
Below is what I used. More info
next page.
You may need to build a circuit
board or use a prototype shield
for your inputs.
5. The resisters are 10k ohm. This is used to
pull the inbound pins to ground (LOW).
The other side of the switch is connected
to the 5v supply to cause the inbound pin
to go (HIGH) when pushed. This tells the
arduino that the button is activated.
NOTE: pins 4,11,12,13 are not used as it
is needed for the UNO-Ethernet shield
connection.
6. The Relay board is used for pushing
single out from the UNO to your real world
devices.
NO-normally open (not on)
NC-normally closed (on by default)
C-common
NO
C
NC
NO
C
NC
NO
C
NC
NO
C
NC
NO
C
NC
NO
C
NC
NO
C
NC
NO
C
NC
7. The Code (I warned you I’m not a coder, I’m a hack)
A few things to note. If you want the Arduino to run faster after your testing. Be
Sure to comment out the “Serial” lines.
If you are not using all of the 8 inputs Comment out the If statements of the inputs
you are not using. The UNO will think there are switches acting randomly if you
do not comment them out.
See zip file with the arduino sketch(ino) and a Fritzing file(fzz) fritzing is just a
layout. You can see that here in this document as well.
Note: to comment a line add // to the first of that line.