{"id":200,"date":"2014-03-08T20:02:31","date_gmt":"2014-03-08T20:02:31","guid":{"rendered":"http:\/\/4tronix.co.uk\/blog\/?p=200"},"modified":"2015-11-07T10:50:03","modified_gmt":"2015-11-07T10:50:03","slug":"getting-to-know-your-microcon","status":"publish","type":"post","link":"https:\/\/4tronix.co.uk\/blog\/?p=200","title":{"rendered":"Getting to Know Your MicRoCon"},"content":{"rendered":"<h2>MicRoCon &#8211; Micro Robotics Controller for Raspberry Pi<\/h2>\n<p><a href=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/01\/mc01b.jpg\"><a href=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/01\/Microcon3_01a.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1092\" alt=\"Microcon3_01a\" src=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/01\/Microcon3_01a-300x265.jpg\" width=\"300\" height=\"265\" srcset=\"https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/01\/Microcon3_01a-300x265.jpg 300w, https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/01\/Microcon3_01a.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/a><\/p>\n<p>This is the baby sister to our full-featured PiRoCon controller board.\u00a0It still features two bi-directional motor controllers, a 5V regulator for the Raspberry Pi as well as general purpose IO connectors, 5V servo outputs and a 4-pin Ultrasonic input.<\/p>\n<h3>Motors A &amp; B<\/h3>\n<ul>\n<li>Motor A: Pins 24, 26 (GPIO: CE0 and CE1)<\/li>\n<li>Motor B: Pins 19, 21 (GPIO: MOSI, MISO)<\/li>\n<li>Permanently enabled<\/li>\n<li>Use either pin for each motor with PWM<\/li>\n<li>Remember to invert the PWM duty cycle when reversing<\/li>\n<li>Motors are driven via an L293D H-Bridge chip from the <strong>input<\/strong> voltage at the 2-pin terminal (not from the regulated 5V supply)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>\u00a0GPIO Connections<\/h3>\n<ul>\n<li>These are NOT level-shifted and only work with 3.3V devices. Do not connect a 5V input<\/li>\n<li>Each GPIO pin has an asdsociated Ground and 3.3V pin so can connect 3-pin sensors directly<\/li>\n<li>Pin 7 (GPIO: 04)<\/li>\n<li>Pin 11 (GPIO: 17)<\/li>\n<li>Pin 12 (GPIO: 18)<\/li>\n<li>Pin 13 (GPIO: 27)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>Servos<\/h3>\n<ul>\n<li>These 2 sets of 3 pins provide outputs to drive 5V servos<\/li>\n<li>The signals are not level-shifted but all servos I have tried work happily with a 3.3V input signal<\/li>\n<li>Servo 1: Pin 18 (GPIO 22)<\/li>\n<li>Servo 2: Pin 22 (GPIO 25)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>Ultrasonic Input<\/h3>\n<ul>\n<li>These four pins allow an HC-SR04 4-pin ultrasonic sensor to be connected directly<\/li>\n<li>This uses a resistor network to allow the sensor to use only a single GPIO pin, which is shared between Ping\/Trig and Echo<\/li>\n<li>Output a pulse using the pin in output mode<\/li>\n<li>Then switch to input mode to await the response<\/li>\n<li>This is connected to Pin 8 (GPIO: Txd)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>Regulator<\/h3>\n<ul>\n<li>This uses an L4040V5 linear low dropout regulator<\/li>\n<li>The input voltage can go as low as 6V and the output will remain at 5V<\/li>\n<li>The higher the input voltage, the hotter the regulator will get in use<\/li>\n<li>The motors do not use the regulated voltage so will have no effect on the temperature of the regulator<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>I2C Female Header<\/h3>\n<ul>\n<li>Allows easy access to the I2C signals SCL and SDA<\/li>\n<li>Also provides 0V, 3.3V and 5V connections<\/li>\n<li>Same pinout as used on the PiRoCon expansion header so all expansion boards for the PiRoCon can also be fitted to the MicRoCon &#8211; ADC, 16-channel PWM available right now.<\/li>\n<li>You can use the <a href=\"http:\/\/4tronix.co.uk\/store\/index.php?rt=product\/product&amp;product_id=377\">4tronix IP Display dongle <\/a>directly into this header.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>Return to <a href=\"http:\/\/4tronix.co.uk\/blog\/?p=204\">MicRoCon Home<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MicRoCon &#8211; Micro Robotics Controller for Raspberry Pi This is the baby sister to our full-featured PiRoCon controller board.\u00a0It still features two bi-directional motor controllers, a 5V regulator for the Raspberry Pi as well as general purpose IO connectors, 5V servo outputs and a 4-pin Ultrasonic input. Motors A &amp; B Motor A: Pins 24, &hellip; <a href=\"https:\/\/4tronix.co.uk\/blog\/?p=200\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Getting to Know Your MicRoCon<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-robotics-for-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=200"}],"version-history":[{"count":5,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/200\/revisions"}],"predecessor-version":[{"id":202,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/200\/revisions\/202"}],"wp:attachment":[{"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}