loading

Have you ever wondered if a cheap Chinese Arduino clone will actually work?
You pay only a few bucks and get the same product. Sounds to good to be true right?

The truth is that some work and some won't. Follow the rest of this instructable and I'll explain you how to make them all work in no time.

Here is where I got my Cheap Arduino clone

Step 1: Genuine Arduino and Chinese Clone - the CH340 Chip Problem

I use an Arduino Uno for this example but it is the same process for most Arduino models.
So here we have a genuine Arduino and a Chinese clone. Let's do the test.

My Arduino environment has been installed and is working properly. First I plug in the genuine Arduino. Everything works just fine. Now I use my cheap Chinese copy and.... the computer does not recognise the hardware.

The problem is that the clone does not use the standard serial to usb chip but a chip marked CH340. Your computer will not recognize these CH340 chips on your computer. To fix this is very easy.

Step 2: Download Software

Download the manufacturer software and istall it on your computer. This software will work for all versions of windows.
Here is the link:

http://www.wch.cn/download/CH341SER_EXE.html

This instructable is based on pc but here is a link for a solution for Mac users:

http://0xcf.com/2015/03/13/chinese-arduinos-with-...

Now plug in your Chinese clone and try again. It should work just fine.

The board should be visible now in the Arduino IDE and ready to use.

I upload the blink sketch to the board and it all works.

In some cases the board might still not work. This is because there is no bootloader installed on the Atmel microcontroller ship. To solve this problem we need a working Arduino and the clone Arduino we want to fix.

Step 3: Make an ISP Programmer From Your Working Arduino

First we connect the working Arduino to our computer and open the Arduino IDE.


We go to File -> Examples and click ArduinoISP and upload this to the Arduino. Ones uploaded disconnect the Arduino.

Step 4: Connecting the Wires

Next we connect the wires from the working Arduino to the clone as follows.


Pin 10 goes to reset pin 11 goes to 11,

pin 12 to 12,

pin 13 to pin 13.

5v to 5v and ground to ground.

Connect a 10 uF capacitor between reset and ground on the working Arduino.

Step 5: Burn the Bootloader

Next we connect the working Arduino with a usb to the computer.


Go to Tools -> Board and select the chinese board that is not working. in my case it's an Arduino Uno.

Next we go to Tools again -> Programmer and select Arduino as ISP.

Go to Tools again and select "Burn Bootloader".

Go back to Tools -> Programmer and set back to ArduinoISP.

Your clone should work just fine now.

Step 6: Contribute

Arduino is great software an completely free to use.

If you are buying Chinese copies of the Arduino controller, consider making a donation to support the Arduino software. Here is a link.
https://www.arduino.cc/en/Main/Donate

Step 7: Final

If this instructable was helpfull for you, please click the favorite button.


Comments and suggestions below.

Also check out my 2$ ARDUINO INSTRUCTABLE here.

See you in the next instructable.

Tom Heylen

Facebook: https://www.facebook.com/OfficialTomHeylen

Donate to help me keep doing this work: https://www.paypal.me/TomHeylen/2usd

<p>These are the direct words of Mazzimo Banzi, co-founder of Arduino in his book, page 1: &quot;Getting Started with Arduino, 2nd Edition&quot;:</p><p>&quot;<strong><em>Arduino is different from other platforms on the market because of these</em></strong></p><p><strong><em>features:</em></strong></p><p><strong><em>&gt;&gt; It is open source hardware and software&mdash;if you wish, you can</em></strong></p><p><strong><em>download the circuit diagram, buy all the components, and make your</em></strong></p><p><strong><em>own, without paying anything to the makers of Arduino.</em></strong>&quot;</p><p>I do not need to say anything further.</p>
<p>You are correct that one need not pay them anything. The suggestion to contribute to them was that in supporting them in their open source will hopefully insure that they will be able continue to give such great quality projects in the future.</p>
Thanks for your post. This should make things clear. <br><br>For those who want to support The Arduino software.<br>Step 6 in this instructable contains a link to make a donation to the Arduino software.
<p>Oddly enough, the CH340G chip has proven to be a solution to a problem plaguing people building controllers/cockpits for Kerbal Space Program. The stock standard Atmel 16U2 based Arduinos were not properly communicating under Windows 10, and we STILL have not found a solution. It was discovered that communication is fine when using the CH340G and it's different drivers.</p><p>Weird, but hey, whatever works, right! Still trying to track down the 16U2 communication issue with Windows 10 though. For the time being... I'm simply not gonna use an Arduino that uses a 16U2 for my build.<br><br>Now the fun part... Finding an eBay listing that doesn't annoyingly put BOTH 16U2 and CH340G in the listing title to stage extra hits.</p><p>/)_-</p>
<p>i'm not sure if this will help but i have a 16u2, and after much wrestling, i'm now quite proficient at moving it between acting as a legit clone of the atmel AVRISP MKii, and it's old role. i don't run windows generally, but i am heavy in to vmware, so i set up an XP vm (if i have to run something in an MS environment, XP is about where my trust ends with MS, plus, it gets the job done reliably so i'm not going to upgrade a system that i essentially knock off throwaway instances of for one singular purpose anyway), installed flip, it's dependencies, and this part seemed to matter, atmel studio 6.2. then , downloaded a bootloader firmware i found on the web which i would be happy to put up for anyone needing it, that's basically a clone of the AVRISP mkii firmware you can use the extra ISP header on the Uno to burn. you have to solder one wire to the part hat lacks pins, for the reset, but after having no joy with SPI on the god given SPI header i was able to jump the 16u2 in to DFU mode, and use Flip to load the MKii firmware. from there, you - and this is the part that might benefit you yourself, even using another programming solution - install something that allows you to switch the atmel USB driver to libusb. apparently, the newer atmel drivers have a problem where the software expects them to install libusb support but they don't, also from another forum, i installed something i think it was callled &quot;zadig&quot;, and after connecting my newly flashed uno/avrisp mkii clone, you open zadig and have it replace whatever usb device your atmel appears as with a usb version. i went from getting all kinds of lockups and errors in atmel studio to burning internally oscillating 328ps with no problem and now i love being able to switch the atmega16u2 firmware around, and use it to program bootloaders without a shield, etc...why use a shield when you have a perfectly good programmer right at your disposal? anyhow i may have missed something but would be happy to help, just know, i bashed my head in to that 16u2 for hours, but when you make it work you have turned your $7 uno in to a $50 AVRISP MKii that not only programs SPI, but JTAG and debugwire, and that weird tiny mode i can't remember the name of that muxes miso and mosi for the real tiny attinys, which incidentally nothing else on the market programs. and you can switch it by shorting a pin and running flip which takes all of 30 seconds...all you need to do, probably, is fix your USB. i know i said i used XP, but the problem was supposed to be across the board. </p><p>http://zadig.akeo.ie/ is where i got the fix and this tutorial is pretty much spot on, if you want to try using the 16u2 as an ISP, i highly reccommend it. there's another method that uses a TTL to USB adapter to achieve the same end but don't waste your time on that one it's a lot of extra work and overly complicated when the 16u2 has a perfectly good DFU mode </p><p>http://www.fedevel.com/welldoneblog/2015/04/how-to-flash-arduino-bootloader-without-a-programmer/</p>
<p>Sadly, most of that flew right over my head... I'm a hardware guy, TTL, logic gates, CPLDs. etc. It's someone else who's been maintaining the software plugin for KSP to do the communication. Amazingly enough, we now have THREE different plugins that do this, all in different ways.<br><br>The one thing I got out of your info... Our temporary solution was to use clone Arduinos with the CH340G chip... Or to use a USB to TTL serial adapter! XD<br><br>I think the person maintaining that plugin did eventually get the stock Arduino devices working natively again, but yeah... Hats off to guys like you, and the guy that maintains that plugin for actually knowing how to do all this type of stuff! I'm using a custom mechanical keyboard and this Kerbal Space Program controller as an excuse to force myself to learn C... SO far, i just keep building hardware... O_o Oh well, eventually I HAVE to learn, or I'll have very expensive paperweights!</p>
<p>for OS X users life is too short - return the board to the seller and get one that works - at this price point it's not worth the effort and time is better spent on other projects - i ran across this problem with an UNO - funny how a Mega from the same maker worked properly though...</p>
<p>you aren't kidding, it's too short to use os x, they have been killing me with the insane release schedule...only ever owned one and when this laptop kicks the bucket i don't care who offers me one to maintain what the answer shall be no. apple is evil, been way worse without jobs, one day, they deleted all of my SDKs as part of a silent xcode update i wasn't even aware i was subject to, you should have seen my confusion when i went to build and thought i had a breach, when i figured it out, it still felt like one. they have the nerve to pull something like that and then slip me an SDK for the new version, sierra, that i was deliberately not using because it breaks the usability of a full disk encryption app i maintain, and i kind of need to stay consistent with that....f them...the release notes on that SDK were obnoxious too, i run el cap, you delete my 10.11 sdk, - and i'm running os x 10.11 -, along with deleting every other sdk, which is just annoying, i keep them all backed up because of that dumbassery, and tell me to change up..i'm sorry who owns this hardware again cupertino? i could go on for hours with the issues i have with them regarding xcode alone, and the last two releases i put time maintaining in on, el cap and sierra, both released with obvious an potentially disastrous still unpatched bugs (i'd bet they're still unpatched, try to start the sierra recovery console consistently and get to a terminal, have fun at language chooser...and i had to slipstream an el cap installer because it doesn't work from USB, it bitches about 500mb of google fonts being missing and crashes after 24-48 hours of spewing tens of thousands of errors). nice handle though, i have a couple of interesting linux projects, one is involving arm and i386 of all things, privacy , security and pentesting platform that your grandmother could use to get away with some very interesting feats of espionage, for now, just crypto is released though...http://github.com/adouble42, check out rotor and nemesis if you're interested</p>
<p>I have a genuine Uno - can I use this board to write the boot loader on a mega or mini?</p>
<p>if it has a 16u2 with some effort (not much, one solder point and finding software is most of it, see my comment above for links) you can put the 16u2 in DFU mode, and reflash to make it in to an AVRISP MKii clone, that you can then connect with jumper wires across the board to the ISP header and reprogram the bootloader of whatever you've got on the board, using atmel studio, or just about any other chip atmel makes, it even will do debugwire and JTAG like that</p><p>i feel somewhat amused having been trying out a bunch of different programmers to see what was the most flexible and not realizing until the end that the most ideal one for my situation was already soldered to my arduino in the form of the atmega16u2. although i've got a flashcat with an atmega32, it doesn't have much in the way of support or usability...if you have a genuine uno you have a really badass ISP setup at your disposal. check the links, it's worth the effort</p>
<p>For Mac Sierra users download and use the signed driver (worked for me without having to do anything else) - <a href="http://blog.sengotta.net/wp-content/uploads/2015/11/CH34x_Install_V1.3.zip" rel="nofollow">http://blog.sengotta.net/wp-content/uploads/2015/1...</a></p><p>Thanks to <a href="https://tzapu.com/ch340-ch341-serial-adapters-macos-sierra/" rel="nofollow">https://tzapu.com/ch340-ch341-serial-adapters-maco...</a></p>
<p>if any one had query related the port identification of colony aurdino UNO R3 on window 7,8.1, vesta,10 .so contact me on 15020019076@umt.edu.pk</p>
<p>Why is the 10uF capacitor actually?</p>
<p>That really worked, thank you very much!</p><p>I bought chinese nano board for $3 and of course I couldn't upload any sketch to it as there were no drivers to run it. But after &quot;completing&quot; your tutorial it worked and now I can upload without any problems. </p><p>Note for other users: After doing it, it will work, but every time you connect the clone board it will have different port. Also, in the &quot;Control Panel\Hardware and Sound\Devices and Printers&quot; it won't be displayed as &quot;Arduino device&quot; but as a CH340 device. But don't worry, it works perfectly!</p>
<p>Oh and also I forgot to say that the link for the chinese program that fixes the CH340 works great;</p><p>And I am using Windows 7 professional 64 bit.</p>
<p>Arduino: 1.8.1 (Windows 7), Board: &quot;Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)&quot;<br><br>C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega2560 -cstk500v1 -PCOM10 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xD8:m -Ulfuse:w:0xFF:m <br><br>avrdude: Version 6.3, compiled on Dec 16 2016 at 13:33:19<br> Copyright (c) 2000-2005 Brian Dean, <a href="http://www.bdmicro.com/" rel="nofollow"> http://www.bdmicro.com/</a><br> Copyright (c) 2007-2014 Joerg Wunsch<br><br> System wide configuration file is &quot;C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf&quot;<br><br> Using Port : COM10<br> Using Programmer : stk500v1<br> Overriding Baud Rate : 19200<br>avrdude: stk500_recv(): programmer is not responding<br>avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03<br> AVR Part : ATmega2560<br> Chip Erase delay : 9000 us<br> PAGEL : PD7<br> BS2 : PA0<br> RESET disposition : dedicated<br> RETRY pulse : SCK<br> serial program mode : yes<br> parallel program mode : yes<br> Timeout : 200<br> StabDelay : 100<br> CmdexeDelay : 25<br> SyncLoops : 32<br> ByteDelay : 0<br> PollIndex : 3<br> PollValue : 0x53<br> Memory Detail :<br><br> Block Poll Page Polled<br> Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack<br> ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------<br> eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00<br> flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00<br> lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00<br> hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00<br> efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00<br> lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00<br> calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00<br> signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00<br><br> Programmer Type : STK500<br> Description : Atmel STK500 Version 1.x firmware<br> Hardware Version: 2<br> Firmware Version: 1.18<br> Topcard : Unknown<br> Vtarget : 0.0 V<br> Varef : 0.0 V<br> Oscillator : Off<br> SCK period : 0.1 us<br><br>avrdude: AVR device initialized and ready to accept instructions<br><br>Reading | ################################################## | 100% 0.02s<br><br>avrdude: Device signature = 0x000000 (retrying)<br><br>Reading | ################################################## | 100% 0.02s<br><br>avrdude: Device signature = 0x000000 (retrying)<br><br>Error while burning bootloader.<br>Reading | ################################################## | 100% 0.02s<br><br>avrdude: Device signature = 0x000000<br>avrdude: Yikes! Invalid device signature.<br> Double check connections and try again, or use -F to override<br> this check.<br><br><br>avrdude done. Thank you.</p><p>&lt;this is one working 2560 clone and one non working. please help</p>
<p>Hi Mate, This didn't work for me. I have a Mac, boards are not recognised on it but are on some pc's. The command coding came back in errors. Any ideas?</p>
<p>Also relevant. I have had &quot;fake&quot; units with defective 12 MHz crystals, the fix is to replace the part with a genuine unit. Also bad regulators, defective &quot;FakeCaps&quot; (tm), micros which only emulate the responses expected for &quot;Hello World&quot;, etc. FFS.</p>
On windows 10 the second step will not help to make the Ch340 be visible nor in arduino ide nor in device manager...:( any suggestions?
<p>i change usb port. usb 3 doesn't function. usb 2 ok.</p>
<p>Thanks for getting back! </p><p>@@@@@@@@@@@@@@@@@@@@@@@@@@</p><p>I FOUND WHAT MY PROBLEM WITH CH340 and Windows 10 was - it was not discover-able SIMPLY because the Ch340 chip was burned accidentally by me not using Vcc correctly. :( ugh, spent so much time with drivers even downgraded to Windows 7 just to learn that simple thing. </p><p>@@@@@@@@@@@@@@@@@@@@@@@@@@</p>
<p>Pro Mini does not have 0, 1 and 5V. How to do please?</p>
<p>hey tom </p><p>i do the same like you </p><p>but i get the error code : </p><p>ik doe het zelfde zo als je uitlegt</p><p>maar ik krijg de fout melding : </p><p>avrdude: WARNING: invalid value for unused bits in fuse &quot;efuse&quot;, should be set to 1 according to datasheet</p><p>This behaviour is deprecated and will result in an error in future version</p><p>You probably want to use 0xfd instead of 0x05 (double check with your datasheet first).</p><p>kun je mij hier bij helpen ? </p><p>can you help me with this problem ? </p>
<p>Dear <a href="https://www.instructables.com/member/tomheylen/" rel="nofollow">tomheylen</a></p><p>Thank you so much.!!!!</p><p>Spent days trying to figure out a 3D printer I got that wouldn't recognize on 3 pc / laptops.</p><p>Need to watch those Clones.....</p><p>You are a computer god. :-)</p><p>Thank you.....</p>
<p>Thank you, good on ya for suggesting donating to Arduino.<br><br></p>
<p>I have several arduino uno R3 clones with micro USB that have the CH340G chip. I have the driver installed, and it recognizes other devices with the same chip, but my computer will not recognize that this particular device is connected. Are there any other potential reasons why the arduino clone would not communicate with the computer? Or are there reasons the CH340G chip would not function with the driver?</p>
<p>Thank you. Clone is running again. Glad that I discovered this tutorial to repair my Arduino clone. </p>
<p>Thank you very much for this article!</p>
<p>me again, i have some aditional info. the smd LED (L) is all the time on, after powerup or reset it will flash 3 times und then it will be on. i had writen a sketch that pin 0 to pin 16 set to output and set all of them to LOW, but the LED is still on, strange</p>
<p>thx for the great Tutorial, i have the same clone like in this tuterial. i can upload the led blink example, i get no error, but the sketch dosen't work, nothing will happens no LED is blinkging. Does it mean the sketch is uploaded well??? When i try another Board Model i get an error. So i installed with my working Uno the bootlaoder, but it dosen't fix the problem :-(. when i do a get board info: i will get BN: Unknown Board VID: 1A86 PID: 7523 SN: Upload any sketch to obatin it. what does it mean?, pls, can somebody explain me, i also put a external LED on the Pin13 but it wont' be blink :-(</p>
<p>Thanks, without you I'd be lost!</p>
But when After selecting port, then selecting board info. It shows bn: unknown board. Despite I uploaded sketch
Thank you. I was going to through this chinees uno. But now is working
<p>Was stuck trying to use a few old generic units but all working fine now. Thankyou so much for your advice and links :) </p>
<p>Done burning bootloader but the clone still won't work</p>
<p>Thanks so much! I bought some clone Arduino Mini's which weren't working at all. I followed the &quot;burn bootloader&quot; steps and they are now working. </p>
<p>I'm using Linux and have not had a problem with the CH340 chip at all.</p>
<p>I am using Linux and I see a problem with CH340G!</p><p>There is an example for ArduinoISP, it is part of Arduino IDE. When I load it to Nano V3 with FTDI, it works fine. When I load it to Nano V3 with CH340G, it doesn't work!</p><p>I am not sure what is a problem, it could be that CH340G has smaller buffer for FIFO and buffer overruns or some problem in Linux driver.</p><p>Load ArduinoISP example to your arduino; no real ISP wiring is needed, it fails before it starts to take care about other chip. Try this command, it works with FTDI and doesn't work with CH340G (protocol error):</p><p>avrdude -c stk500v1 -P /dev/ttyUSB0 -b 19200 -p m328p -vvvv</p>
Hi,<br><br>Have you tried using a lower baud rate? Have you got more than one CH340G? If so, do they all behave the same way. Might be a faulty chip.
I'm sorry but I don't have experience with Lunix and Arduino. But some say it should work without installing the driver.
<p>Yes, it really works, no need to install drivers at Linux. When I run a simple application to send data over serial port, Arduino with CH340G works great. Unfortunately, I ordered this Arduino to build an ISP programmer and avrdude has a problem with CH340G. I have found how to modify source code of avrdude to talk to Arduino with CH340G. The point is that Arduino with FTDI chip works better than Arduino with CH340G...</p>
<p>Thank you so much for these great intructions.</p><p>My Arduino UNO is back to life.</p><p>You're a genius!</p>
<p>If you have a 2560 Chinese clone don't forget to go into your computer's driver settings and manually switch over. I spent hours trying all the different suggestions and it was just that simple.</p>
<p>Hi! Unfortunetly I am still having troubles with an CH340 ARDUINO MEGA 2560. I'm using an original Arduino Uno to burn it's bootloader but I get the message : </p><p>avrdude: Yikes! Invalid device signature.<br> Double check connections and try again, or use -F to override<br> this check.</p><p>Any ideas?</p>
<p>i have the same problem too and need the answer</p>
<p>Thank you Tom,</p><p>Excelent trouble shooting instructions.</p><p>It works also on the chinese &quot;Arduino&quot; Mega 2560</p>
<p>HI!</p><p>I'm having some problem with a Nano chinese clone.</p><p>I already re-flashed firmware and installed COM drivers; but I keep getting this error trying to programming ANY sketch!</p><p>avrdude: verification error, first mismatch at byte 0x00ea<br> 0x05 != 0x06 --&gt;(random values with different sketches)<br>avrdude: verification error; content mismatch</p><p>do you have any idea?</p>
<p>Have hou chosen Arduino Nano among boards men&ugrave;?</p>
<p>Thanks for your instructable. It really saves time. I really appreciate it.</p>
<p>Theft is theft.. as a software developer it's the same to me, if you make a living from proceeds or products that are being cloned you would have the same view.</p><p>The Italian company that makes the Arduino also pumps their time and money into the IDE that made it so easy to use.</p><p>Some of those chips on the boards are also rip-offs also, the Chinese are making copies of low tech chips.</p><p>Why would you buy a clone? </p>

About This Instructable

277,816views

886favorites

License:

Bio: I like to make stuff in my free time. Especially programming, cooking, electronics etc. Lately I'm making tutorials about stuff I made the last ... More »
More by tomheylen:Long range, 1.8km,  Arduino to Arduino wireless communication with the HC-12. How to connect a FT232RL programmer to the Arduino ATMEGA328 for uploading sketches $2 Arduino. The ATMEGA328 as a stand-alone. Easy, cheap and very small. A complete guide. 
Add instructable to: