add ESP-01 connection description

This commit is contained in:
King Kévin 2017-01-19 13:30:23 +01:00
parent 20cd04f073
commit 4db6a2b455
1 changed files with 13 additions and 0 deletions

View File

@ -45,6 +45,8 @@ peripherals
ESP8266
-------
The ESP-01 WiFi module (based on the ESP8266 chip) is used to join the local network, connect to the influxDB database on the SBC, and store the measurement values gathered from the electricity meters.
AT firmware v0.51 from the espressif NONOS SDK 1.5.0 has been used for this project.
Be sure to have configured the module to connect to the right access point beforehand using the following AT commands:
@ -54,6 +56,17 @@ Be sure to have configured the module to connect to the right access point befor
When booting the micro-controller will reset the device and wait until the module connects to the access point and gets an IP.
Connections ESP-01 <-> board:
- GND, pin 1; ground
- TX, pin 2; PA10, USART1_RX
- GPIO2, pin 3; not connected
- CH_PD, pin 4; pull-up resistor
- GPIO0, pin 5; not connected
- RST, pin 6; pull-up resistor
- RX, pin 7; PA9, USART1_TX
- VCC, pin 8; +3.3V (add a large capacitor to cope with power spikes)
code
====