| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This was formerly stated to be for the SainSmart relay modules, but it was later pointed out to me that these boards actually already have this logic built in to them.
These interface boards will allow you to connect your Raspberry Pi (rev 2.0, at least) to a 4 or 8-Channel 5V Relay Module.
| Quantity | Part | Notes |
|---|---|---|
| 8 | 12kΩ ¼ Watt Resistors | This multi-pack has all the resistors you'll need for this, and much more. |
| 8 | 10kΩ ¼ Watt Resistors | |
| 8 | 2N3904 Transistors | Amazon. |
| 1 | 2 inch x 2 inch single-sided PCB | I cut this down. |
| 1 | 3 inch jumper wire | |
| 1 | 26 pin header (2x13) | [This] will be more than enough. |
| 1 | 10 pin header (1x10) |
| Quantity | Part | Notes |
|---|---|---|
| 4 | 12kΩ ¼ Watt Resistors | This multi-pack has all the resistors you'll need for this, and much more. |
| 4 | 10kΩ ¼ Watt Resistors | |
| 4 | 2N3904 Transistors | Amazon. |
| 1 | 2 inch x 2 inch single-sided PCB | I cut this down. |
| 1 | 3 inch jumper wire | |
| 1 | 26 pin header (2x13) | [This] will be more than enough. |
| 1 | 10 pin header (1x10) |
The relay boards are powered by 5v and the relays are triggered by taking the input pin to ground. Since the Raspberry Pi's GPIO pins output 3.3v I used a set of transistors to take the relay pins to ground.
I used 2N3904 transistors simply because they were cheap and readily available. In theory any NPN transistor should work, but the resistors may need to be adjusted.
To make the board I used the toner transfer method. There are plenty of instructions on the internet for this, so I won't go into it here.
The Relay Module I used has opto-isolation on the input pins. To maintain this isolation you would need to use an external 5v power supply instead of using the Pi's.
There is no license other than to say that I release this to the public domain... do with it as you wish (see the license file).
| Back | FazBrowse Home | New Git URL |