Maker Pro
Maker Pro

Do I need resistors with my transistor?

I'm going to to use a 12V battery (with Solar Panel) to power an Arduino AND a 12V solenoid. I will use a transistor to switch the solenoid on after a digital output is sent from the Arduino.

The circuit will be similar to this raw design here, (minus the relay, and the motor is a solenoid).

Also, I have no idea about the 1K resistor or what value it should be. It was just a raw schematic from something else.

P.S. I also know I will need capacitors for the 7805l
 
If driving a solenoid from an Arduino look at a Fet such as 2n7000.
If over 200ma load then a logic level power mosfet will work.
M.
 
Last edited:
If you tell us the spec of the solenoid and what transistor your using I am sure we can work something out.
Cheers
Adam
 
For a saturated switch, my rule of thumb is base current 10% of collector current.

Collector current is what the solenoid draws. Call it Is.

Then it is simply Ohms law from there. The voltage across the base resistor is the voltage you apply to it -0.6V, the approximate Vbe.

So:

Ib = Is / 10

V = I * R

(Vin - 0.6) / Ib = R

Bob
 
Top