CH340 USB to ESP8266 Serial ESP-01 ESP-01S ESP01 ESP01S
Software
Example Web   ▶
This shows the web interface you would see after installation
By default, this program creates a WiFi network to let you access its internal configuration via browser, default values are:
wifi: ESP8266 'CHIPID (a number)'
pass: 12345678
If extreme security is concerned, you should change default values, before upload the firmware to your board. Either way you can change them from your browser after the first connection.
Once running, gateway configuration can be accessed through a web browser either by its already assigned ip
http://X.X.X.X/
or if connected through the Access Point
http://192.168.4.1/ (by default)
Now you can use your credentials to log in, defaults are:
user: admin
pass: admin
Note about connectivity: All ESP8266 are single channel modules, meaning that they use the same channel when acting as an Access Point and/or as a WiFi Client, resulting in disconnections, or a big latency, when you are connected to its Access Point and you configure the module to connect to another WiFi router which is in a different channel, then the module has to change it, but your network card still have to figure it out, sometimes it takes time, and sometimes it disconnects you, you can always reconnect, it is a common behaviour.
Setup Arduino IDE for development
This project runs on Arduino IDE, note that you can use any other framework you like. It is not difficult but you have to do one or two things in order to compile it.
Code is hosted in github.com, it is open source, feel free to be constructive, reporting bugs or making suggestions would be a great contribution :)
Download it and open:
ESP8266Basic/ESP8266Basic.ino
Change Sketchbook location under file --> preferences
If needed add additional boards under file --> preferences... I've been using:
http://arduino.esp8266.com/stable/package_esp8266com_index.json
Oldest tested version is v2.6.3. Latest tested version is 2.7.1 ... you can find it under tools --> Board --> Board Manager
Older versions don't work properly, newer versions are not tested.
Now select your board under tools --> Board (maybe not the same as the picture, chose yours)
It should now compile, upload it to your board and configure it using the web interface
That's it, I hope it is clear enough... if you have problems, feel free to ask any question
Related items
PULSARTRONIC.COM
copyright © 2019 - | pulsartronic.com | all rights reserved