[Tuto] Programmer une esp8266 avec un RPI
Publié : 18 déc. 2015, 08:32
http://www.extragsm.com/blog/2014/12/03 ... pberry-pi/
Code : Tout sélectionner
Summary:
1) Connect raspberry to use the esp as a "modem".
esp: Raspberry pi:
vcc and CH_PD -> Pin1 (3.3v)
GND -> Pin9 (GND)
TX -> Pin10 (GPIO 15)
RX -> Pin8 (GPIO14)
Disable serial port login (remove from /etc/inittab the line with ttyAMA0
Disable serial port bootup messages (remove from /boot/cmdline.txt all parameters with ttyAMA0
Reboot.
Connect with minicom -b 115200 -o -D /dev/ttyAMA0
2) Upload new firmware:
Get http://www.extragsm.com/blog/wp-content/uploads/2014/12/webserver.zip
Connect GPIO00 to GND. (!!!)
python esptool.py --port AMA0 write_flash 0x00000 firmware/0x00000.bin 0x40000 firmware/0x40000.bin 0x12000 webpages.espfs
Git Repository: https://github.com/dubaurazvan/esp8266-wireless-switcher