How much power can the BS2 handle?
pcrobot
Posts: 103
Hello,
I'm trying to run some stuff off the BS2 pins. How much power can 1 pin supply/handle at a time? I have functions that draw about 2.8mV, 2.2mV, and 25mV.
I don't want to hurt my Stamp, so I'm being cautious...
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
Post Edited (pcrobot) : 3/15/2006 12:03:34 AM GMT
I'm trying to run some stuff off the BS2 pins. How much power can 1 pin supply/handle at a time? I have functions that draw about 2.8mV, 2.2mV, and 25mV.
I don't want to hurt my Stamp, so I'm being cautious...
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
Post Edited (pcrobot) : 3/15/2006 12:03:34 AM GMT
Comments
Okay, all kidding aside, you can find the tech specs here: http://www.parallax.com/html_pages/tech/faqs/stamp_specs.asp
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
EDIT: OK, I may have figured it out.... I'm running these voltage across a 1 ohm resistor, so then 2.2mV is equal to 2.2mA, right?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
Post Edited (pcrobot) : 3/15/2006 1:41:48 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
Post Edited (pcrobot) : 3/15/2006 1:41:15 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
Post Edited (pcrobot) : 3/15/2006 1:40:53 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
The BS2 puts out zero, and +5, volts on its I/O pins. Typically the symbol "mV" means milli-volts, or a thousandth of a volt. A milli-volt will do nothing to a fan. And a BS2 doesn't put out signals that small.
Now, the BS2 can put out about 50 mA (mA being milli-amps, or a thousandth of an amp.) at 5 volts. That's not going to do much to a fan either.
And a "function" is typically something you call in your source code. A "device" is something you hang off an I/O port.
I don't mean to be difficult, but with the terminology you're using it's difficult to determine what your problem is.
V = IR. The BS2 puts out 5 volts. 5 = I * 1 ohm. 5 / 1 == 5, so you've created a situation where the BS2 could try to put out 5 amps. Now the BS2 will try to put out 5 amps, and its pins will burn out at around 50 mA, so damage to your BS2 is very likely in this instance.
I'm going to attach the instructions (scanned-in to a JPG file) I was given, as they can explain it all better than I can. I think I've been explaining things inaccurately.
Please look it over and list the potential problems.
Thanks for helping such a newbie...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
That value, in milli-amps, is what it takes to activate the motor going CW.
Repeat the above process after moving your jumper so it is now between terminal 9 and terminal 6, which runs the motor CCW. In fact, you should repeat the process for each "input" pin on the bread machine (which are pins 5,6,7 and 8). The result should be a table with 4 entries -- for each pin, what is the current needed at that pin to turn on that function (function OF THE BREAD MACHINE, that is).
If any of those values are above 2 mA (and I bet most of them are) then you can come back here and find some interface circuits for driving the resulting currents.
P.S.· Aha!· Now I see what "I'm trying to run some stuff off the BS2 pins. How much power can 1 pin supply/handle at a time? I have functions that draw about 2.8mV, 2.2mV, and 25mV." means.
So, 2.8 mV corresponds to 2.8 mA (because of the 1 ohm resistor, right?) 2.2 mV becomes 2.2 mA, and 25 mV becomes 25 mA.
So you need a driver circuit for the 25 mA pin.· A Darlington Array chip would work well at these currents.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.
That's assuming your figures are correct. Even if you're incorrect, if you put a 220 ohm resistor in series with the BS2 I/O pin, your chip would be protected.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Robotics
ro-bot-ics (noun)
the science or technology of robots, their design, manufacture, application, use, etc.