IOT : Using ESP8266 Programmer CH340G Chip Adapter-PART 1

I recently bought this ESP8266 WiFi module (ie ESP-01) for my IOT project. This is a self contained chip and can be programmed to do the respective tasks. To ease out the task of programming, I bought this ESP-01 ESP8266 Programmer CH340G Chip USB WiFi Wireless UART GPIO0 Adapter.

Please read my tutorial series on IOT.

ESP Programer

So lets get started !

Part 1: [Installing Drivers]

1.  This Programmer Adapter is build around CH340 chip which usually needs to install the following drivers on a computer.

  • Unzip the folder.
  • If you are running a 64Bit Windows: – run the SETUP_64.EXE installer.
  • If you are running a 32Bit Windows: – run the SETUP_32.EXE installer.

2. Connect the ESP-01 (as shown) to the programmer and plug it into the USB.


3. Install the Drivers


After restarting the PC, the device will be ready to go.

Part 2 : [Setting Arduino Software]

1. Download the latest arduino Software.

2. We need to Install ESP board in Arduino Software

Open up Arduino, then go to the Preferences (File > Preferences).

Then, towards the bottom of the window, copy this URL into the “Additional Board Manager URLs” text box:


3.  Hit OK. Then navigate to the Board Manager by going to Tools > Boards > Boards Manager. There should be a couple new entries in addition to the standard Arduino boards. Look for esp8266. Click on that entry, then select Install.


4. The board definitions and tools for the ESP8266 include a whole new set of gcc, g++, and other reasonably large, compiled binaries, so it may take a few minutes to download and install (the archived file is ~170MB). Once the installation has completed, an Arduino-blue “INSTALLED” will appear next to the entry

5. Select the Generic ESP 8266 Module Board.


6. Set the Upload Speed and CPU Frequency.



7. Select the device port. (Device should be connected to the PC)


8. To test the ESP8266, open up serial monitor (Ctrl + Shift + M)


9. Set baud rate to : 115200 baud
and Both NL & CR
with AutoScroll

10. Type AT command in the serial monitor and click enter. If you see an OK message, you are good to go.

11. You can find the complete set of AT commands here.

Bonus :

Out of them, here are my noted ones.

AT                       // Test if AT system works correctly

AT+GMR            //Print firmware version

AT+ CWLAP        // List of all available wifi

AT+CWMOD=1    //wifi mode
//1 = Station mode (client)
//2 = AP mode (host)
//3 = AP + Station mode (Yes, ESP8266 has a dual mode!)

ATE1  / ATE0       // Enable or Disable echo

AT+CWJAP=”my-test-wifi”,”1234test”    // Connect to a wifi

AT+CWQAP         //Disconnect from the wifi


Caution :

  • The ESP8266 chip requires 3.3V power supply voltage. It should not be powered with 5 volts like other arduino boards.
  • The I/O pins of ESP8266 communicate or input/output max 3.3V only. i.e. the pins are NOT 5V tolerant inputs.

Please read my tutorial series on IOT.


2 thoughts on “IOT : Using ESP8266 Programmer CH340G Chip Adapter-PART 1

  1. Just got CH340 and ESP01 and neither came with instructions saying which way to plug them together or pin markings to infer it from.


    1. You’d need to create a button for the CH340 if it looks like the one under Part 1 (2). The button should be a momentary switch between GPIO1 and GND. Press it temporarily while plugging the USB in (about 1 second) then let go of the button. This will let you upload firmware into the ESP.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s