{"id":4853,"date":"2026-05-13T08:34:28","date_gmt":"2026-05-13T15:34:28","guid":{"rendered":"https:\/\/www.donluc.com\/?p=4853"},"modified":"2026-05-13T08:34:28","modified_gmt":"2026-05-13T15:34:28","slug":"project-12-robotics-esp32-c3-mini-mk39","status":"publish","type":"post","link":"https:\/\/www.donluc.com\/?p=4853","title":{"rendered":"Project #12: Robotics &#8211; ESP32-C3 Mini &#8211; Mk39"},"content":{"rendered":"<div style=\"width: 1200px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-4853-1\" width=\"1200\" height=\"675\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07W.mp4?_=1\" \/><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07W.mp4\">https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07W.mp4<\/a><\/video><\/div>\n<p>&#8212;&#8212;<\/p>\n<p>#DonLucElectronics #DonLuc #Robotics #BLE #L298N #MotorDC #ESP32C3Mini #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant<\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07a.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07a.jpg\" alt=\"ESP32-C3 Mini\" width=\"720\" height=\"811\" class=\"alignnone size-full wp-image-4855\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07a.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07a-266x300.jpg 266w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07b.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07b.jpg\" alt=\"ESP32-C3 Mini\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-4856\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07b.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07b-300x200.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07c.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07c.jpg\" alt=\"ESP32-C3 Mini\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-4857\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07c.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/05\/DL2603Mk07c-300x200.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><strong>ESP32-C3 Mini<\/strong><\/p>\n<p>The ESP32 C3 Mini Development Board is a compact development board designed for the booming Internet of Things (IoT) application space. It is built on the ESP32 C3FN4\/FH4 chip, an ultra-low-power system-on-chip (SoC) with a RISC-V 32-bit single-core processor. This powerful chip has a main frequency of up to 160MHz, coupled with 4M FLASH memory, ensuring strong performance in a variety of tasks.<\/p>\n<p><strong>DL2603Mk07<\/strong><\/p>\n<p>1 x ESP32-C3 Mini<br \/>\n1 x L298N DC Motor Driver Module<br \/>\n2 x Motor DC<br \/>\n1 x Power Switch<br \/>\n1 x 4 AA Battery Holder (5.5 Volts)<br \/>\n4 x AA Battery<br \/>\n1 x USB 3.0 to Type-C Cable<br \/>\n1 x Car<\/p>\n<p><strong>DL2603Mk07p<\/strong><\/p>\n<p><strong>DL2603Mk07p.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/****** Don Luc Electronics \u00a9 ******\r\nSoftware Version Information\r\nProject #12: Robotics - ESP32-C3 Mini - Mk39\r\n12-39\r\nDL2603Mk078p.ino\r\nDL2603Mk07\r\n1 x ESP32-C3 Mini\r\n1 x L298N DC Motor Driver Module\r\n2 x Motor DC\r\n1 x Power Switch\r\n1 x AA Battery Holder (5.5 Volts)\r\n3 x AA Battery\r\n1 x Micro USB Cable\r\n1 x Car\r\n*\/\r\n\r\n\/\/ Arduino BLE\r\n#include &lt;ArduinoBLE.h&gt;\r\n\r\n\/\/ Arduino UNO R4 WiFi\r\n\/\/ Car Service\r\nBLEService carService(&quot;546b10ec-9c23-4f5e-ab33-cd415313439f&quot;);\r\n\/\/ Command Char\r\nBLECharacteristic commandChar(&quot;c607bca7-4832-4032-a0ab-e9c180dcce1e&quot;, BLEWrite, 20);\r\n\r\n\/\/ Motor DC 1 \r\nint motor1pin1 = 3;\r\nint motor1pin2 = 4;\r\n\r\n\/\/ Motor DC 2\r\nint motor2pin1 = 5;\r\nint motor2pin2 = 6;\r\n\r\n\/\/ CMD\r\nchar cmd;\r\n\r\n\/\/ Software Version Information\r\nString sver = &quot;12-39&quot;;\r\n\r\nvoid loop() {\r\n\r\n  \/\/ BLE Device Central\r\n  BLEDevice central = BLE.central();\r\n  \/\/ Central\r\n  if (central) {\r\n    \r\n    \/\/ Connected\r\n    while (central.connected()) {\r\n\r\n      \/\/ Written\r\n      if (commandChar.written()) {\r\n\r\n        \/\/ CMD\r\n        cmd = commandChar.value()[0];\r\n       \r\n        \/\/ Drive\r\n        drive(cmd);\r\n\r\n      }\r\n\r\n    }\r\n\r\n  }\r\n\r\n}\r\n<\/pre>\n<p><strong>getDrive.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ Drive\r\nvoid drive(char cmd) {\r\n  \/\/ Forward\r\n       if (cmd == &#039;F&#039;) { forward();  }  \r\n    \/\/ Backward\r\n  else if (cmd == &#039;B&#039;) { backward(); }  \r\n  \/\/ Left\r\n  else if (cmd == &#039;L&#039;) { left(); } \r\n  \/\/ Right     \r\n  else if (cmd == &#039;R&#039;) { right(); }\r\n  \/\/ Spin\r\n  else if (cmd == &#039;O&#039;) { spin(); } \r\n  \/\/ Stop\r\n  else { stopCar(); }\r\n}\r\n\r\n\/\/ Forward\r\nvoid forward()  { digitalWrite(motor1pin1, LOW);  digitalWrite(motor1pin2, HIGH); digitalWrite(motor2pin1, HIGH); digitalWrite(motor2pin2, LOW); }\r\n\/\/ Backward\r\nvoid backward() { digitalWrite(motor1pin1, HIGH); digitalWrite(motor1pin2, LOW);  digitalWrite(motor2pin1, LOW);  digitalWrite(motor2pin2,HIGH); }\r\n\/\/ Left\r\nvoid left()     { digitalWrite(motor1pin1, LOW);  digitalWrite(motor1pin2, HIGH); digitalWrite(motor2pin1, LOW);  digitalWrite(motor2pin2, LOW); }\r\n\/\/ Right\r\nvoid right()    { digitalWrite(motor1pin1, LOW);  digitalWrite(motor1pin2, LOW);  digitalWrite(motor2pin1, HIGH); digitalWrite(motor2pin2, LOW); }\r\n\/\/ Spin\r\nvoid spin()     { digitalWrite(motor1pin1, HIGH); digitalWrite(motor1pin2, LOW);  digitalWrite(motor2pin1, HIGH); digitalWrite(motor2pin2, LOW); }\r\n\/\/ Stop\r\nvoid stopCar()  { digitalWrite(motor1pin1, LOW);  digitalWrite(motor1pin2, LOW);  digitalWrite(motor2pin1, LOW);  digitalWrite(motor2pin2, LOW); }\r\n\r\n<\/pre>\n<p><strong>setup.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ Setup\r\nvoid setup()\r\n{\r\n  \r\n  \/\/ Motor DC 1\r\n  pinMode(motor1pin1, OUTPUT);\r\n  pinMode(motor1pin2, OUTPUT);\r\n\r\n  \/\/ Motor DC 2\r\n  pinMode(motor2pin1, OUTPUT);\r\n  pinMode(motor2pin2, OUTPUT);\r\n\r\n  \/\/ Serial Begin\r\n  Serial.begin(9600);\r\n  \r\n  \/\/ BLE Begin\r\n  if (!BLE.begin()) {\r\n    \r\n    while (1);\r\n\r\n  }\r\n\r\n  \/\/ Name\r\n  BLE.setLocalName(&quot;UnoR4Car&quot;);\r\n  \/\/ Advertised Service\r\n  BLE.setAdvertisedService(carService);\r\n  \/\/ Characteristic\r\n  carService.addCharacteristic(commandChar);\r\n  \/\/ Service\r\n  BLE.addService(carService);\r\n  \/\/ Advertise\r\n  BLE.advertise();\r\n\r\n}\r\n<\/pre>\n<p>&#8212;&#8212;<\/p>\n<p><strong>People can contact us:<\/strong> https:\/\/www.donluc.com\/?page_id=1927<\/p>\n<p><strong>Consultant, R&#038;D, Electronics, IoT, Teacher and Instructor<\/strong><\/p>\n<ul>\n<li>Programming Language<\/li>\n<li>Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi, Arm, Silicon Labs, Espressif, Etc&#8230;)<\/li>\n<li>IoT<\/li>\n<li>Wireless (Radio Frequency, Bluetooth, WiFi, Etc&#8230;)<\/li>\n<li>Robotics<\/li>\n<li>Automation<\/li>\n<li>Camera and Video Capture Receiver Stationary, Wheel\/Tank , Underwater and UAV Vehicle<\/li>\n<li>Unmanned Vehicles Terrestrial,  Marine and UAV<\/li>\n<li>Machine Learning<\/li>\n<li>Artificial Intelligence (AI)<\/li>\n<li>RTOS<\/li>\n<li>Sensors, eHealth Sensors, Biosensor, and Biometric<\/li>\n<li>Research &#038; Development (R &#038; D)<\/li>\n<li>Consulting<\/li>\n<\/ul>\n<p><strong>Follow Us<\/strong><\/p>\n<p><strong>Luc Paquin \u2013 Curriculum Vitae &#8211; 2026<\/strong><br \/>\nhttps:\/\/www.donluc.com\/luc\/LucPaquinCVEng2026Mk01.pdf<br \/>\nhttps:\/\/www.donluc.com\/luc\/<\/p>\n<p><strong>Web:<\/strong> https:\/\/www.donluc.com\/<br \/>\n<strong>Web:<\/strong> https:\/\/www.jlpconsultants.com\/<br \/>\n<strong>Facebook:<\/strong> https:\/\/www.facebook.com\/neosteam.labs.9\/<br \/>\n<strong>YouTube:<\/strong> https:\/\/www.youtube.com\/@thesass2063<br \/>\n<strong>DFRobot:<\/strong> https:\/\/learn.dfrobot.com\/user-10186.html<br \/>\n<strong>Elecrow:<\/strong> https:\/\/www.elecrow.com\/share\/sharepj\/center\/no\/760816d385ebb1edc0732fd873bfbf13<br \/>\n<strong>TikTok:<\/strong> https:\/\/www.tiktok.com\/@luc.paquin8<br \/>\n<strong>Hackster:<\/strong> https:\/\/www.hackster.io\/luc-paquin<br \/>\n<strong>LinkedIn:<\/strong> https:\/\/www.linkedin.com\/in\/jlucpaquin\/<\/p>\n<p><strong>Don Luc<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212;&#8212; #DonLucElectronics #DonLuc #Robotics #BLE #L298N #MotorDC #ESP32C3Mini #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; ESP32-C3 Mini The ESP32 C3 Mini Development Board is a compact development board designed for the booming Internet of Things (IoT) application space. It is built on the ESP32 C3FN4\/FH4 chip, an ultra-low-power system-on-chip (SoC) with a &#8230; <a title=\"Project #12: Robotics &#8211; ESP32-C3 Mini &#8211; Mk39\" class=\"read-more\" href=\"https:\/\/www.donluc.com\/?p=4853\" aria-label=\"Read more about Project #12: Robotics &#8211; ESP32-C3 Mini &#8211; Mk39\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94,50,49,38,368,80,59,115,5,287,58,82,10,416],"tags":[6,92,242,102,4,369,19,83,424,85,24,9,84,27,95,33,34,108],"class_list":["post-4853","post","type-post","status-publish","format-standard","hentry","category-robotics-projerts","category-arduino","category-consultant","category-digitalelectronics","category-elecrow","category-esp32","category-fritzing","category-e-mentor","category-microcontrollers","category-program","category-arduino-programming","category-program-esp32","category-projects","category-unit","tag-arduino","tag-battery","tag-bluetooth","tag-components","tag-consultant","tag-elecrow","tag-electronics","tag-esp32","tag-esp32-c3-mini","tag-fritzing","tag-microcontroller","tag-programming","tag-programming-esp32","tag-projects-2","tag-robotic","tag-technology","tag-video-blog","tag-vlog"],"_links":{"self":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4853"}],"version-history":[{"count":1,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4853\/revisions"}],"predecessor-version":[{"id":4858,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4853\/revisions\/4858"}],"wp:attachment":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}