≡
Latest macOS Sierra/High Sierra -compatible driver for devices using the CH340G, CH34G or CH34X chipset. This chipset is used in several Arduino-compatible clones and serial-to-USB cables. Do not install if you have the current macOS Mojave 10.14 or later. MacOS Mojave 10.14 (released in October 2018) includes a CH34x driver by Apple. Please peruse this article thoroughly before you update your Mac’s current OS to macOS Mojave 10.14 so that you will not miss out on any important information that you may require. We are so happy that we got the opportunity to be able to help you through this article.
PagesFavoritedFavorite8Mac OSX
Ch340 Driver Mac Os Mojave Windows 10
Open the Terminal program by selecting Go >Applications.
Select and open the Terminal program under Applications >Utilities >Terminal.
If you are still unsure of how to access the Terminal, watch this video or read this Apple support article.
You'll need to move to the directory where the *.kext files are stored.
For Mac OSX v10.9+, you will need to use this command:
For Mac OSX v10.8 and below, you will need to use this command:
In this case, we will be using Mac OSX v10.13, so we will need to use the first command.
To check to see if the CH340 driver is in the correct path, use the following command to list the contents of the folder.
To look for CH340 driver files (i.e. usb.kext or usbserial.kext) in the path, you could use the following command.
You should see something similar to the output below after using the commands.
If you have found the file in the path, you will need to run each of the following commands in the CLI/Terminal to remove old CH340 drivers. In this case, there was only the usbserial.kext file but it does not hurt to run both commands. Make sure to have administrative privileges to ensure that the drivers are removed.
Check if the old drivers were removed in the paths by using the ls
command with your respective OS version. You will notice that the *.kext file is removed from the respective paths. In this case, the usbserial.kext was removed from Mac OSX High Sierra.
Download and extract the folder.
Then, open the '*.pkg' file from the unzipped folder and follow the instructions. You'll need to restart your computer for the changes to take effect.
Mac OSX CH340 Driver Installation File
Heads up! Depending on your settings, you may need to adjust yourMac-usb-serial.com - MacOS Drivers For CP2102 / CH340 / CH341 ...
Security & Privacy settings to allow the CH340 drivers to function. A window may pop up indicating that the drivers have been block as shown in the image below.If you receive a window that indicates that the system extension is blocked, you'll need to open a search with Spotlight by pressing ⌘ (Command) + space bar (Space Bar). Type Security & Privacy and click on the 'Allow' button to enable the CH340 drivers.
Driver Verification for Macs
To verify that your driver is working, you should see a difference in the following pictures after plugging the CH340 to a USB port.
Command Line
Open the Terminal by heading to Applications >Utilities >Terminal if the program is not open yet.
If you are still unsure of how to access the Terminal, watch this video or read this Apple support article.
Then run the following command:
A list of devices connected to your Mac's COM ports will be displayed as a result. Assuming that the CH340 is not connected to your computer, you should see something similar to the image below.
Connect the CH340 to one of your Mac's COM ports. Check for the following changes (your board may show up under a different device name). The CH340 should show up as /dev/cu.wchusbserial*****. Depending on your computer, the COM port may show up as a different number.
Arduino IDE
Alternatively, if you have the Arduino IDE installed, you should also see a change in the number of available COM Ports (you may need to restart the Arduino IDE for the board to populate). Without the CH340 connected to your computer, click on Tools >Port. Take note of the Serial Ports available.
Connect the CH340 to your computer's USB port. Click on somewhere else on the screen for the menu to refresh itself. Then head back to the menu by clicking on Tools >Port. A new COM port should pop up. By process of elimination, the CH340 should have enumerated to the new COM port! Feel free to click on the COM port to select if you are uploading code to a microcontroller. Depending on your computer, the COM port may show a different number.
Serial Loop Back Test
You can also verify if the USB-to-serial converter is working by doing a serial loop back test or echo test. If you are using the breakout board, you can add a jumper between the Tx and Rx to try and echo a character in a terminal program. For more information, try checking out the Hardware Test for the serial basic hookup guide.
- July 8, 2019
0
Clone Arduino & driver chip CH340, CH340G, CH341
Category : RESOURCES
The CH340/CH341 chip is used by a number of Arduino compatible cards to provide USB connectivity.
Many operating systems do not recognize these chip natively because they lack the drivers and consequently we have an error due to lack of drivers.
The lack of this driver does not allow you to communicate with the hardware platforms and to use the Arduino development software.
No panic, driver installation is very easy!
The driver must be downloaded from the official (Chinese) website.
Once the unzip of the package has been executed, it is possible to proceed with the update of the driver for the device CH340/CH341 and equivalent (download driver only for your OS):
WINDOWS 32/64bit (version: 3.4 – 2016/09/27)
Drivers in the Windows OS are missing, you need to download and install them.
LINUX 32/64bit (version: 1.5 – 2018/03/18)
The drivers are integrated into different Linux distributions. If the device is not recognized, download the Linux CH340/CH341 driver.
MAC OS 32/64bit (version: 1.5 – 2018/07/05)
This driver is for MacOS Sierra/High Sierra. Do not install the drivers for the Mojave, because it seems that the latest versions are equipped with the built CH340/CH341 support.
Installation
• Unplug any CH34* devices.
• Unload the old drivers if running:
• sudo kext unload /Library/Extensions/usbserial.kext
• sudo kext unload /System/Library/Extensions/usb.kext
• Remove the old driver by issuing one of the following commands (depending on your installation):
• sudo rm -rf /System/Library/Extensions/usb.kext
• sudo rm -rf /Library/Extensions/usbserial.kext
• Double-click on the CH34x_Install_V1.3.pkg file and install (no need to reboot)
• Instead of rebooting, you can force quit Installer after it completes.
• Load the new driver:
• sudo kextload /Library/Extensions/usbserial.kext
• Plug in your device. It should now be listed under the /dev directory. Examples:
• /dev/cu.wchusbserial1410
• /dev/cu.wchusbserial1420
ANDROID (version: 1.5 – 2018/03/18)
Enjoy!