ESP8266 without Arduino board
After searching the web during 3 days and struggling with uploading any code into my ESP-01, I finally succeeded with the Blink example and then the ESP8266 Webserver/simple authentication example.
The objective was to flash the ESP-01 using Arduino IDE, using the GPIO (0 & 2) to connect sensors and so on. There are so many ressources to read, some very old and nothing up to date regarding the new versions of Arduino IDE, ESP8266 board manager, etc and not so about Mac OS users…
Took me too much time to get a nice result, thus do not hesitate to contact me if you have any questions I can answer.
You’ll need :
- ftdi basic program downloader usb-ttl 3.3 / 5v ft232 (ESP-01 works on 3.3V !!!), need a driver you can easily find on the net for USB serial. If no FTDI, you can use your Arduino Uno board;
- jumper wires;
- press button (reset & flash mode);
- Arduino IDE (I used v1.6.9 and ESP8266 board manager v2.3.0 rc2 as staging version);
Here are a few links that really helped with checked and true information:
- http://www.instructables.com/id/ESP8266-mini-Tutorial/?ALLSTEPS
- https://hackaday.io/project/5150-arduino-ide-for-esp8266-quickstart-guide
- Technical data : https://nurdspace.nl/ESP8266
- http://www.labradoc.com/i/follower/p/notes-esp8266
- https://github.com/esp8266/esp8266-wiki/wiki/Uploading
- http://www.pinon-hebert.fr/Knowledge/index.php/Esp8266
- http://randomnerdtutorials.com/esp8266-web-server-with-arduino-ide/
The last hint is to have the good rhythm when uploading, reset your ESP just before, not too early, not too late (a bit tricky, give it many try!).
I posted an example to light a red led via GPIO 2 on my github, check the following link:
P.S : once you’ve flashed your module, AT commands won’t be usable anymore! If you want step back, you’ll need to flash with AT Firmware according to the chip of your ESP (check Espressif and ElectroDragon sites).
ESP8266 without Arduino board par MadeInFck est sous Licence Creative Commons Internationale Attribution-Pas d'utilisation Commerciale-Partage à l'identique 4.0 .