Basic Stamp 2 Board of Education output pins
gtmeloney
Posts: 13
I've been programming with the Basic Stamp 2 BOE for several months now and have run into a situation that I can't explain. I'm trying to use the BOE with a pair of bluetooth modules and the DS1620 temperature sensor to monitor the temperature in a bedroom. Everything works great except recently the bluetooth module has stopped powering up when I power it through the output pin (I do something like: BT_PWR PIN 1·... HIGH BT_PWR). This used to work, but now for some reason it does not power up the module. If I wire the module directly into VDD then it works fine.
I wired an LED up to pin 1 and it did light as expected. My question is: is it possible that the BOE is not outputting enough amperage through the output pin to power my bluetooth module? Furthermore, why did the module previously power up when wired through the output pin?
I believe that powering through VDD suffices to·show that the module is functioning just fine.
**note: I checked the voltage through the output pin and it was ~ 5 volts.
I wired an LED up to pin 1 and it did light as expected. My question is: is it possible that the BOE is not outputting enough amperage through the output pin to power my bluetooth module? Furthermore, why did the module previously power up when wired through the output pin?
I believe that powering through VDD suffices to·show that the module is functioning just fine.
**note: I checked the voltage through the output pin and it was ~ 5 volts.
Comments
I suspected that something like that was going on, so I elminated everything else from the BOE and still, no luck. Is there a workaround for this?
Yes there is,
You could put a mosfet to use as an electronic switch for the bluetooth module. That way you could power it up whenever you needed to with the stamp.
James L
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
James L
Partner/Designer
Lil Brother SMT Assembly Services
Are you addicted to technology or Micro-controllers..... then checkout the forums at Savage Circuits. Learn to build your own Gizmos!
That does the trick.
**Note: my problem has been solved by way of a transistor, but I'm curious as to why I really needed the transistor for my setup.
Thanks
It could also be your batteries are tired.
And yes, you really should NOT power external chips through the BS2 I/O pins.· They source and sink that much current so they can be used for various I/O purposes that require more than a few milli-amps.· But pulling too much current through them will destroy the I/O pin drivers -- and when you're powering a chip, you don't have a lot of control over how much current it pulls.