- In Case You Are Having Problems With MacOS Mojave And CH340 ...
- Ch340 Driver Mac Os Mojave Windows 10
- Cached
- Ch340 Driver Mac Os Mojave
- How To Install CH340 Drivers - Learn.sparkfun.com
So, I have Arduino Nano CH340x working on Mac OS (Mojave), Ubuntu 18.04, Elementary Linux (forget version) and openSuSE Leap 42.3 Malachite. It was not at all necessary to install drivers or make them on the Linux machines - but I did install them for the Mac. Downloaded from the Chinese site. Warning: If you have a Mac OS X v10.12+ (i.e. High Sierra, Mojave), your computer may restart as soon as you insert the CH340 to your computer.We recommend that you uninstall the old drivers first and follow these directions below before connecting the CH340 to your COM port.
This post details how to get [most] cheap Arduino clones working with MacOS Sierra so you can upload sketches to them.
Many clones are not recognized “out of the box” because they implement their USB to serial interface with a CH340 chip designed by China’s WCH (http://www.wch.cn/) instead of the more costly FTDI chip found in genuine Arduinos.
Most sellers on “China deal sites” like Aliexpress.com are up-front about these chips and include “CH340” in their product titles and descriptions, though the implications of this design modification are not alway understood by purchasers.
The easy installation method covered in this post comes courtesy of one Adrian Mihalko. He has bundled the manufacturer’s latest Sierra-compatible CH340/CH34G/CH34X drivers for installation with brew cask. These drivers are signed by the OEM so its no longer necessary to disable Mac’s System Integrity Protection (SIP) feature.
Github: https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver
I had no problem getting a Robotdyn Arduino Uno as well as another cheap clone running on a Mac with High Sierra.
Step by step
Prerequisite: ensure brew installed on your Mac. Verify its presence and version info by executing brew --version
in Terminal.
To begin, install the drivers with brew cask
:
(Note: the above is only two commands. The first one runs long, so take care when copying and pasting.)
When the install completes, reboot your machine.
Next, plug your Arduino clone into a free USB port.
Using Terminal, verify that the device is recognized by listing the contents of the /dev
directory and looking for cu.wchusbserial1420
or cu.wchusbserial1410
in the output:
In Case You Are Having Problems With MacOS Mojave And CH340 ...
For example, I found cu.wchusbserial1420
in the output when I connected my Robotdyn Uno.
Ch340 Driver Mac Os Mojave Windows 10
Things are promising if you find a similar result.
The Arduino IDE ships with drivers for the Uno itself, and save for the CH340, my clones are otherwise fully Arduino compatible (note: some clones might require additional drivers, and/or a different Board must be specified in the Arduino IDE). For my clones, the following steps were all I needed to upload sketches:
Cached
- Open Arduino IDE with a test Sketch
- Select the correct port in Tools > Port (e.g.
/dev/cu.wchusbserial1420
) - Verify that the Tools > Board had “Arduino Genuino/Uno” selected
- Verify/Compile the Sketch (Apple+R)
- Upload the Sketch (Apple+U)
Done.
Ch340 Driver Mac Os Mojave
In particular, the Robotdyn Uno appears to be decently well made, it’s laid out to support all Arduino-compatible shields, and it comes on an attractive black PCB. Versus a genuine Uno, it uses a micro-USB port instead of a full size one and exposes the ATmega328P microcontroller’s analog 6+7 pins. The company makes a number of similarly slick-looking accessories on black PCB. Their store on AliExpress is: https://robotdyn.aliexpress.com/
How To Install CH340 Drivers - Learn.sparkfun.com
Have fun with your cheap clones!