Exposure unit
for expose PCB by UV light
BananaPi sigle board computer
Banana Pi is an open source hardware project lead by GuangDong BiPai technology co., LTD.
Radiation monitor with BananaPi Zero.
Screenshot of Grafana data interpretation of radiation meter
Load dependent speed controller of the mini drill
The basic equipment of every electrical engineering or model maker's workshop
DPS with soldered components
view of the mounted printed circuit board exported from CAD
Reflow oven
for soldering SMD prited circuits board
Reflow oven
also suitable for drying solid materials
RC433 for HomeAsistant
remote controler for garage door from HomeAssistant
LK-20 power source
Two independent power source for your laboratory
Internet radio and buzzer
Volumio media player with automatic brightness control
LK-29 smart meteo station
meteo station with radiation measurement

Solution to the problem with ESP modules using the CH340 chip

        

 With modules equipped with the CH340 chip. This chip serves as a converter between the serial interface and USB.

      Very often we can encounter this chip on modules of Chinese manufacture; in my case, it is quite regularly on products based on popular processors from the company Espressif Systems ESPxx.

      I encounter a problem with the driver of this chip with complete regularity after connecting to the PC. We will illustrate this problem and its solution using the ESP8266 module, which is equipped with the aforementioned CH340 chip, in the Windows 10 environment.

      

After connecting this module to the PC, the computer automatically detects the CH340 chip and installs the appropriate driver from its repository – in my case, this is version 3.8.2023.2. You can find the CH340 driver available for download in the download section. Extract the downloaded file from the archive and run it. A dialog box will appear; to install, click the INSTALL button. After a successful driver installation, the error message in the terminal window will no longer appear.

When attempting to initiate communication with the ESP8266 module via the serial port – in my case COM3 – an error about the serial port being unavailable appears in the terminal window:

Unable to connect to COM3: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31) If you have serial connection to the device from another program, then disconnect it there first.

Process ended with exit code 1.

 

Now your Windows is able to communicate via the serial line with the ESP processor.

You can verify whether you have the correct version of the driver for the respective serial port in the hardware properties dialog box.

 

 

All the necessary files for "updating" the driver for the CH340 chip can be downloaded in the download section  .

Related Articles

Copyright © Free Joomla! 4 templates / Design by Galusso Themes