{"id":17581,"date":"2022-06-29T23:27:12","date_gmt":"2022-06-29T16:27:12","guid":{"rendered":"https:\/\/www.makeriot2020.com\/?p=17581"},"modified":"2022-06-29T23:27:17","modified_gmt":"2022-06-29T16:27:17","slug":"robotic-toy-car-part-6","status":"publish","type":"post","link":"https:\/\/www.makeriot2020.com\/index.php\/2022\/06\/29\/robotic-toy-car-part-6\/","title":{"rendered":"Robotic Toy Car &#8211; Part 6"},"content":{"rendered":"\n<p>Today we will look at the remote control unit for the Robotic Toy Car &#8211; Part 6.<br>The project is close to being completed, and as such, there are quite a lot of final things that need to be taken care of. <\/p>\n\n\n\n<p>One of these will definitely be the final coding, which I will release in the final part of the project, so with that in mind, let us take a look at the remote control unit.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"768\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220629_212626-1024x768.jpg\" alt=\"\" class=\"wp-image-17583 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220629_212626-1024x768.jpg 1024w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220629_212626-300x225.jpg 300w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220629_212626-768x576.jpg 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220629_212626-1536x1152.jpg 1536w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220629_212626-2048x1536.jpg 2048w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220629_212626-1200x900.jpg 1200w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/768;\" \/><figcaption>Remote Control Unit, designed to be used with ESP-Now<\/figcaption><\/figure>\n\n\n\n<p>I have decided to do something completely different from standard remote control units, being that I will use ESP-Now, a protocol developed by Espressif.<br>ESP-Now runs on the Wifi hardware of the ESP8266 or ESP32 and is basically a peer-to-peer protocol, that does not require Wifi but can co-exist with it on the same device.  Outdoors, ESP-Now has a range of about 100m, which should work very well for my intended use.<\/p>\n\n\n\n<p>The Remote control, as designed, will have 4 dedicated buttons: forward, reverse, left and right, divided into two groups to make two-handed control easier, similar to a standard game controller. No input on either of the two groups will result in stopping the vehicle, in the case of forwards and backwards, and centring the steering, in the case of the left-right axis.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"617\" height=\"446\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/06\/image-4.png\" alt=\"\" class=\"wp-image-17584 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/image-4.png 617w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/image-4-300x217.png 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 617px; --smush-placeholder-aspect-ratio: 617\/446;\" \/><figcaption>a 3D Rendered Image of the PCB, motion axis on SW1 and SW2, steering axis on SW3 and SW4<\/figcaption><\/figure>\n\n\n\n<p>As I always try to make my designs somewhat reusable for other purposes, I have also broken out most of the unused GPIO pins to header pins, with also adding a jumper on GPIO16 to make deep-sleep wakeup mode possible., You can also re-use the switch pins for other purposes, just remember to first remove the 10k pull-up resistors at R14, R15, R16, and R17&#8230;<br><br>SW4 -> R16 , SW4 = GPIO4<br>SW3 -> R17 , SW3 = GPIO5<br>SW2 -> R15 , SW2 = GPIO13<br>SW1 -> R14 , SW1 = GPIO12<\/p>\n\n\n\n<p>GPIO16 can be reused as well, just remove the jumper, but remember that it is pulled up through a LED and a 470ohm resistor&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"768\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220628_145721-1024x768.jpg\" alt=\"\" class=\"wp-image-17588 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220628_145721-1024x768.jpg 1024w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220628_145721-300x225.jpg 300w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220628_145721-768x576.jpg 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220628_145721-1536x1152.jpg 1536w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220628_145721-2048x1536.jpg 2048w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/20220628_145721-1200x900.jpg 1200w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/768;\" \/><\/figure>\n\n\n\n<p><br><br>There is no USB-to-serial converter onboard, I have been having quite a lot of headaches with them over the last few months, with almost all CH340G chips that I have purchased, being fake, or dead-on arrivals that don&#8217;t work&#8230; Sending them back to the suppliers, unfortunately, results in unpleasantries, because even placing them in verified working circuits, still proves them to be not working&#8230;  This is however not an issue, as it is quite easy to upload the board with an external adapter.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Schematic<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"719\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/06\/Schematic_ESP-Now-Remote_2022-06-29-1024x719.png\" alt=\"\" class=\"wp-image-17589 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/Schematic_ESP-Now-Remote_2022-06-29-1024x719.png 1024w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/Schematic_ESP-Now-Remote_2022-06-29-300x211.png 300w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/Schematic_ESP-Now-Remote_2022-06-29-768x539.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/06\/Schematic_ESP-Now-Remote_2022-06-29.png 1180w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/719;\" \/><figcaption>Schematic Diagram<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Manufacturing the PCB<\/h3>\n\n\n\n<h6 class=\"wp-block-heading\"><br>Over the past eight years, PCBWay has continuously upgraded their MANUFACTURING plants and equipment to meet higher quality requirements, and now THEY also provide <a href=\"https:\/\/www.pcbway.com\/oem\/?from=makeriot2020\" target=\"_blank\" rel=\"noreferrer noopener\">OEM service<\/a>s to build your products from ideas to mass production and access to the market.<\/h6>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-vimeo wp-block-embed-vimeo wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"PCBWay New Factory &amp;amp; Main Service Overview\" data-src=\"https:\/\/player.vimeo.com\/video\/723212010?h=bce20fbd96&amp;dnt=1&amp;app_id=122963\" width=\"840\" height=\"473\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture\" allowfullscreen src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" data-load-mode=\"1\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>The PCB for this project has been manufactured at <a href=\"https:\/\/www.pcbway.com\/?from=makeriot2022\" target=\"_blank\" rel=\"noreferrer noopener\">PCBWay.<\/a><br>Please consider supporting them if you would like your own copy of this PCB, or if you have any PCB of your own that you need to have manufactured.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.pcbway.com\/?from=makeriot2022\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"728\" height=\"280\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/03\/728x280.jpg\" alt=\"PCBWay\" class=\"wp-image-16555 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/03\/728x280.jpg 728w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/03\/728x280-300x115.jpg 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 728px; --smush-placeholder-aspect-ratio: 728\/280;\" \/><\/a><\/figure>\n\n\n\n<p>If you would like to have&nbsp;<a href=\"https:\/\/www.pcbway.com\/?from=makeriot2022\">PCBWAY<\/a>&nbsp;manufacture one of your own, designs, or even this particular PCB, you need to do the following\u2026<br>1) Click on this&nbsp;<a href=\"https:\/\/www.pcbway.com\/setinvite.aspx?inviteid=403795\" target=\"_blank\" rel=\"noreferrer noopener\">link<\/a><br>2) Create an account if you have not already got one of your own.<br>If you use the link above, you will also instantly receive a $5USD coupon, which you can use on your first or any other order later. (Disclaimer: I will earn a small referral fee from PCBWay. This referral fee will not affect the cost of your order, nor will you pay any part thereof.)<br>3) Once you have gone to their website, and created an account, or login with your existing account,<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"768\" height=\"386\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/04\/Page1.png\" alt=\"\" class=\"wp-image-16928 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/Page1.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/Page1-300x151.png 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/386;\" \/><\/figure>\n\n\n\n<p>4) Click on PCB Instant Quote<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"768\" height=\"386\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/04\/page2.png\" alt=\"\" class=\"wp-image-16929 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page2.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page2-300x151.png 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/386;\" \/><\/figure>\n\n\n\n<p>5) If you do not have any very special requirements for your PCB, click on Quick-order PCB<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"768\" height=\"385\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/04\/page3.png\" alt=\"\" class=\"wp-image-16930 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page3.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page3-300x150.png 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/385;\" \/><\/figure>\n\n\n\n<p>6) Click on Add Gerber File, and select your Gerber file(s) from your computer. Most of your PCB details will now be automatically selected, leaving you to only select the solder mask and silk-screen colour, as well as to remove the order number or not. You can of course fine-tune everything exactly as you want as well.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"768\" height=\"361\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/04\/page4.png\" alt=\"\" class=\"wp-image-16931 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page4.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page4-300x141.png 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/361;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"768\" height=\"384\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/04\/page5.png\" alt=\"\" class=\"wp-image-16932 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page5.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page5-300x150.png 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/384;\" \/><\/figure>\n\n\n\n<p>7) You can also select whether you want an SMD stencil, or have the board assembled after manufacturing. Please note that the assembly service, as well as the cost of your components, ARE NOT included in the initial quoted price. ( The quote will update depending on what options you select ).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"768\" height=\"385\" data-src=\"http:\/\/makeriot2020.com\/wp-content\/uploads\/2022\/04\/page6.png\" alt=\"\" class=\"wp-image-16933 lazyload\" data-srcset=\"https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page6.png 768w, https:\/\/www.makeriot2020.com\/wp-content\/uploads\/2022\/04\/page6-300x150.png 300w\" data-sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/385;\" \/><\/figure>\n\n\n\n<p>8) When you are happy with the options that you have selected, you can click on the Save to Cart Button. From here on, you can go to the top of the screen, click on Cart, make any payment(s) or use any coupons that you have in your account.<br><br>Then just sit back and wait for your new PCB to be delivered to your door via the shipping company that you have selected during checkout.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><br><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Today we will look at the remote control unit for the Robotic Toy Car &#8211; Part 6.The project is close to being completed, and as such, there are quite a lot of final things that need to be taken care of. One of these will definitely be the final coding, which I will release in &hellip; <a href=\"https:\/\/www.makeriot2020.com\/index.php\/2022\/06\/29\/robotic-toy-car-part-6\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Robotic Toy Car &#8211; Part 6&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":17582,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[140,129],"tags":[45,81],"class_list":["post-17581","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-esp8266","category-pcbdesign","tag-electronics","tag-esp8266"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts\/17581","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=17581"}],"version-history":[{"count":0,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/posts\/17581\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/media\/17582"}],"wp:attachment":[{"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/media?parent=17581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/categories?post=17581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.makeriot2020.com\/index.php\/wp-json\/wp\/v2\/tags?post=17581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}