From 4db6a2b455c6eb0522b122c3d8569c88fc190d9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Thu, 19 Jan 2017 13:30:23 +0100 Subject: [PATCH] add ESP-01 connection description --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 5a0d23e..e31efb7 100644 --- a/README.md +++ b/README.md @@ -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 ====