The collector is connected to ground, and the emitter is connected through my DC motor to the positive rail
I watched this video: http://www.youtube.com/watch?v=cEz1i5xzGEE&feature=related and did everything he did exactly, and my motor did not run. I have no idea what to do next.
@polishdude20Thanks for the response. I did try connecting the transistor directly to the arduino 5V out. It is a pretty small DC motor, 1.5V if I remember correctly. I measured the current draw on the motor connected directly to a 9V battery and it was pretty high, about 650 mA if I remember correctly. The 2n2222a is rated to 600 mA, but I figured that would be enough to run the motor just a little slower. Is this logic wrong?The ATMega itself was getting hot, not he voltage regulator. I am guessing this means it was drawing too much current through itself, which makes no sense to me.I read through your thread, you found out you just needed to use MOSFETS? Maybe I will go buy some of those tomorrow.
Here is a picture of my circuit set up. Any advice?http://i.imgur.com/EKZ8n.jpg
Here's an example circuit of an NPN transistor like 2N2222 driving relay to drive a higher current motor.Put your smaller motor between +5 and the collector.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16