Hi,
I am trying to design a circuit that uses an Arduino board to control a solenoid valve that works off mains power. I think I have worked out that I need a resistor between the pin on the board and the base of a transistor, with a diode across a relay and the 5V power from the board into the collector side of the transistor and the emitter of the transistor to the ground. The other side of the relay is just the solenoid valve connected to the power.
I am struggling however to work out which transistor/resistor/relay/diode I need on the board side of the circuit!
Any help would be greatly appreciated, thanks in advance
Tom
I am trying to design a circuit that uses an Arduino board to control a solenoid valve that works off mains power. I think I have worked out that I need a resistor between the pin on the board and the base of a transistor, with a diode across a relay and the 5V power from the board into the collector side of the transistor and the emitter of the transistor to the ground. The other side of the relay is just the solenoid valve connected to the power.
I am struggling however to work out which transistor/resistor/relay/diode I need on the board side of the circuit!
Any help would be greatly appreciated, thanks in advance
Tom