4. Module Pinout and Component Identification

<p>The Baby Orangutan contains a programmable ATmega48, ATmega168, or ATmega328P AVR microcontroller, a TB6612FNG dual H-bridge for direct control of two DC motors, a 10k user trimmer potentiometer (connected to ADC7), a green power LED, a red user LED (connected to PD1), a 20&nbsp;MHz resonator, and a reverse-battery-protection MOSFET, all containted in a tiny 1.2&quot; x 0.7&quot; 24-pin DIP package. Power pins, one of the motor outputs, and several I/O lines are all accessible from one side to enable use of the Baby Orangutan as a single in-line pin (SIP) package for applications that do not require all of the I/O lines.</p> <table style="margin:auto;"> <tr><td><table class="picture_with_caption center"><tr><td><a href="https://a.pololu-files.com/picture/0J668.1200.jpg?e35d264d331c57ad2d29902de9605fd6" class="noscript-fallback"><img alt="" class="zoomable" data-gallery-pictures="[{&quot;id&quot;:&quot;0J668&quot;,&quot;caption&quot;:&quot;\u003cp\u003eBaby Orangutan B pinout.\u003c/p\u003e&quot;,&quot;url_tiny&quot;:&quot;https://a.pololu-files.com/picture/0J668.98x98.jpg?e35d264d331c57ad2d29902de9605fd6&quot;,&quot;url_medium&quot;:&quot;https://a.pololu-files.com/picture/0J668.600x480.jpg?e35d264d331c57ad2d29902de9605fd6&quot;,&quot;url_full&quot;:&quot;https://a.pololu-files.com/picture/0J668.1200.jpg?e35d264d331c57ad2d29902de9605fd6&quot;,&quot;longest_side&quot;:600}]" data-picture-id="0J668" data-picture-longest_side="600" src="https://a.pololu-files.com/picture/0J668.217.jpg?e35d264d331c57ad2d29902de9605fd6" /></a></td><p></tr></table></td> <td>&nbsp;&nbsp;</td> <td><table class="picture_with_caption center"><tr><td><a href="https://a.pololu-files.com/picture/0J667.1200.jpg?4cb7e100ffa8ebf5f56198518e03a205" class="noscript-fallback"><img alt="" class="zoomable" data-gallery-pictures="[{&quot;id&quot;:&quot;0J667&quot;,&quot;caption&quot;:&quot;\u003cp\u003eBaby Orangutan B components.\u003c/p\u003e&quot;,&quot;url_tiny&quot;:&quot;https://a.pololu-files.com/picture/0J667.98x98.jpg?4cb7e100ffa8ebf5f56198518e03a205&quot;,&quot;url_medium&quot;:&quot;https://a.pololu-files.com/picture/0J667.600x480.jpg?4cb7e100ffa8ebf5f56198518e03a205&quot;,&quot;url_full&quot;:&quot;https://a.pololu-files.com/picture/0J667.1200.jpg?4cb7e100ffa8ebf5f56198518e03a205&quot;,&quot;longest_side&quot;:600}]" data-picture-id="0J667" data-picture-longest_side="600" src="https://a.pololu-files.com/picture/0J667.362.jpg?4cb7e100ffa8ebf5f56198518e03a205" /></a></td></tr></table></td></p> <p></tr></table></p> <p><br clear="all"/></p> <p>The pinout diagram, combined with a pin assignment table, is also available as a downloadable pdf: <a href="/file/0J576/Baby_Orangutan_B_pins.pdf">Baby Orangutan B pinout and pin assignment table</a> (285k pdf).</p> <ul> <li><strong>VIN</strong> should be from 5 to 13.5&nbsp;V, with an absolute maximum of 15&nbsp;V.</li> <li><strong><font style="text-decoration: overline;">RESET</font></strong> can be brought low to reset the controller, but it can otherwise be left disconnected (it is internally pulled high). This pin is labeled as <strong>PC6</strong> in the ATmega48/168/328 datasheet (and on the Baby Orangutan silkscreen).</li> <li><strong>Vcc</strong> can be used to tap into the Baby Orangutan&#8217;s regulated 5V line. This line can supply a total of around 100&nbsp;mA at 5&nbsp;V, but thermal dissipation limits the total Vcc current to around 50&nbsp;mA at 13.5&nbsp;V. Note that attempting to pull too much current from Vcc could <ins>permanently damage</ins> the Baby Orangutan&#8217;s voltage regulator.</li> <li><strong>M1A &amp; M1B</strong> are the outputs used to drive motor 1. These outputs can supply around 1&nbsp;A continuous (3&nbsp;peak).</li> <li><strong>M2A &amp; M2B</strong> are the outputs used to drive motor 2. These outputs can supply around 1&nbsp;A continuous (3&nbsp;peak).</li> <li><strong>PC0 &#8211; PC5</strong> can be used as both analog inputs and digital I/O lines</li> <li><strong>ADC6 &amp; ADC7</strong> are dedicated analog inputs. Note that ADC7 is internally connected to the 10k user trimmer potentiometer.</li> <li><strong>PB0, PB3, PB4, PB5, PD0, PD1, PD2, PD3, PD4, &amp; PD7</strong> are digital I/O lines with alternate functions determined by the AVR hardware peripherals to which they connect. For example, PD0 and PD1 connect to the ATmega48/168&#8217;s UART and can be configured to function as RX and TX, respectively. Note that PD1 is internally connected to the red user LED, which may limit its ability to be used as an input (if the source cannot drive the PD1 hard enough, the voltage will be pulled below the AVR&#8217;s high threshold by the LED-resistor circuit ).</li> </ul> <p class="note"><font color="red"><strong>Warning:</strong></font> Pins <strong>PB4</strong> and <strong>PB5</strong> are used as ISP programming pins in addition to digital user I/O lines. Be careful not to connect anything to these pins that might interfere with programming (e.g. large capacitance or an external device that could drive those lines during programming). Similarly, don&#8217;t connect anything to those lines that might behave unexpectedly when they are driven during programming (e.g. if you use these lines as inputs to a motor driver IC, it could drive your motors in strange and potentially dangerous ways during programming) .</p> <p>You can tap into the Baby Orangutan&#8217;s regulated 5V Vcc line using the pin labeled &#8220;Vcc&#8221; or either of the two pads on the bottom of the board directly to the left of this pin. You can tap into the Baby Orangutan&#8217;s ground using the two pads on the bottom of the board directly to the right of the &#8220;GND&#8221; pin.</p> <table class="picture_with_caption center"><tr><td><a href="https://a.pololu-files.com/picture/0J665.1200.jpg?cf9753ee81ba8cf8409913bf9304f248" class="noscript-fallback"><img alt="" class="zoomable" data-gallery-pictures="[{&quot;id&quot;:&quot;0J665&quot;,&quot;caption&quot;:&quot;\u003cp\u003eBaby Orangutan B, bottom view.\u003c/p\u003e&quot;,&quot;url_tiny&quot;:&quot;https://a.pololu-files.com/picture/0J665.98x98.jpg?cf9753ee81ba8cf8409913bf9304f248&quot;,&quot;url_medium&quot;:&quot;https://a.pololu-files.com/picture/0J665.600x480.jpg?cf9753ee81ba8cf8409913bf9304f248&quot;,&quot;url_full&quot;:&quot;https://a.pololu-files.com/picture/0J665.1200.jpg?cf9753ee81ba8cf8409913bf9304f248&quot;,&quot;longest_side&quot;:500}]" data-picture-id="0J665" data-picture-longest_side="500" src="https://a.pololu-files.com/picture/0J665.205.jpg?cf9753ee81ba8cf8409913bf9304f248" /></a></td><p></tr></table></p> <p><br clear="all"/></p>

Related Products

Baby Orangutan B-48 Robot Controller
Baby Orangutan B-328 + USB AVR Programmer Combo
Baby Orangutan B-48 + USB Programmer Combo
Baby Orangutan B-328 Robot Controller
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors