Skip to content

Driver Installation

H9Crawler edited this page Apr 24, 2026 · 1 revision

πŸ”§ Driver Installation

Before you can flash or communicate with your ESP8266 board, your computer needs the correct USB-to-Serial driver installed. Without it, the board won't show up as a COM port.


πŸ“‹ Table of Contents


πŸ” Identify Your Chip

Most ESP8266 boards use one of two USB-to-Serial chips. Look at the small IC component near the USB port on your board β€” it will be labeled either CP2102 or CH340G.

NodeMCU Serial Module Types

πŸ”΅ CP2102 🟒 CH340 / CH341
Slim, black chip labeled CP2102 Chip labeled CH340G or CH341
Common on NodeMCU v1, DSTIKE boards Common on NodeMCU v3 (Lolin), Wemos D1 Mini, cheap clones
Made by Silicon Labs Made by WCH

Linux permission fix β€” if Arduino IDE can't access the port, run:

sudo usermod -a -G dialout $USER

Then log out and log back in for the change to take effect.


βœ… Verify Installation

After installing the driver and reconnecting your board:

Windows

  1. Press Win + X β†’ Device Manager
  2. Expand Ports (COM & LPT)
  3. Look for CP210x or CH340 β€” note the COM number (e.g. COM3)
  4. Open your flasher or Arduino IDE and select that COM port

macOS / Linux

  1. Open Terminal and run:
ls /dev/cu.*        # macOS
ls /dev/ttyUSB*     # Linux
  1. Your board should appear in the list
  2. Select it in Arduino IDE under Tools β†’ Port

🩺 Still Not Detected?

  • πŸ” Try a different USB cable β€” many are charge-only with no data lines
  • πŸ”Œ Try a different USB port on your computer
  • πŸ”„ Restart your computer after driver installation
  • πŸͺŸ On Windows, check Device Manager for any ⚠️ unknown devices and update driver manually
  • πŸ” If you see the device but it has an error β€” uninstall the device in Device Manager, unplug, then reinstall the driver fresh

πŸ“– More help β†’ Troubleshooting


➑️ Next Steps

Driver working? Time to flash! β†’


<div align="center">

🌐 haybnz.web.app Β Β·Β  πŸ™ GitHub Β Β·Β  πŸ“– Home

</div> # πŸ”§ Driver Installation

Before you can flash or communicate with your ESP8266 board, your computer needs the correct USB-to-Serial driver installed. Without it, the board won't show up as a COM port.


πŸ“‹ Table of Contents


πŸ” Identify Your Chip

Most ESP8266 boards use one of two USB-to-Serial chips. Look at the small IC component near the USB port on your board β€” it will be labeled either CP2102 or CH340G.

NodeMCU Serial Module Types

πŸ”΅ CP2102 🟒 CH340 / CH341
Slim, black chip labeled CP2102 Chip labeled CH340G or CH341
Common on NodeMCU v1, DSTIKE boards Common on NodeMCU v3 (Lolin), Wemos D1 Mini, cheap clones
Made by Silicon Labs Made by WCH

πŸ’‘ Not sure? Try the CH340 driver first β€” it's more common on budget boards. If that doesn't work, try CP2102.


πŸ”΅ CP2102 Driver β€” Silicon Labs

πŸ“₯ Download

πŸ–₯️ OS πŸ”— Link
Windows [Silicon Labs β€” CP210x VCP Drivers](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers)
macOS [Silicon Labs β€” CP210x VCP Drivers](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers)
Linux βœ… Built-in β€” no install needed

πŸͺŸ Windows Installation

1. πŸ“₯ Go to the [Silicon Labs driver page](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers) and download the CP210x Windows Drivers .zip

2. πŸ“‚ Extract the .zip file

3. ▢️ Run CP210xVCPInstaller_x64.exe

Use CP210xVCPInstaller_x86.exe if you have a 32-bit version of Windows

4. βœ… Follow the installer prompts and complete installation

5. πŸ”Œ Unplug your board and plug it back in

6. Open Device Manager β†’ expand Ports (COM & LPT) You should see:

Silicon Labs CP210x USB to UART Bridge (COM3)

The COM number may differ β€” that's normal.

🍎 macOS Installation

1. πŸ“₯ Download the macOS driver from the Silicon Labs page

2. πŸ“‚ Open the .dmg and run the installer package

3. βš™οΈ Go to System Preferences β†’ Security & Privacy β†’ General and allow the driver if prompted

4. πŸ”„ Restart your Mac

5. πŸ”Œ Plug in your board β€” it should now appear in Arduino IDE under Tools β†’ Port


🟒 CH340 / CH341 Driver β€” WCH

πŸ“₯ Download

πŸ–₯️ OS πŸ”— Link
Windows [WCH β€” CH341SER.EXE](https://www.wch-ic.com/downloads/CH341SER_EXE.html)
macOS [WCH β€” CH341SER MAC ZIP](https://www.wch-ic.com/downloads/CH341SER_MAC_ZIP.html)
Linux βœ… Built-in (kernel 2.6+) β€” no install needed

πŸͺŸ Windows Installation

1. πŸ“₯ Download CH341SER.EXE from the [WCH download page](https://www.wch-ic.com/downloads/CH341SER_EXE.html)

2. ▢️ Run the downloaded file

3. Click INSTALL in the installer window

4. βœ… Wait for the Driver install success! confirmation message

5. πŸ”Œ Unplug your board and plug it back in

6. Open Device Manager β†’ expand Ports (COM & LPT) You should see:

USB-SERIAL CH340 (COM4)

The COM number may differ β€” that's normal.

🍎 macOS Installation

1. πŸ“₯ Download the .zip from the WCH macOS link above

2. πŸ“‚ Extract and open the .pkg installer

3. βš™οΈ Go to System Preferences β†’ Security & Privacy β†’ General and allow the extension if blocked

4. πŸ”„ Restart your Mac

5. πŸ”Œ Plug in your board β€” it should appear under Tools β†’ Port in Arduino IDE


πŸ–₯️ Linux & macOS Notes

🐧 Linux 🍎 macOS
CP2102 β€” built into kernel, no install needed May need to approve driver in Security & Privacy settings
CH340 β€” built into kernel 2.6+, no install needed Restart required after install
Board appears as /dev/ttyUSB0 or /dev/ttyUSB1 Board appears as /dev/cu.usbserial-XXXX

Linux permission fix β€” if Arduino IDE can't access the port, run:

sudo usermod -a -G dialout $USER

Then log out and log back in for the change to take effect.


βœ… Verify Installation

After installing the driver and reconnecting your board:

Windows

  1. Press Win + X β†’ Device Manager
  2. Expand Ports (COM & LPT)
  3. Look for CP210x or CH340 β€” note the COM number (e.g. COM3)
  4. Open your flasher or Arduino IDE and select that COM port

macOS / Linux

  1. Open Terminal and run:
ls /dev/cu.*        # macOS
ls /dev/ttyUSB*     # Linux
  1. Your board should appear in the list
  2. Select it in Arduino IDE under Tools β†’ Port

🩺 Still Not Detected?

  • πŸ” Try a different USB cable β€” many are charge-only with no data lines
  • πŸ”Œ Try a different USB port on your computer
  • πŸ”„ Restart your computer after driver installation
  • πŸͺŸ On Windows, check Device Manager for any ⚠️ unknown devices and update driver manually
  • πŸ” If you see the device but it has an error β€” uninstall the device in Device Manager, unplug, then reinstall the driver fresh

πŸ“– More help β†’ Troubleshooting


➑️ Next Steps

Driver working? Time to flash! β†’


🌐 [haybnz.web.app](https://haybnz.web.app/) Β Β·Β  πŸ™ [GitHub](https://github.com/h9zdev/EthiFi) Β Β·Β  πŸ“– Home