Solenoid circuit question

Breakout boards, sensors, Drawdio, Game of Life, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Solenoid circuit question

Postby dustynrobots » Mon Dec 03, 2012 9:18 pm

So I have a small solenoid from Adafruit and I hooked it up as in the diagram here and it works:
http://www.arduino.cc/playground/upload ... driver.pdf

However, I first had it hooked up with the solenoid and the transistor order reversed so inline from power it was:
power-->transistor-->solenoid-->ground
|
Arduino

and it did not work. So my question is why would this NOT work? I'm happy it works now of course, but would appreciate any insight since I can't come up with a reason why it didn't work in this configuration. Thanks!
dustynrobots
 
Posts: 9
Joined: Fri Jul 22, 2011 4:43 pm

Re: Solenoid circuit question

Postby adafruit » Mon Dec 03, 2012 9:22 pm

a NPN transistor is on when the the base is about .7V above the emitter. if you connect the emitter to ground, then you can pull the base up to 0.7v. if the emitter is 'floating' or connected to an inductor (which, when turning on, is an instant short but then turns into an open) then the base wont be steady. thats the short answer, for more details, check horowitz & hill, chapter 1 & 2
User avatar
adafruit
 
Posts: 10485
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc


Return to Other Adafruit products

Who is online

Users browsing this forum: No registered users and 4 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [100]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]