Getting started with the RelaySquid
I built this little project to show the basics of how to use the RelaySquid. This is a really small project that shows how to connect some lights up to the RelaySquid, and then control them with a few digital switches that I picked up from RadioShack.
To make this project, the first thing I did was run out to RadioShack and pick up some parts, like a Component PC Board, 4 Red, Green, Yellow and Blue Buttons, Extra Solid Core Wire. The whole project took me no more than 10 minutes to assemble.
I wanted to make a small board for some digital buttons, so I chose to make a small PCB. But! Anyone could just as easily use 4 little switches on a breadboard. The first thing I did was set up the 4 buttons:
Then I connected one side of each button to the +5V on the Lithium Backpack:
Next I connected the other side of each button to the respective relay you want it to control, and then I then secured the Lithium Backpack to the PC Board with the 4 Buttons on it. After that I connected each Button to the RelaySquid Digital Input that controls it’s respective color output. That meant I took the wire from the blue button, and tied one end to +5V, and the other end I plugged into the labeled pin on the RelaySquid that corresponded to the blue light. I also connected the Lithium Backpack’s +5V and GND to the RelaySquid’s respective inputs on J8.
I turned on the Backpack and press the buttons to test each Squid Relay (you should hear a click with each press). When this test worked ok, I plugged in each AC plug (including the power input coming from the RelaySquid.
I made sure the lights were one, and then every time I pressed a button, the corresponding relay on the RelaySquid would turn on. That’s it!