{"id":58668,"date":"2023-06-18T17:08:42","date_gmt":"2023-06-18T16:08:42","guid":{"rendered":"https:\/\/www.microplanet.ma\/?post_type=product&#038;p=58668"},"modified":"2026-10-29T14:06:18","modified_gmt":"2026-10-29T14:06:18","slug":"esp32-cam-ch340-micro-usb-programming-adapter","status":"publish","type":"product","link":"https:\/\/www.microplanet.ma\/en\/produit\/esp32-cam-ch340-micro-usb-programming-adapter\/","title":{"rendered":"ESP32-CAM CH340 Micro-USB Programming Adapter"},"content":{"rendered":"<h3>CH340 Programming Adapter for ESP32-CAM<\/h3>\n<p>This adapter is designed for ESP32-CAM development boards. Its CH340G USB-to-serial converter provides USB-to-UART communication and 5V power through a micro-USB port. The onboard regulator supplies 3.3V to the board. DTR and RTS signals support automatic reset and boot mode during uploads, so a separate FTDI adapter is not required for the listed setup.<\/p>\n<h4>Specifications listed<\/h4>\n<ul>\n<li>Compatibility: AI-Thinker ESP32-CAM and compatible clones<\/li>\n<li>USB connector: micro-USB; CH340G USB 2.0 full-speed interface<\/li>\n<li>Input power: 5V USB; onboard regulation to 3.3V<\/li>\n<li>USB-to-UART converter: CH340\/CH340G<\/li>\n<li>Control signals: DTR and RTS for auto-reset and auto-boot<\/li>\n<\/ul>\n<h4>How it works<\/h4>\n<p>The adapter mounts onto the ESP32-CAM header. The CH340G converts USB to UART; DTR and RTS can switch the ESP32-CAM between normal operation and flashing mode during an upload.<\/p>\n<h4>Applications<\/h4>\n<ul>\n<li>IoT prototyping and connected-camera development<\/li>\n<li>Firmware uploads, testing and debugging<\/li>\n<li>Learning ESP32 and embedded vision<\/li>\n<\/ul>\n<h4>Pinout<\/h4>\n<p>The adapter has a six-pin connector aligned with the ESP32-CAM header. The listed connections are:<\/p>\n<ul>\n<li><strong>5V<\/strong> \u2192 ESP32-CAM 5V<\/li>\n<li><strong>GND<\/strong> \u2192 Ground<\/li>\n<li><strong>TXD (CH340)<\/strong> \u2192 ESP32-CAM RX (GPIO 3)<\/li>\n<li><strong>RXD (CH340)<\/strong> \u2192 ESP32-CAM TX (GPIO 1)<\/li>\n<li><strong>IO0<\/strong> \u2192 Pull to ground to enter flashing mode, using a button or jumper<\/li>\n<li><strong>RST<\/strong> (if present) \u2192 Reset pin for manual restart<\/li>\n<\/ul>\n<p>Check the board revision and pin labels before connecting. Use the marked 5V input and ensure the USB supply can provide enough current for the ESP32-CAM. Avoid short circuits and do not apply 5V to UART logic pins.<\/p>\n<h4>Code example<\/h4>\n<p>The source calls this an Arduino Uno example, but the code uses ESP32-CAM GPIO 4 for its flash LED and is intended for an ESP32-CAM board. It initializes serial at 115200 baud and blinks GPIO 4 once per second. Verify that the selected board profile and GPIO 4 flash-LED wiring match your module.<\/p>\n<pre class=\"prism undefined-numbers lang-cpp\" data-lang=\"C++\"><code>\/\/ Test de l\u2019adaptateur et de la connexion s\u00e9rie : clignotement de la LED flash\r\nconst int ledPin = 4; \/\/ GPIO4 = LED de flash\r\nvoid setup() {\r\nSerial.begin(115200);\r\npinMode(ledPin, OUTPUT);\r\n}\r\nvoid loop() {\r\ndigitalWrite(ledPin, HIGH);\r\ndelay(1000);\r\ndigitalWrite(ledPin, LOW);\r\ndelay(1000);\r\n}\r\n<\/code><\/pre>\n<h4>Purpose and parts<\/h4>\n<p>The example checks power and serial communication between the Arduino IDE and ESP32-CAM. The listed parts are an AI-Thinker ESP32-CAM, this CH340 micro-USB programming adapter, and a micro-USB cable.<\/p>\n<h4>Code notes<\/h4>\n<ol>\n<li><strong>Serial.begin(115200)<\/strong> starts the serial connection at 115,200 baud.<\/li>\n<li><strong>pinMode(ledPin, OUTPUT)<\/strong> configures the flash LED pin as an output.<\/li>\n<li><strong>digitalWrite<\/strong> and <strong>delay<\/strong> alternate the LED state every second.<\/li>\n<\/ol>\n<p>GPIO assignments can vary between ESP32-CAM board revisions. Confirm the exact board pinout before use.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CH340G USB-to-UART adapter for powering and programming ESP32-CAM AI-Thinker boards and compatible clones through micro-USB.<\/p>\n","protected":false},"featured_media":58669,"template":"","meta":[],"product_brand":[],"product_cat":[314,316,338],"product_tag":[],"class_list":["post-58668","product","type-product","status-publish","has-post-thumbnail","product_cat-developpement-en","product_cat-modules-capteurs-en","product_cat-programmateurs-en","first","instock","taxable","shipping-taxable","purchasable","product-type-simple"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v29.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ESP32-CAM CH340 Programming Adapter | MicroPlanet<\/title>\n<meta name=\"description\" content=\"CH340G micro-USB programming adapter for ESP32-CAM boards, with 5V input, 3.3V regulation, and DTR\/RTS auto-reset and auto-boot signals.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.microplanet.ma\/produit\/adaptateur-programmateur-pour-esp32-cam\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ESP32-CAM CH340 Programming Adapter | MicroPlanet\" \/>\n<meta property=\"og:description\" content=\"CH340G micro-USB programming adapter for ESP32-CAM boards, with 5V input, 3.3V regulation, and DTR\/RTS auto-reset and auto-boot signals.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.microplanet.ma\/produit\/adaptateur-programmateur-pour-esp32-cam\/\" \/>\n<meta property=\"og:site_name\" content=\"MicroPlanet Maroc\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ArduinoPlanet\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-29T14:06:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2023\/06\/34-b-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"1000\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/adaptateur-programmateur-pour-esp32-cam\\\/\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/adaptateur-programmateur-pour-esp32-cam\\\/\",\"name\":\"ESP32-CAM CH340 Programming Adapter | MicroPlanet\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/adaptateur-programmateur-pour-esp32-cam\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/adaptateur-programmateur-pour-esp32-cam\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/34-b-1.png\",\"datePublished\":\"2023-06-18T16:08:42+00:00\",\"dateModified\":\"2026-10-29T14:06:18+00:00\",\"description\":\"CH340G micro-USB programming adapter for ESP32-CAM boards, with 5V input, 3.3V regulation, and DTR\\\/RTS auto-reset and auto-boot signals.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/adaptateur-programmateur-pour-esp32-cam\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/adaptateur-programmateur-pour-esp32-cam\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/adaptateur-programmateur-pour-esp32-cam\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/34-b-1.png\",\"contentUrl\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/34-b-1.png\",\"width\":1000,\"height\":1000},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/adaptateur-programmateur-pour-esp32-cam\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.microplanet.ma\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shop\",\"item\":\"https:\\\/\\\/www.microplanet.ma\\\/shop\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"ESP32-CAM CH340 Micro-USB Programming Adapter\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#website\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/\",\"name\":\"MicroPlanet Maroc\",\"description\":\"Arduino, Electronique DIY, Modules, Composants, Raspberry PI\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.microplanet.ma\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#organization\",\"name\":\"MicroPlanet\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/logo5.png\",\"contentUrl\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/logo5.png\",\"width\":400,\"height\":133,\"caption\":\"MicroPlanet\"},\"image\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/ArduinoPlanet\\\/\"],\"hasMerchantReturnPolicy\":{\"@type\":\"MerchantReturnPolicy\",\"merchantReturnLink\":\"https:\\\/\\\/www.microplanet.ma\\\/conditions-generales-de-vente\\\/\"},\"hasShippingService\":{\"@type\":\"ShippingService\",\"name\":\"Ozon Express\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/livraison-et-paiement\\\/\",\"fulfillmentType\":\"https:\\\/\\\/schema.org\\\/FulfillmentTypeDelivery\",\"shippingConditions\":[{\"@type\":\"ShippingConditions\",\"shippingDestination\":{\"@type\":\"DefinedRegion\",\"addressCountry\":\"MA\"},\"orderValue\":{\"@type\":\"MonetaryAmount\",\"minValue\":0,\"currency\":\"MAD\",\"maxValue\":999.99},\"shippingRate\":{\"@type\":\"MonetaryAmount\",\"value\":35,\"currency\":\"MAD\"},\"transitTime\":{\"@type\":\"ServicePeriod\",\"duration\":{\"@type\":\"QuantitativeValue\",\"minValue\":1,\"maxValue\":3,\"unitCode\":\"DAY\"}}},{\"@type\":\"ShippingConditions\",\"shippingDestination\":{\"@type\":\"DefinedRegion\",\"addressCountry\":\"MA\"},\"orderValue\":{\"@type\":\"MonetaryAmount\",\"minValue\":1000,\"currency\":\"MAD\"},\"shippingRate\":{\"@type\":\"MonetaryAmount\",\"value\":0,\"currency\":\"MAD\"},\"transitTime\":{\"@type\":\"ServicePeriod\",\"duration\":{\"@type\":\"QuantitativeValue\",\"minValue\":1,\"maxValue\":3,\"unitCode\":\"DAY\"}}}]}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ESP32-CAM CH340 Programming Adapter | MicroPlanet","description":"CH340G micro-USB programming adapter for ESP32-CAM boards, with 5V input, 3.3V regulation, and DTR\/RTS auto-reset and auto-boot signals.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.microplanet.ma\/produit\/adaptateur-programmateur-pour-esp32-cam\/","og_locale":"en_US","og_type":"article","og_title":"ESP32-CAM CH340 Programming Adapter | MicroPlanet","og_description":"CH340G micro-USB programming adapter for ESP32-CAM boards, with 5V input, 3.3V regulation, and DTR\/RTS auto-reset and auto-boot signals.","og_url":"https:\/\/www.microplanet.ma\/produit\/adaptateur-programmateur-pour-esp32-cam\/","og_site_name":"MicroPlanet Maroc","article_publisher":"https:\/\/www.facebook.com\/ArduinoPlanet\/","article_modified_time":"2026-10-29T14:06:18+00:00","og_image":[{"width":1000,"height":1000,"url":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2023\/06\/34-b-1.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.microplanet.ma\/produit\/adaptateur-programmateur-pour-esp32-cam\/","url":"https:\/\/www.microplanet.ma\/produit\/adaptateur-programmateur-pour-esp32-cam\/","name":"ESP32-CAM CH340 Programming Adapter | MicroPlanet","isPartOf":{"@id":"https:\/\/www.microplanet.ma\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.microplanet.ma\/produit\/adaptateur-programmateur-pour-esp32-cam\/#primaryimage"},"image":{"@id":"https:\/\/www.microplanet.ma\/produit\/adaptateur-programmateur-pour-esp32-cam\/#primaryimage"},"thumbnailUrl":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2023\/06\/34-b-1.png","datePublished":"2023-06-18T16:08:42+00:00","dateModified":"2026-10-29T14:06:18+00:00","description":"CH340G micro-USB programming adapter for ESP32-CAM boards, with 5V input, 3.3V regulation, and DTR\/RTS auto-reset and auto-boot signals.","breadcrumb":{"@id":"https:\/\/www.microplanet.ma\/produit\/adaptateur-programmateur-pour-esp32-cam\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.microplanet.ma\/produit\/adaptateur-programmateur-pour-esp32-cam\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.microplanet.ma\/produit\/adaptateur-programmateur-pour-esp32-cam\/#primaryimage","url":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2023\/06\/34-b-1.png","contentUrl":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2023\/06\/34-b-1.png","width":1000,"height":1000},{"@type":"BreadcrumbList","@id":"https:\/\/www.microplanet.ma\/produit\/adaptateur-programmateur-pour-esp32-cam\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.microplanet.ma\/"},{"@type":"ListItem","position":2,"name":"Shop","item":"https:\/\/www.microplanet.ma\/shop\/"},{"@type":"ListItem","position":3,"name":"ESP32-CAM CH340 Micro-USB Programming Adapter"}]},{"@type":"WebSite","@id":"https:\/\/www.microplanet.ma\/#website","url":"https:\/\/www.microplanet.ma\/","name":"MicroPlanet Maroc","description":"Arduino, Electronique DIY, Modules, Composants, Raspberry PI","publisher":{"@id":"https:\/\/www.microplanet.ma\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.microplanet.ma\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.microplanet.ma\/#organization","name":"MicroPlanet","url":"https:\/\/www.microplanet.ma\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.microplanet.ma\/#\/schema\/logo\/image\/","url":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2023\/05\/logo5.png","contentUrl":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2023\/05\/logo5.png","width":400,"height":133,"caption":"MicroPlanet"},"image":{"@id":"https:\/\/www.microplanet.ma\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ArduinoPlanet\/"],"hasMerchantReturnPolicy":{"@type":"MerchantReturnPolicy","merchantReturnLink":"https:\/\/www.microplanet.ma\/conditions-generales-de-vente\/"},"hasShippingService":{"@type":"ShippingService","name":"Ozon Express","url":"https:\/\/www.microplanet.ma\/livraison-et-paiement\/","fulfillmentType":"https:\/\/schema.org\/FulfillmentTypeDelivery","shippingConditions":[{"@type":"ShippingConditions","shippingDestination":{"@type":"DefinedRegion","addressCountry":"MA"},"orderValue":{"@type":"MonetaryAmount","minValue":0,"currency":"MAD","maxValue":999.99},"shippingRate":{"@type":"MonetaryAmount","value":35,"currency":"MAD"},"transitTime":{"@type":"ServicePeriod","duration":{"@type":"QuantitativeValue","minValue":1,"maxValue":3,"unitCode":"DAY"}}},{"@type":"ShippingConditions","shippingDestination":{"@type":"DefinedRegion","addressCountry":"MA"},"orderValue":{"@type":"MonetaryAmount","minValue":1000,"currency":"MAD"},"shippingRate":{"@type":"MonetaryAmount","value":0,"currency":"MAD"},"transitTime":{"@type":"ServicePeriod","duration":{"@type":"QuantitativeValue","minValue":1,"maxValue":3,"unitCode":"DAY"}}}]}}]}},"_links":{"self":[{"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product\/58668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/media\/58669"}],"wp:attachment":[{"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/media?parent=58668"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_brand?post=58668"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_cat?post=58668"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_tag?post=58668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}