{"id":58646,"date":"2022-11-30T12:39:01","date_gmt":"2022-11-30T11:39:01","guid":{"rendered":"https:\/\/www.microplanet.ma\/?post_type=product&#038;p=58646"},"modified":"2026-11-17T21:43:12","modified_gmt":"2026-11-17T21:43:12","slug":"arduino-mega-2560-ch340-board-usb-cable","status":"publish","type":"product","link":"https:\/\/www.microplanet.ma\/en\/produit\/arduino-mega-2560-ch340-board-usb-cable\/","title":{"rendered":"Arduino Mega 2560 CH340 Board with USB Cable"},"content":{"rendered":"<h3>Arduino Mega 2560 (CH340) with USB Cable<\/h3>\n<p>This Mega 2560-compatible board uses a CH340 USB-to-serial bridge in place of the ATmega16U2 used on the official Mega 2560 Rev3. It is intended for projects that need many input\/output connections. A USB cable is included for programming and USB power.<\/p>\n<h4>Specifications listed<\/h4>\n<ul>\n<li>Microcontroller: ATmega2560<\/li>\n<li>USB-to-serial converter: CH340<\/li>\n<li>Operating voltage: 5 V<\/li>\n<li>Recommended input voltage: 7\u201312 V<\/li>\n<li>Input-voltage limit: 6\u201320 V<\/li>\n<li>Digital I\/O pins: 54, including 15 PWM-capable pins<\/li>\n<li>Analog inputs: 16<\/li>\n<li>DC current per I\/O pin: 20 mA (board rating listed)<\/li>\n<li>3.3 V pin current: 50 mA (board rating listed)<\/li>\n<li>Flash: 256 KB, with 8 KB used by the bootloader<\/li>\n<li>SRAM: 8 KB<\/li>\n<li>EEPROM: 4 KB<\/li>\n<li>Clock: 16 MHz<\/li>\n<\/ul>\n<p>The official Mega 2560 Rev3 uses an ATmega16U2 USB interface; this CH340 board is a compatible alternative. Ratings and layout can differ between board revisions. Do not exceed the input limits or pin-current ratings; the per-pin value is not a total board-current allowance.<\/p>\n<h4>How it works<\/h4>\n<p>The ATmega2560 runs the sketch, while the CH340 handles USB-to-serial communication with the computer. The board can be powered over USB or from an external supply within the board\u2019s stated input range.<\/p>\n<h4>Applications listed<\/h4>\n<ul>\n<li>Complex home-automation projects<\/li>\n<li>Industrial control systems<\/li>\n<li>Advanced robot prototypes<\/li>\n<li>Data-acquisition systems<\/li>\n<li>Educational projects requiring many I\/O pins<\/li>\n<\/ul>\n<h4>Getting started<\/h4>\n<ol>\n<li>Connect the board to the computer using the included USB cable.<\/li>\n<li>Install the Arduino IDE from the official Arduino website.<\/li>\n<li>If required, install the WCH CH340 USB-serial driver for your operating system.<\/li>\n<li>In the IDE, select \u201cArduino\/Genuino Mega or Mega 2560\u201d under Tools \u2192 Board.<\/li>\n<li>Write a sketch or open an IDE example.<\/li>\n<li>Click Upload to transfer the sketch to the board.<\/li>\n<\/ol>\n<h4>Pin connections<\/h4>\n<ul>\n<li>Digital pins 0\u201353: digital input\/output.<\/li>\n<li>PWM: the official Mega pinout identifies 15 PWM outputs on pins 2\u201313 and 44\u201346.<\/li>\n<li>Analog inputs A0\u2013A15: read analog signals.<\/li>\n<\/ul>\n<h4>Parts for a basic test<\/h4>\n<ul>\n<li>1 \u00d7 Arduino Mega 2560 CH340 board<\/li>\n<li>1 \u00d7 USB cable (included)<\/li>\n<li>1 \u00d7 LED<\/li>\n<li>1 \u00d7 220 \u03a9 resistor to limit LED current<\/li>\n<li>1 \u00d7 breadboard and jumper wires<\/li>\n<\/ul>\n<h4>LED blink code<\/h4>\n<div class=\"hcb_wrap\">\n<pre class=\"prism undefined-numbers lang-cpp\" data-lang=\"C++\"><code>int ledPin = 13; \/\/ LED pin\r\n\r\nvoid setup() {\r\npinMode(ledPin, OUTPUT); \/\/ Set the pin as an output\r\n}\r\n\r\nvoid loop() {\r\ndigitalWrite(ledPin, HIGH); \/\/ Turn the LED on\r\ndelay(1000); \/\/ Wait one second\r\ndigitalWrite(ledPin, LOW); \/\/ Turn the LED off\r\ndelay(1000); \/\/ Wait one second\r\n}<\/code><\/pre>\n<\/div>\n<h4>Code overview<\/h4>\n<ul>\n<li><code>setup()<\/code> runs once at startup and configures pin 13 as an output.<\/li>\n<li><code>loop()<\/code> repeats: it turns the LED on, waits one second, turns it off, and waits another second.<\/li>\n<\/ul>\n<p>This example helps you get started with the Mega 2560 CH340 and explore its features. For more advanced projects, see the Arduino IDE libraries and community resources.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mega 2560-compatible board with ATmega2560, CH340 USB-to-serial converter and USB cable. Includes 54 digital I\/O and 16 analog inputs.<\/p>\n","protected":false},"featured_media":58647,"template":"","meta":[],"product_brand":[],"product_cat":[314,334],"product_tag":[],"class_list":["post-58646","product","type-product","status-publish","has-post-thumbnail","product_cat-developpement-en","product_cat-cartes-de-developpement-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>Arduino Mega 2560 CH340 Board with USB Cable | MicroPlanet<\/title>\n<meta name=\"description\" content=\"Arduino Mega 2560-compatible CH340 board with USB cable, 54 digital I\/O, 16 analog inputs and LED blink guide.\" \/>\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\/arduino-mega-2560-ch340-cable-usb\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Arduino Mega 2560 CH340 Board with USB Cable | MicroPlanet\" \/>\n<meta property=\"og:description\" content=\"Arduino Mega 2560-compatible CH340 board with USB cable, 54 digital I\/O, 16 analog inputs and LED blink guide.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.microplanet.ma\/produit\/arduino-mega-2560-ch340-cable-usb\/\" \/>\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-11-17T21:43:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2022\/11\/2-3.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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/arduino-mega-2560-ch340-cable-usb\\\/\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/arduino-mega-2560-ch340-cable-usb\\\/\",\"name\":\"Arduino Mega 2560 CH340 Board with USB Cable | MicroPlanet\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/arduino-mega-2560-ch340-cable-usb\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/arduino-mega-2560-ch340-cable-usb\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/2-3.png\",\"datePublished\":\"2022-11-30T11:39:01+00:00\",\"dateModified\":\"2026-11-17T21:43:12+00:00\",\"description\":\"Arduino Mega 2560-compatible CH340 board with USB cable, 54 digital I\\\/O, 16 analog inputs and LED blink guide.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/arduino-mega-2560-ch340-cable-usb\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/arduino-mega-2560-ch340-cable-usb\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/arduino-mega-2560-ch340-cable-usb\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/2-3.png\",\"contentUrl\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/2-3.png\",\"width\":1000,\"height\":1000},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/arduino-mega-2560-ch340-cable-usb\\\/#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\":\"Arduino Mega 2560 CH340 Board with USB Cable\"}]},{\"@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":"Arduino Mega 2560 CH340 Board with USB Cable | MicroPlanet","description":"Arduino Mega 2560-compatible CH340 board with USB cable, 54 digital I\/O, 16 analog inputs and LED blink guide.","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\/arduino-mega-2560-ch340-cable-usb\/","og_locale":"en_US","og_type":"article","og_title":"Arduino Mega 2560 CH340 Board with USB Cable | MicroPlanet","og_description":"Arduino Mega 2560-compatible CH340 board with USB cable, 54 digital I\/O, 16 analog inputs and LED blink guide.","og_url":"https:\/\/www.microplanet.ma\/produit\/arduino-mega-2560-ch340-cable-usb\/","og_site_name":"MicroPlanet Maroc","article_publisher":"https:\/\/www.facebook.com\/ArduinoPlanet\/","article_modified_time":"2026-11-17T21:43:12+00:00","og_image":[{"width":1000,"height":1000,"url":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2022\/11\/2-3.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.microplanet.ma\/produit\/arduino-mega-2560-ch340-cable-usb\/","url":"https:\/\/www.microplanet.ma\/produit\/arduino-mega-2560-ch340-cable-usb\/","name":"Arduino Mega 2560 CH340 Board with USB Cable | MicroPlanet","isPartOf":{"@id":"https:\/\/www.microplanet.ma\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.microplanet.ma\/produit\/arduino-mega-2560-ch340-cable-usb\/#primaryimage"},"image":{"@id":"https:\/\/www.microplanet.ma\/produit\/arduino-mega-2560-ch340-cable-usb\/#primaryimage"},"thumbnailUrl":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2022\/11\/2-3.png","datePublished":"2022-11-30T11:39:01+00:00","dateModified":"2026-11-17T21:43:12+00:00","description":"Arduino Mega 2560-compatible CH340 board with USB cable, 54 digital I\/O, 16 analog inputs and LED blink guide.","breadcrumb":{"@id":"https:\/\/www.microplanet.ma\/produit\/arduino-mega-2560-ch340-cable-usb\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.microplanet.ma\/produit\/arduino-mega-2560-ch340-cable-usb\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.microplanet.ma\/produit\/arduino-mega-2560-ch340-cable-usb\/#primaryimage","url":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2022\/11\/2-3.png","contentUrl":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2022\/11\/2-3.png","width":1000,"height":1000},{"@type":"BreadcrumbList","@id":"https:\/\/www.microplanet.ma\/produit\/arduino-mega-2560-ch340-cable-usb\/#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":"Arduino Mega 2560 CH340 Board with USB Cable"}]},{"@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\/58646","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\/58647"}],"wp:attachment":[{"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/media?parent=58646"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_brand?post=58646"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_cat?post=58646"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_tag?post=58646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}