I recommend to install the ESP8266 v.2.7.4 package version which is known to work well. You can do this in the Arduino Board manager > Search “esp8266” > select v.2.7.4 > install:
![image](https://ubidots.com/community/uploads/default/optimized/2X/9/9b5cff3b6b314f424042a91a4697db75ec696e78_2_690x390.png)
-CH340 (ใช้ใน Arduino Compatible, NodeMCUV3, Wemos D1 mini) : https://www.wemos.cc/en/latest/ch340_driver.html
-CP210X (ใช้ใน NodeMCU V2) : https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers
![](http://smartfarm.rmuti.net/wp-content/uploads/2023/01/image-5-1024x713.png)