describe database settings

This commit is contained in:
King Kévin 2017-01-21 20:53:27 +01:00
parent a3a2d61b1d
commit 2c60b0d0b2
1 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,7 @@ Connections LED (cathode) <-> board (all LED anodes are connected to the +3.3V r
ESP8266
-------
The ESP-01 WiFi module (based on the ESP8266 chip) is used to join the local network, connect to an influxDB database using HTTP, and store the measurement values gathered from the electricity meters.
The ESP-01 WiFi module (based on the ESP8266 chip) is used to join the local network, connect to an InfluxDB database using HTTP, 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:
@ -53,6 +53,9 @@ 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.
Once all measurements from all meters have been collected, the firmware will connected to the InfluxDB database to submit the values using and HTTP POST request.
The hostname, port, database name, user name, and password are hard coded in `main.c`.
Connections ESP-01 <-> board:
- GND, pin 1; ground