Blog

How to run Chinese Arduino UNO R3 (CH340 CH341) either on Windows 10 or Mac El.Capitan

02/05/2016

Please read this carefully guys : "Formschema is against clones". But there is one but.... :) 

But one guy from our employees just bought very cheap Arduino UNO Clone called DccEle – DCcduino UNO (Later we tried the same with Arduino UNO R3 clone). Because he bought Starter Kit which came with many small chips, wires and things we love and on the top of that we've got nice clone :). Be default it wasn't recognised neither by my Mac OS nor by Windows (Currently we are running El. Capitan of Mac and Windows10.) The issue that many people are having is with somethink like called - bootloader. If you have a piece of hardware like Arduino clone (copy), but has no firmware on it, it cannot communicate with anything. When you have pluged in device into your computer and try upload example code from Arduino IDE, you will receive "avrdude: stk500_recv(): programmer is not responding" meesage. 

So first thing we've find out about clones was that clones like DCcduino, R3 and others have different communication implementation. These clonses are using either the CH340 or CH341 chip for the usb-serial. As far as we remember in linux you don't have to do anything, it works right away. In Windows and in Mac you need download and install drivers first :

So best sources for getting drivers is the web site : http://www.wch.cn/. Please press links accordingly and get drivers either for Mac or for Windows 

After drivers were installed we encountered to the next problem - it took really really long time to compile sketch and eventually it rised another issue and we came to the same result. Your computer cannot upload anything to the Arduino.

Regarding your OS it can be solved differently : 

Windows 10 - it might be problem with COM port. Especially if you get error like this : "avrdude: ser_open(): can't open device "\\.\COM3": Access is denied.". Quick fix is change port on your computer :

solution!!!!
1. Control Panel -> Hardware and Sound -> Device Manager
2. Check "Ports (COM & LPT)
3. Select port of arduino board examle : com1 ... com3 whatever it is. (Ours - USB-SERIAL CH340)
4. Right click on com.
5. Select properties
6. Tab - port settings
7. Click advanced
8. Com port number- select new port number that is not in use.
9. Confirm..

Save and continue. And do not forget change port on Arduino IDE. 

El. Capitan of Mac - Since the release of OSX El Capitan customers are asking how to get their CH340 drivers working again for their ATmega328 board. Just like Yosemite, El Capitan requires kext driver signing. How this can be disabled in OSX 10.11 is changed however. To get the CH340 drivers to work in El Capitan you need to use the new tool csrutil as follows:

  1. Reboot and press CMD+R immediately after hearing the startup sound to boot to Recovery Mode
  2. Open Terminal
  3. Execute the following command: csrutil enable --without kext
  4. Reboot
  5. After rebooting you should see your serial ports again in the Arduino IDE and program your Arduino clone using CH340/CH341.

And one more thing - we bought original Arduino boards to support Arduino open source.