Blogroll
-
Recent Posts
Archives
- March 2023
- February 2023
- November 2022
- September 2022
- August 2022
- April 2021
- July 2018
- June 2018
- May 2018
- December 2017
- September 2017
- August 2017
- February 2017
- June 2016
- May 2015
- April 2015
- March 2015
- December 2014
- October 2014
- September 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
Meta
PC to arduino to toy crane
This entry was posted in Uncategorized and tagged arduino, computer interface, electronics, robotics, robots. Bookmark the permalink.
Thanks for posting the video.
What transistors did you use? And the max motor current?
I used NPN low-power transistors 2N222A, 2N3904, and 2N4401s from Radio Shack. They come in a pack of fifteen, five of each kind. Surprisingly cheap.
According to the specs on the back of the package, the lowest collector current is for the 2N3904 and is 200 mA. I checked just now and the only 2N3904 in the circuit was the transistor feeding power into the motor when pin 13 was high. So the motor current would have to be less than 200 mA.
BTW, out of respect for the Arduino pins, in hindsight I would have ‘fine-tuned’ a lower resistance rather than leaping down to one-fifth the value. But 220 ohm resistors were what I had available.
Just now I checked the arduino.cc site and it says the max current draw on a pin is 40mA. At five volts, that works out to a 125 ohm minimum. So I guess I’m safe.
Kinda wondered what those transistors were. explains it. Plus those half-installed examples were enlightening.
Goofed up the link before. Trying again:
Kinda wondered what those transistors were. explains it. Plus those half-installed examples were enlightening.