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!

