Maker Pro
Maker Pro

Do I need resistors with my transistor?

Mat17

Oct 13, 2015
23
Joined
Oct 13, 2015
Messages
23
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
 

hevans1944

Hop - AC8NS
Jun 21, 2012
4,886
Joined
Jun 21, 2012
Messages
4,886
.. The circuit will be similar to this raw design here, (minus the relay, and the motor is a solenoid). ...
If you intended to upload a schematic diagram or image, try again. It didn't work.
 

Minder

Apr 24, 2015
3,478
Joined
Apr 24, 2015
Messages
3,478
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:

Minder

Apr 24, 2015
3,478
Joined
Apr 24, 2015
Messages
3,478
That is the advantage of a Fet, It is voltage and not current driven.
M.
 

Mat17

Oct 13, 2015
23
Joined
Oct 13, 2015
Messages
23

Arouse1973

Adam
Dec 18, 2013
5,178
Joined
Dec 18, 2013
Messages
5,178
If you tell us the spec of the solenoid and what transistor your using I am sure we can work something out.
Cheers
Adam
 

BobK

Jan 5, 2010
7,682
Joined
Jan 5, 2010
Messages
7,682
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