Robotics with the Boe-Bot: Vdd vs. Vin
ToddH
Posts: 34
I'm working through the Robotics with the Boe-Bot book. I have a question about page 61. It has me set my servo jumper to Vin since I'm using the battery pack that came with the Boe-Bot.
What is really going on here? What is the difference between the jumper set to Vin and it set to Vdd? I also have noticed that the BoE has a "Vin" sandwiched in between Vdd and Vss? What is this mysterious Vin?
Thanks for the newbie help!
Todd
What is really going on here? What is the difference between the jumper set to Vin and it set to Vdd? I also have noticed that the BoE has a "Vin" sandwiched in between Vdd and Vss? What is this mysterious Vin?
Thanks for the newbie help!
Todd
Comments
Now, Parallax lets you connect your Servo directly to the battery voltage (using the Vin jumper) so the Servo gets the full battery voltage -- you get more power this way into the Servo. But, the Servo will only work with 5 to 6 volts. 9 volts will burn it out.
OK, so Vdd is the output of the regulator on the BOE board. It produces 5 volts. If you are using a wall-wart, then you want to connect Vdd to your Servos, since Vin would reduce their life or destory them.
Now, the BS2 ALSO has a small regulator on-module. Thus you CAN power the BS2 directly from a 9-volt battery wired across Vin and Vss. The on-module regulator will give the on-module PIC a regulated 5 volts from this. But the on-module regulator is limited to about 50 mA -- so you don't want to drive much besides the BS2.
A note of caution here -- if you wire a 9-volt across the BS2 VDD and VSS, it WILL destroy the BS2. You've just bypassed the BS2 on-module regulator when you do that, and the on-module PIC really can't handle 9-volts.
On the one hand, it may seem that all these power options are a pain in the butt. However, all these power options give the BS2 its enormous flexibility. No other microprocessor IC will let you connect a battery directly to it. With the BS2, you just have to be careful how you do it.
To summarize:
Vin is the 'raw', un-regulated voltage input to the board. If 6 volts or less, it can be used to drive Servos.
Vdd is the regulated voltage output from the 2940 or 7805 regulator. It is 5 volts. This voltage is safe for everything, servo's, BS2, other IC's -- but can 'waste' power if you're running from battery.
If your Vin is 7 to 18 volts, you MUST use Vdd to drive your servo.
The BS2 DOES have a regulator on-module, so you CAN drive Vin to use it. You can also merely put a regulated 5 volts on the BS2 Vdd line, which is how the BOE does it.
Yes, you are correct.
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
www.parallax.com
·
A CMOS transistor has a Source and Drain connection thus Vss corresponds to the Source and Vdd corresponds to the Drain.
A Bipolar transistor has a Collector and an Emitter thus Vcc corresponds to the Collector and Vee corresponds to the Emitter.
I am not exactly sure why there is a double stamp representation unless it represents a hierarchical nomenclature.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe - Mask Designer III
National Semiconductor Corporation
(Communication Interface Division)
500 Pinnacle Court, Suite 525
Mail Stop GA1
Norcross,GA 30071