Darren Gibbs wrote: >So the answer appears to be the diode. When it's in parallel with >the transistor as the book shows, it causes the latching behavior. >When I put the diode in parallel with the solenoid, no more latching. > >So now I know what's wrong, but not why it does what it does. Can >anyone explain why the transistor would stay on because of a path for >current to get from E back to C? > First things first, You HAVE to provide a inductive dump path for the energy stored in the coil! Think of it as a current flywheel, you get the current flowing in the coil to cause the solenoid action. When you turn off the current source, the stored magnetic field MUST collapse and the coil becomes a generator. (With potentially a VERY high voltage compliance!) The generated current is equal to the applied current , and it WILL find a place to go! In your case, It found your Collector Base junction, as the voltage VERY rapidly climbed as the transistor turned off, causing an avalanche. So then it finds the Base Emitter junction turning the transistor ON, vola! latchup. Put the diode across the LOAD (like you old me!) and it will supply a path for the load dump current. > >mystery half solved, > >darren > > > -- * | __O Thomas C. Sefranek WA1RHP@ARRL.net |_-\<,_ Amateur Radio Operator: WA1RHP (*)/ (*) Bicycle mobile on 145.41, 448.625 MHz http://hamradio.cmcorp.com/inventory/Inventory.html http://www.harvardrepeater.org -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist