Sketch for the OpenEnergyMonitor EmonTX Arduino Shield which monitors input CT1 & a single DS18B20 temperature probe and sends the data to an EmonCMS server via an Huzzah ESP8266 WiFi module instead of using the more traditional RFM69CW RF Module. The ESP8266 is running the EmonESP firmware.
Authored By: Martin Sidgreaves Part of the openenergymonitor.org project Licence: GNU GPL V3
Builds upon the OneWire, Emonlib & DallasTemperature libraries and Arduino
OpenEnergyMonitor: http://openenergymonitor.org/
emonTx documentation: http://openenergymonitor.org/emon/modules/emontxshield/
emonESP Firmware: https://github.com/openenergymonitor/EmonESP
Libraries in the standard arduino libraries folder:
-
EmonLib - https://github.com/openenergymonitor/EmonLib.git
-
DallasTemperature - https://github.com/milesburton/Arduino-Temperature-Control-Library
Also included in the '3D Printed Enclosure' folder is a .STL file and the original Fusion 360 file for an enclosure I designed to house the Arduino & Shield. The hole in the side was incorporated to allow for a DS18B20 probe to be added.
Connections between EmonTX & ESP8266
emonTX Shield UART Header Pin -> Huzzah ESP8266 UAT Header
GND -> GND
5v -> V+
Rx -> Rx
Version :: v1.0.2