Sunday, January 10, 2021

Programming ESP8266 in Arduino IDE

ESP8266 are cheap Wi-Fi modules with wide variety of support for rapid development and the best part these module support programming using most popular IOT IDE - Arduino. This blog post is for beginner who as just started or looking to start programming with ESP8266 module.

I recently bought ESP8266 ESP-12F development board from Amazon https://www.amazon.com/gp/product/B076F52NQD. This kind of board has microusb to easily power and flash sketch to the board but the board usually uses cheap USB to serial module CH240g. It is little bit of tricky to install CH240g drivers on Windows10 because there are no default driver available for CH240g although CH240g has better driver support for linux OS. Follow below steps to setup your on windows 10

1. Download and run it to install drivers for 

CH240g. https://cdn.sparkfun.com/assets/learn_tutorials/8/4/4/CH341SER.EXE


2. After successful installation connect your PC with board using a micro-usb cable then open Device Manager and under ports make sure that you see USB-SERIAL CH340. 

2. Download and install Arduino IDE from windows store.

3. Goto File -> Preferences and add ESP8266 board manager urls in Adurino. 


4. Goto Tools -> Board Managersinstall esp8266 boards packages 


5. Now select Board







No comments: