Search
Product Info
Relay Control PCB
sku: COM-09096
Description: Based on the Controllable Power Outlet Tutorial, this is the bare PCB that allow you to switch high voltages with a simple 0 to 5V GPIO on any microcontroller.
Note: This is only the bare PCB. You must buy the through hole components and solder them to the PCB.
BOM (bill of materials can also be found in the related items below):
- 1 Relay (COM-00101)
- 2 1K Resistor (COM-08980)
- 1 10K Resistor (COM-08374)
- 1 Diode (COM-08588)
- 1 Transistor (COM-00521)
- 1 LED (COM-00528)
- 1 2-pin Screw Terminal (PRT-08432)
- 1 3-pin Screw Terminal (PRT-08235)
Documents:
This PCB and parts are really meant for someone with mild experience. If you're uncomfortable soldering or dealing with high voltage, please checkout the PowerSwitch Tail. The PowerSwitch Tail is fully enclosed making it a lot safer.
Pricing
Comments
17 comments
Feeds
Currency
Display prices in
Feedback
If you would like to tell us more, you can fill out our form if you need some psycho-suggestive questions. Go to the form.























The 2pin screw terminal does correctly fit the board.
The board works great, though!!!
Could I suggest that you link this page from
http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=119
Thanks! :)
Sparkfun, can you fix the footprint or move it on the PCB a tiny bit?
Maybe you could also look into stocking that particular relay. It's SPDT, which is handy if you need a N/C pin, and it has top-mounted spade terminals for those of us who are squeamish about running high-voltage, high-current AC through PCB traces.
Also, if 14 gauge solid conductor barely fits into the 2pin screw terminals (an not very securely). I threw them out and soldered directly to the board.
In setup() I set the relay CTRL digital pin to input and sense whether it is HIGH or LOW. Relay CTRL appears LOW (value of 0) when attached to a relay board and HIGH (value of 1) when not connected to anything.
If the relay is detected, I change the digital pin to output, exit out of setup(), and continue into loop().
Unlikely. The 10A traces my roommate are using on our new LED sign/deathray are .25" wide, but we are going for a huge factor of safety. According the trace width calculator that Advanced Circuits (the board house we frequent), a 283 mil (.283") trace will take 10A assuming a 1 oz/sqft copper layer and 10 degrees C temp rise.
Calculator is located here: http://www.4pcb.com/index.php?load=content&page_id=95
But, an idea popped into my head: remove the traces and just solder to the relay's contacts. In my uneducated mind, this would work. I've been out of electronics "hacking" since high school (10+ years), and have recently started working the muscles again.
So, can anyone shed some light on this? Would removing the traces allow you to use the full capacity of the relay? Or are there some other pitfalls I'm not thinking about? I was thinking about hot glueing the relay to the board to keep it in place...