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. Here is a little tutorial to remove the Arduino Serial Port Driver (CH340) from your Mac before installing the new CH34X (link bellow) To find the precedent. The expected output (shows 'ch341') should have the following in the recent log: xxx ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0 xxx ch341 3-2:1.0: device disconnected. Download the patched drivers repository and unzip the files. The drivers are integrated into different Linux distributions. If the device is not recognized, download the Linux CH340/CH341 driver. (LINUX 32/64bit) MAC OS 32/64bit (version: 1.5 – 2018/07/05) This driver is for MacOS Sierra/High Sierra.
Most new users find it difficult to get the USB drivers. Because Arduino Uno Clone does not use the same driver chip with Arduino Uno R3 Original. But don't worry, Srishti Robotics have provided two drivers.
Use the USB / Serial CH340 / CH341 Driver‘s Download:
Windows 32 bit : Download
Windows 64 bit : Download
Linux : Download
MAC : Download
USB Serial Driver CH 340 can be used for Windows XP / Win 7 / Wind 8. I try to use Windows 8.
If USB Serial Drivers are successful it will be visible in the Devices Manager of Windows
A fully signed drivers for Windows can be found below:
Sierra
(Added: October, 2016)
The Version 1.3 of the driver available on the vendor’s website causes a crash on Mac OS-X Sierra. Thankfully, Adrian Mihalko patched the driver, and made it available to the public.
- The updated and patched Sierra Mac Driver can be downloaded here — CH34x_Install_V1.3.zip (174 Kb).
El Capitan
(Added: Nov 22, 2015)
Many instructions down below were written for the old driver, which was not signed, and therefore was not working out of the box on OS-X Yosemite and El Capitan. The latest driver appears to be signed, and should work out the box. The new driver is here: CH34x_Install.zip (111Kb).
Ch340 Driver Install
Inside the driver is a brief README with the following instructions:
Driver README
Arduino Ch340 Driver Download
CH34X USB-SERIAL DRIVER INSTALLATION INSTRUCTIONS Version: V1.0 Copyright (C) Jiangsu Qinheng Co., Ltd. Support System: OSX 10.9 and above
Installation Process: * Extract the contents of the zip file to a local installation directory * Double-click CH34x_Install.pkg * Install according to the installation on procedure * Restart after finishing installing
After the installation is completed, you will find serial device in the device list(/dev/tty.wchusbserial*), and you can access it by serial tools.
If you can’t find the serial port then you can follow the steps below:
Download Usb Serial Ch340 Driver
- Open terminal and type ‘ls /dev/tty*’ ande see is there device like tty.wchusbserial;
- Open ‘System Report’->Hardware->USB, on the right side “USB Device Tree” there will be device named “Vendor-Specific Device” and check if the Current is normal. If the steps upper don’t work at all, please try to install the package again.
Note: Please enter System Preferences ➜ Security & Privacy ➜ General, below the title “Allow apps downloaded from:” you should choose the choice 2 ➜ “Mac App Store and identified developers” so that our driver will work normally.
Older Driver
This older version requires some hacking in order to get it to work. I am leaving instructions just in case someone needs it, or the new driver does not work for someone.
Download The Driver
There are two main sites that people mention in the discussions about the driver:
- Chinese company that developed it: http://www.wch.cn/downloads.php?name=pro&proid=178
- This driver appears newer than on the second link, and is from Dec 2013.
- Note: for me that site took a long long time to load, and then it took forever to download this tiny driver, so I put up a copy here CH341SER_MAC.ZIP (256Kb), so that you don’t have to wait. Hopefully they won’t go after me for mirroring their driver 🙂
- Second site is the Russian company that sells the USB programmer based on this chip: http://www.5v.ru/ch340g.htm but this site only has an older version of the driver, from 2012, so I do not recommend downloading it.
Pre-Installation
Note: the following pre-installation steps are only required on the two most recent versions of OS-X Yosemite and El Capitan. It is because the driver is not signed properly from Apple’s perspective. We are waiting on the developer to update the driver so that these pre-installation steps are no longer needed.
OS-X El Capitan Steps (Only For The Older Driver!)
These are not needed for the newer driver above.
- Reboot and press ⌘-R immediately after the chime to enter Recovery Mode
- Open Terminal from the recovery mode
- run the command
csrutil enable --without kext
- Reboot.
OS-X Yosemite Steps
- Open Terminal Application (it’s located in /Application/Utilities) and type this command once you see a prompt:
sudo nvram boot-args='kext-dev-mode=1'
- Reboot.
Installation
- Download the driver from here: CH341SER_MAC.ZIP (256Kb)
- Double click the ZIP file do unzip it
- Open the folder ~/Downloads/CH341SER_MAC
- Run installer found in that folder
- Restart when asked.
Ch341 Driver For Mac
Usage
If the driver properly loaded, you should see the device in you /dev folder (this is for advanced command-line users of OSX only). On my machine it was called /dev/cu.wchusbserial1441140
This port is showing up correctly in Arduino 1.0.6 and Arduino 1.5.8.
However, if you are using the Eclipse Plugin, it is not smart enough to list this port in the list of available serial ports (either in project properties, or in the serial monitor). You will have to type the entire thing yourself: /dev/cu.wchusbserial1441140
and then Eclipse can upload your sketch.
That’s it! You should be ready to use the drivers and the board.
References
Ch341 Driver Mac Mojave
Source:
http://kig.re/2014/12/31/how-to-use-arduino-nano-mini-pro-with-CH340G-on-mac-osx-yosemite.html