I googled “CP1201 USB to UART drivers” and found the drivers here. Right click on the CP120x USB Composite Controller (it has a tiny yellow caution symbol) under Other Devices. It is the CP120x USB to UART Bridge Controller chip. There you will find the USB controller that exists on your ESP8266-12E board. To install the drivers, open the Window's Control Panel and clicked on the Device Manager. By default Windows could not find the drivers and kept on looking and looking and looking. When I first hooked the ESP8266-12E to the computer the “New device found - installing drivers” message showed up. I have a Windows 7.0 laptop that I used to test and program the ESP8266-12E. I had some spare micro USB data cables sitting around and found one that worked.įrom this step onward make sure your ESP8266-12E is securely connected to your computer. That did not work because it is not a data cable. I tried connecting the micro USB cable that came with my android charger. The ESP8266-12E boards arrived in an anti-static bags. The on-board USB to UART makes interfacing with computers a lot simpler. It comes with the necessary circuitry to manage the voltages. There are several benefits of using this development board rather than the module, the chief among them is - being able to use it right out of the box. More about the programming of the Motor Drive Expansion Board in a later instructable.įor the purpose of this instructable you only need the NodeMcu Lua ESP8266 ESP-12E WIFI Development Board. It was cost effective to buy the ESP8266-12E board with the Motor Drive Expansion Board. *-HTML Page Code-*//Ĭlient.I bought the NodeMcu Lua ESP8266 ESP-12E + WiFi Motor Drive Expansion Board from a supplier in China. String request = client.readStringUntil('\r') Serial.println("Waiting for new client") Serial.print("Copy and paste the following URL: // Will print IP address in URL format Serial.print("IP Address of network: ") // will IP address on Serial Monitor Serial.print("Connecting to the Newtork") Int LED = 2 // led connected to GPIO2 (D4) Also, check our previous article for creating webserver using ESP32.Ĭonst char* ssid = "Wi-Fi Name" // Your Wi-Fi NameĬonst char* password = "Password" // Wi-Fi Password Like this, you can also control Home appliances from anywhere in the world using ESP8266 webserver. This is how you are successfully able to create a webserver and control LED from the webpage. Then open the browser and copy the IP address from serial monitor and you will find the following webpage.įrom this webpage, you can control your LED and you can see on serial monitor as well what happening on the background. Now open your serial monitor and press reset button of your ESP8266 and now your ESP starts connecting to your network, once connected it will give you IP of this ESP. If your program run successfully your serial monitor will look like this:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |