I tryed with the Darlington NPN configuration with the 2N2222

But nothing happen. Please, help.
PS: I know about the existance of the relay card:

But i cant use it. Really, thank you.


Connect together GND of RasPi and GND of the relays' power supply.phentux wrote:But i cant use it.
Hello Ivan, well, if i dont do that will never work, but my question is about what kind of transistor should i use for this, and what configuration. Thanks.FLYFISH TECHNOLOGIES wrote:Hi,Connect together GND of RasPi and GND of the relays' power supply.phentux wrote:But i cant use it.
Best wishes, Ivan Zilic.
What is required current to fire the relay ?phentux wrote:my question is about what kind of transistor should i use for this, and what configuration.
Thanks Tarcas, but i dont have the relay board, so i cant use it. I need the transistor.Tarcas wrote:You really don't need a transistor in the circuit. I have a 4-relay board similar to that and it works on 3.3v to the IN pins.
I must confess I'm not entirely sure what that IC between the Pi and the Relay board is for. Is that a buffer? A transistor array? Sorry... I didn't use anything there.
Connect the 5v to JD-VCC on the board, not VCC.
Connect 3.3v from the Pi to VCC on the board. (This is compared against the 3.3v on the IN pins. If you're using a 5v GPIO, you would jumper 5v between both the VCC and JD-VCC rails.)
Connect your GPIO pins
And of course the ground from Pi to ground on the board.
This setup worked for me.
I like when people take life in a simple way... As said, to answer you about proper transistor, we need to know the current trough the relay. Optionally, post the relay label/type/model.phentux wrote:I need the transistor.
This is it!!! thank you man!!!FLYFISH TECHNOLOGIES wrote:HI,I like when people take life in a simple way... As said, to answer you about proper transistor, we need to know the current trough the relay. Optionally, post the relay label/type/model.phentux wrote:I need the transistor.
Without this information I could only write: NPN transistor + 1k ohm base resistor + protection diode like 1N4001.
Best wishes, Ivan Zilic.