BS2: Vdd, Vin, P0-P15 - Voltage, mA ?
IceFirePro
Posts: 86
Hi!
I know that each of the P0 to P15 input/output pins is capable of delivering up to 20mA of electricity at 5 volts regulated.
Question:
I know that Vin delivers as much as the power source connected to BS2 does - but how many mA can it supply?
What about Vdd - It delivers 5 volts regulated, but does it support more than 20 mA?
What's the overall mA the PIC can deliver thru P0-P15 altogether?
Thanks!
I know that each of the P0 to P15 input/output pins is capable of delivering up to 20mA of electricity at 5 volts regulated.
Question:
I know that Vin delivers as much as the power source connected to BS2 does - but how many mA can it supply?
What about Vdd - It delivers 5 volts regulated, but does it support more than 20 mA?
What's the overall mA the PIC can deliver thru P0-P15 altogether?
Thanks!
Comments
2) Vdd is either the output of the regulator (if you're supplying power to Vin) or the input to the rest of the Stamp module of +5V. To find out how much current the regulator can supply, look at the schematic of the Stamp module and note the part number of the regulator, then get the datasheet for the regulator which will tell you how much current it can supply. Another factor is power dissipation. There's no heatsink for the regulator and it will shut itself down if its temperature gets too high (see the datasheet for exactly what that means). The power dissipation is (Vin - 5V) x Current_Drain.
3) Read the datasheet for the microprocessor used by the Stamp. The BS2 uses a PIC and the other BS2 models use an SX. The datasheets give absolute maximum current for the I/O pins. Sometimes there's a maximum for each group of 8 I/O pins and for the whole PIC/SX.
So, I'm still looking for a basic example of how to create a 6V flashlight turn on and off through P0 on BS2...
Casey
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I fish, therefore I lie!
Regarding the "flashlight" example ...
First you have to decide what kind of flashlight you want, how much voltage and current the light source requires to operate properly. Then you have to decide whether the Stamp can provide that directly. If not, there are different choices for devices that can act as a Stamp-controlled switch. Read Nuts and Volts Column #6 to see some examples of a Stamp controlling a switch that, in turn, controls something else.
Post Edited (Mike Green) : 6/17/2010 2:30:14 PM GMT