Relay switch problem
MarkCrCo
Posts: 89
I'm trying to make this relay work but I either get the relays' LED to light with out activating the switch or I short out the stamp and it resets when the pin is set low. The only docs I have refer to the raspberries' 3.3v output so I made the modifications to the resistors as noted.
Comments
I dont get that the stamp shorts out. Something isn't connected right. With the circuit you have there should never be a short condition.
This also is my first Basic stamp from many years ago that I use for testing various ideas. Maybe it has out lived its usefulness. I think I may try another stamp.
GREAT PRODUCT
Karl on Nov 16, 2014
This is a fantastic product at a great price. Just one thing! Do NOT set the jumper to GND-VCC! This will cause a short! This is not a design error! You can use the board non-isolated the way it comes.
This jumper is used to separate the opto-coupler circuit from the relay side.
To fully isolate the inputs from the relays:
1) Pull the jumper and use secondary 5 volt power to the relay using GND and VCC next to JD-VCC. Do NOT use the VCC and GND pins next to the IN1 and IN8 input pins!
2) The JD-Vcc is the common for all inputs. The input side consists of the indicator LED and opto-coupler-LED and a 100 ohm resistor in series.
3) Apply Arduino 5 volt to JD-VCC and IN1 or INx to the Arduino outputs (LOW) and the relay will be triggered. Hope this helps! Thanks to Eric for the schematic! You can find a schematic on amazon.
Connected vdd to vcc next to the input connections, Connected vss to the ground on the relay board. Left the ground next to the input pins open and left the jumper in place and with the original resistors from the diagram it works.