PC to arduino to toy crane

Advertisements

About engineerzero

Once and future engineer.
This entry was posted in Uncategorized and tagged , , , , . Bookmark the permalink.

5 Responses to PC to arduino to toy crane

  1. Don says:

    Thanks for posting the video.

    What transistors did you use? And the max motor current?

  2. engineerzero says:

    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.

  3. engineerzero says:

    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.

  4. Don says:

    Goofed up the link before. Trying again:

    Kinda wondered what those transistors were. explains it. Plus those half-installed examples were enlightening.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s