Table of Contents
CH340 Driver Download
CH340 is the most common USB-to-TTL chip. Below is the driver download and installation guide for all platforms.
Chip Introduction
CH340/CH341 is a USB-to-serial chip produced by Nanjing Qinheng:
Features:
- Low cost
- Good stability
- Supports Windows, macOS, Linux
- Transfer rate up to 2Mbps
Common Applications:
- USB-to-TTL modules (e.g., common “CH340 module” on the market)
- USB-to-232 serial
- Arduino compatible boards (e.g., some domestic Arduino replacement boards)
Windows Driver
Official Driver Download
Download: https://www.wch.cn/downloads/CH341SER_ZIP.html
Includes:
- CH340 driver (USB to TTL)
- CH341 driver (USB to parallel/print port)
Installation Steps:
- Download and extract the driver package
- Run SETUP.exe installer
- If a driver installation prompt appears, select “Always install this driver software”
- After installation, Device Manager will show a “USB-TTY” port
Device Manager Confirmation
- Right-click “This PC”
- Select “Manage” → “Device Manager”
- Expand “Ports (COM and LPT)”
- Should display a device similar to “USB-TTY (COM3)”
- Remember the COM port number (used in PuTTY and other software)
Common Issues
Driver installation failed
- Windows 10/11 usually auto-install
- For manual installation, select “From a list of available drivers on this computer”
- If signature issues occur, need to disable driver signature enforcement
Port number too high
- COM number over 10 may not be visible in some software
- Can manually modify COM number in Device Manager
- Right-click port → Properties → Port Settings → Advanced → COM Port Number
macOS Driver
Official Driver Download
Download: https://www.wch.cn/downloads/CH341SER_MAC_ZIP.html
Supported macOS versions:
- macOS 10.15 (Catalina)
- macOS 11 (Big Sur)
- macOS 12 (Monterey)
- macOS 13 (Ventura)
- macOS 14 (Sonoma)
Installation Steps
- Download and extract the driver package
- Double-click CH341SER_MAC.pkg
- Follow prompts to complete installation
- If “System extension blocked” appears, go to System Preferences → Security & Privacy → Allow
Verification After Installation
# Check if recognized ls /dev/tty.wchusbserial* # Or ls /dev/cu.wchusbserial*
Common Issues
System extension blocked prompt
- System Preferences → Security & Privacy
- Click lock icon in bottom left to unlock
- Allow “System software from WCH.cn”
- Re-insert USB device
Homebrew Installation
# Install using Homebrew (recommended) brew install ch341eeprom brew install ch340eeprom
Linux Driver
Built-in Support
Linux kernel has CH340 driver built-in, usually no additional installation needed.
Verify Driver Loading
# Check kernel module lsmod | grep ch341 # View device dmesg | grep ch341 # Should display similar to: # ch341 3-1:1.0: ch341-uart converter now attached to ttyUSB0 # View device file ls -l /dev/ttyUSB0
Permission Settings
# Add current user to dialout group sudo usermod -a -G dialout $USER # Effective after re-login, or use immediately newgrp dialout # Or directly modify device permissions (temporary) sudo chmod 666 /dev/ttyUSB0
Manual Driver Compilation
If kernel does not have built-in driver, compile manually:
# Download driver source git clone https://github.com/WCHSoftGroup/ch34x_linux # Compile cd ch34x_linux make # Install sudo make install # Load driver sudo insmod ch34x.ko
Driver Version Query
Windows Version
- Right-click “USB-TTY” device
- Properties → Driver → Driver Details
- View ch341.sys version
macOS Version
# View system extensions kextstat | grep ch341 # Or view driver info cat /Library/Extensions/wch.cn-ch34xSerial.kext/Contents/Info.plist | grep -i version
Chip Model Identification
CH340 and CH341 look similar but have slightly different functions:
| Chip | Function | Common Module |
|---|---|---|
| CH340G | USB to TTL | 3.3V/5V TTL module |
| CH340C | USB to TTL, built-in crystal | Miniaturized module |
| CH341A | USB to parallel/SPI | Programmer module |
Identification Method:
- Check the silkscreen on the chip
- CH340 series has “CH340” printed
- CH341 series has “CH341” printed