{"id":15031,"date":"2022-01-18T18:16:32","date_gmt":"2022-01-18T11:16:32","guid":{"rendered":"https:\/\/www.makeriot2020.com\/?p=15031"},"modified":"2022-01-18T18:16:36","modified_gmt":"2022-01-18T11:16:36","slug":"simplifying-robotics-with-raspberry-pi-rp2040","status":"publish","type":"post","link":"https:\/\/www.makeriot2020.com\/index.php\/2022\/01\/18\/simplifying-robotics-with-raspberry-pi-rp2040\/","title":{"rendered":"Simplifying Robotics with Raspberry Pi\u00ae RP2040"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/th.cytron.io\/c-raspberry-pi\/c-raspberry-pi-main-board\/c-raspberry-pi-mcu\/p-maker-pi-rp2040-simplifying-robotics-with-raspberry-pi-rp2040?ref=5fqcemb1if\" target=\"_blank\" rel=\"noreferrer noopener\">Introducing the Cytron Maker RP2040<\/a><\/h2>\n\n\n\n<p>Cytron Maker Pi RP2040 features the first microcontroller designed by Raspberry Pi &#8211; RP2040, embedded on\u00a0a robot controller board. This board\u00a0comes with a dual-channel\u00a0DC motor driver, 4 servo motor ports and 7 Grove I\/O connectors, ready for your next DIY robot\/motion control\u00a0project. Now you can build\u00a0a robot while trying out the new RP2040 chip.<\/p>\n\n\n\n<p>\u00a0<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" data-src=\"https:\/\/static.cytron.io\/image\/catalog\/products\/MAKER-PI-RP2040\/maker-pi-rp2040-ic-logo.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>\n\n\n\n<p>The DC motor driver on board is able to control 2x brushed DC motors or 1x\u00a0bipolar\/unipolar stepper motor rated from 3.6V to 6V, providing up to 1A current per channel continuously. The built-in Quick Test buttons and motor output LEDs allow a functional test of the motor driver in a quick and convenient way, without the need of writing any code. Vmotor for both DC and servo motors depends on the input voltage supplied to the board.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" data-src=\"https:\/\/static.cytron.io\/image\/catalog\/products\/MAKER-PI-RP2040\/maker-pi-rp2040-robot.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>\n\n\n\n<p><img decoding=\"async\" alt=\"\" data-src=\"https:\/\/static.cytron.io\/image\/catalog\/products\/MAKER-PI-RP2040\/maker-pi-rp2040-ottodiy.png\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\"><br><em>Credit: 3D robot parts designed by&nbsp;<a href=\"https:\/\/www.thingiverse.com\/thing:2398231\" target=\"_blank\" rel=\"noreferrer noopener\">Camilo Parra Palacio<\/a>&nbsp;from&nbsp;<a href=\"https:\/\/www.ottodiy.com\/community\" target=\"_blank\" rel=\"noreferrer noopener\">OttoDIY Community<\/a>.<\/em><br>&nbsp;<\/p>\n\n\n\n<p><img decoding=\"async\" alt=\"\" data-src=\"https:\/\/static.cytron.io\/image\/catalog\/products\/MAKER-PI-RP2040\/maker-pi-rp2040-pump.png\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\"><br><em>Credit:&nbsp;<a href=\"https:\/\/www.thingiverse.com\/thing:903411\" target=\"_blank\" rel=\"noreferrer noopener\">Self-watering Planter<\/a>&nbsp;3D&nbsp;parts on Thingiverse.<\/em><br>&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" data-src=\"https:\/\/static.cytron.io\/image\/catalog\/products\/MAKER-PI-RP2040\/maker-pi-rp2040-grove-pin-headers.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>\n\n\n\n<p>Maker Pi RP2040&nbsp;features all the goodness of Cytron&#8217;s Maker series products. It too has&nbsp;lots of LEDs useful for troubleshooting (&amp; visual effects), is able to make quite some noise with the onboard piezo buzzer and comes with push buttons ready to detect your touch.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" data-src=\"https:\/\/static.cytron.io\/image\/catalog\/products\/MAKER-PI-RP2040\/maker-pi-rp2040-other-features-label.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>\n\n\n\n<p>There are three ways to supply power to the Maker Pi RP2040 &#8211;\u00a0via USB (5V) socket, with a single cell LiPo\/Li-Ion battery or through the VIN (3.6-6V) terminals. However, only one power source is needed to power up both controller board and motors at a time.\u00a0Power supply from all these power sources can all be controlled with the power on\/off switch onboard.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" data-src=\"https:\/\/static.cytron.io\/image\/catalog\/products\/MAKER-PI-RP2040\/maker-pi-rp2040-power.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" data-src=\"https:\/\/static.cytron.io\/image\/catalog\/products\/MAKER-PI-RP2040\/maker-pi-rp2040-lipo.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>\n\n\n\n<p>Cytron Maker Pi RP2040 is basically the&nbsp;<a href=\"https:\/\/th.cytron.io\/p-RPI-PICO-SH\" target=\"_blank\" rel=\"noreferrer noopener\">Raspberry Pi Pico<\/a>&nbsp;+ Maker series&#8217; goodness + Robot controller &amp; other useful features. Therefore this board is&nbsp;compatible with the existing Pico ecosystem. Software, firmware, libraries and resources that are&nbsp;developed for Pico should work&nbsp;seamlessly with Cytron Maker Pi RP2040 too.<\/p>\n\n\n\n<p>CircuitPython is preloaded on the Maker Pi RP2040 and it runs a simple demo program right out of the box. Connect\u00a0it to your computer via USB micro cable and turn it on, you will be greeted by a melody tune and LEDs running light. Press\u00a0GP20 and GP21 push buttons to toggle\u00a0the LEDs on\/off while controlling any DC and servo motors connected to it to move and stop.\u00a0With this demo code, you get to test the board the moment you receive it!<\/p>\n\n\n\n<p><video controls=\"\" preload=\"auto\" src=\"https:\/\/cdn.cytron.io\/MAKER-PI-RP2040\/maker-pi-rp2040-ootb-demo-720p.mp4\"><\/video><\/p>\n\n\n\n<p>While connected to your computer,\u00a0a new CIRCUITPY drive appears. Explore and edit the demo code (code.py &amp; lib folder) with any code editor you like, save any changes to the drive\u00a0and you shall see it in action in no time. That&#8217;s why we embrace\u00a0<a href=\"http:\/\/circuitpython.org\/board\/cytron_maker_pi_rp2040\/\">CircuitPython<\/a>\u00a0&#8211;\u00a0it&#8217;s very easy to get started. Wish to use other programming languages?\u00a0Sure, you are free to use\u00a0MicroPython\u00a0and\u00a0C\/C++\u00a0for Pico\/RP2040. For those of you who love the Arduino ecosystem, please take a look at this\u00a0<a href=\"https:\/\/blog.arduino.cc\/2021\/04\/27\/arduino-mbed-core-for-rp2040-boards\/\">official news<\/a>\u00a0by Arduino and also the\u00a0<a href=\"https:\/\/github.com\/earlephilhower\/arduino-pico\">unofficial Pico Arduino Core<\/a>\u00a0by Earle F. Philhower.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" data-src=\"https:\/\/static.cytron.io\/image\/catalog\/products\/MAKER-PI-RP2040\/maker-pi-rp2040-code.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Features:<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Powered by&nbsp;<a href=\"https:\/\/www.raspberrypi.org\/documentation\/rp2040\/getting-started\/\" target=\"_blank\" rel=\"noreferrer noopener\">Rapberry Pi&nbsp;RP2040<\/a><ul><li>Dual-core Arm Cortex-M0+ processor<\/li><li>264KB internal RAM<\/li><li>2MB of Flash memory<\/li><li>the exact same specifications with Raspberry Pi Pico<\/li><\/ul><\/li><li>Robot controller board<ul><li>4x Servo motors<\/li><li>2x DC motors with quick test buttons<\/li><\/ul><\/li><li>Versatile power circuit<ul><li>Automatic power selection: USB 5V, LiPo (1-cell) or Vin (3.6-6V)<\/li><li>Built-in 1-cell LiPo\/Li-Ion charger (over-charged &amp; over-discharged protection)<\/li><li>Power on\/off switch<\/li><\/ul><\/li><li>13x Status indicator LEDs for GPIO pins<\/li><li>1x Piezo buzzer with mute switch<\/li><li>2x Push button<\/li><li>2x RGB LED&nbsp;(Neopixel)<\/li><li>7x Grove ports (flexible I\/O options: digital, analog, I2C, SPI, UART&#8230;)<\/li><li>Preloaded with&nbsp;<a href=\"https:\/\/circuitpython.org\/board\/cytron_maker_pi_rp2040\/\" target=\"_blank\" rel=\"noreferrer noopener\">CircuitPython<\/a>&nbsp;by default<\/li><li>Mouting holes<ul><li>4x 4.8mm mounting hole (LEGO\u00ae pin compatible)<\/li><li>6x M3 screw hole<\/li><\/ul><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Maker Pi RP2040 VS.&nbsp;Maker Pi Pico?<\/h3>\n\n\n\n<p><img decoding=\"async\" alt=\"\" data-src=\"https:\/\/static.cytron.io\/image\/catalog\/products\/MAKER-PI-RP2040\/MAKER-PI-RP2040%20vs%20MAKER-PI-PICO%20v2.png\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\"><br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Board Layout:<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" data-src=\"https:\/\/static.cytron.io\/image\/catalog\/products\/MAKER-PI-RP2040\/MAKER-PI-RP2040%20Layout.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Dimension:<\/h3>\n\n\n\n<p>88mm(L) x&nbsp;64mm(W) x 13mm(H)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" data-src=\"https:\/\/static.cytron.io\/image\/catalog\/products\/MAKER-PI-RP2040\/MAKER-PI-RP2040%20Dimension.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Packing List:<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>1x Maker Pi RP2040<\/li><li>4x&nbsp;<a href=\"https:\/\/th.cytron.io\/p-grove-4-pin-buckled-to-female-cable\" target=\"_blank\" rel=\"noreferrer noopener\">Grove to Female Header Cable<\/a><\/li><li>1x&nbsp;<a href=\"https:\/\/th.cytron.io\/p-tiny-phillips-screwdriver-85mm-transparent\" target=\"_blank\" rel=\"noreferrer noopener\">Mini Screwdriver<\/a><\/li><li>1x Silicone Rubber Feet (Pack of 4)<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Resources:<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/github.com\/CytronTechnologies\/MAKER-PI-RP2040\" target=\"_blank\" rel=\"noreferrer noopener\">Getting Started with Maker Pi RP2040 &amp; Example Code<\/a><\/li><li><a href=\"https:\/\/docs.google.com\/document\/d\/1DJASwxgbattM37V4AIlJVR4pxukq0up25LppA8-z_AY\/edit\" target=\"_blank\" rel=\"noreferrer noopener\">Maker Pi RP2040 Datasheet<\/a><\/li><li><a href=\"https:\/\/drive.google.com\/file\/d\/1Zp8GYO8x7ThObB1G8RIZx2YdqrXtdUc0\/view\" target=\"_blank\" rel=\"noreferrer noopener\">Maker Pi RP2040 Schematic<\/a><\/li><li><a href=\"https:\/\/docs.google.com\/drawings\/d\/1ol2gnoTAM0u-FjxQUoFFMRW4tV-wSSABccs4d5wYK6A\/edit?usp=sharing\" target=\"_blank\" rel=\"noreferrer noopener\">Maker Pi RP2040&nbsp;<em>VS.<\/em>&nbsp;Maker Pi Pico comparison table<\/a><\/li><li><a href=\"https:\/\/circuitpython.org\/board\/cytron_maker_pi_rp2040\/\" target=\"_blank\" rel=\"noreferrer noopener\">CircuitPython for Maker Pi RP2040<\/a><\/li><li><a href=\"https:\/\/cdn.cytron.io\/MAKER-PI-RP2040\/MAKER-PI-RP2040-3DCAD.zip\" target=\"_blank\" rel=\"noreferrer noopener\">3D CAD<\/a><\/li><li><a href=\"https:\/\/www.raspberrypi.org\/documentation\/rp2040\/getting-started\/\" target=\"_blank\" rel=\"noreferrer noopener\">Getting Started with RP2040 (Raspberry Pi official page)<\/a><\/li><li><a href=\"https:\/\/datasheets.raspberrypi.org\/rp2040\/rp2040-datasheet.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">RP2040 Datasheet<\/a><\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introducing the Cytron Maker RP2040 Cytron Maker Pi RP2040 features the first microcontroller designed by Raspberry Pi &#8211; RP2040, embedded on\u00a0a robot controller board. This board\u00a0comes with a dual-channel\u00a0DC motor driver, 4 servo motor ports and 7 Grove I\/O connectors, ready for your next DIY robot\/motion control\u00a0project. Now you can build\u00a0a robot while trying out &hellip; <a href=\"https:\/\/www.makeriot2020.com\/index.php\/2022\/01\/18\/simplifying-robotics-with-raspberry-pi-rp2040\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Simplifying Robotics with Raspberry Pi\u00ae RP2040&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":15041,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94,139],"tags":[110,95,109],"class_list":["post-15031","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberry-pi-pico","category-rp2040","tag-cytron","tag-raspberry-pi-pico","tag-rp2040"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts\/15031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/comments?post=15031"}],"version-history":[{"count":0,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts\/15031\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/media\/15041"}],"wp:attachment":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/media?parent=15031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/categories?post=15031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/tags?post=15031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}