ESP8266: Difference between revisions
Jump to navigation
Jump to search
(→Lua) |
(→Liens) |
||
| Line 29: | Line 29: | ||
=ESP8266 @ AIR= |
=ESP8266 @ AIR= |
||
* [[Python sur ESP8266]] |
* [[Python sur ESP8266]] |
||
=Outils= |
|||
==ESPTool== |
|||
<pre> |
|||
git clone https://github.com/themadinventor/esptool.git |
|||
cd esptool/ |
|||
./esptool.py -h |
|||
sudo ln -s /dev/tty.wch\ ch341\ USB\=\>RS232\ 1450 /dev/tty.USB0 |
|||
./esptool.py -b 115200 -p /dev/tty.USB0 flash_id |
|||
./esptool.py -b 115200 -p /dev/tty.USB0 chip_id |
|||
</pre> |
|||
=Liens= |
=Liens= |
||
| Line 35: | Line 50: | ||
* http://forum.arduino.cc/index.php?topic=267564.0 |
* http://forum.arduino.cc/index.php?topic=267564.0 |
||
* http://www.instructables.com/id/ESP8266-Wifi-Temperature-Logger/ |
* http://www.instructables.com/id/ESP8266-Wifi-Temperature-Logger/ |
||
* http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family |
|||
=Exemple de code pour [[Arduino]]= |
=Exemple de code pour [[Arduino]]= |
||
Revision as of 20:08, 25 February 2016
L' ESP8266 est un module Wifi très peu cher (5 USD) accessible par ligne série (https://espressif.com/en/products/esp8266/). Parmi les caractéristiques
- 802.11 b/g/n
- Wi-Fi Direct (P2P), soft-AP
- Integrated TCP/IP protocol stack
- Integrated low power 32-bit CPU could be used as application processor (80Mhz)
- SDIO 1.1/2.0, SPI, UART
Dans une utilisation simple, d'apporter une connectivité wifi par ligne série à tout équipement notamment les cartes à base de microcontrolleur comme: Arduino, Nucleo...
Le support récent dans un gcc modifié (http://hackaday.com/2014/10/02/gcc-for-the-esp8266-wifi-module/) permettra d'utiliser ce module de facon autonome.
- Firmware permettant la programmation en langage Lua: nodemcu
- Tutorial utilisant le firmware nodemcu pour réaliser capteur avec une interface web: ici.
Programmation
C
- [IDE Arduino + Addon https://learn.sparkfun.com/tutorials/esp8266-thing-hookup-guide/installing-the-esp8266-arduino-addon]
Lua
Python
ESP8266 @ AIR
Outils
ESPTool
git clone https://github.com/themadinventor/esptool.git cd esptool/ ./esptool.py -h sudo ln -s /dev/tty.wch\ ch341\ USB\=\>RS232\ 1450 /dev/tty.USB0 ./esptool.py -b 115200 -p /dev/tty.USB0 flash_id ./esptool.py -b 115200 -p /dev/tty.USB0 chip_id
Liens
- Brochage http://zeflo.com/wp-content/uploads/2014/09/esp8266_pinout_h-569x236.png
- http://www.seeedstudio.com/wiki/WiFi_Serial_Transceiver_Module
- http://forum.arduino.cc/index.php?topic=267564.0
- http://www.instructables.com/id/ESP8266-Wifi-Temperature-Logger/
- http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family
Exemple de code pour Arduino
Réécrit à partir de http://www.seeedstudio.com/wiki/WiFi_Serial_Transceiver_Module
Exemple de code pour STM32 Nucleo
TODO