An arduino code that reads Current Transformer (CT sensor) data, SRNE Mppt controller data, and SNAT PSW inverter. The data collected will be transmit to a HTTP server via POST with a CSV formatted data. The device used in this project is Wemos D1 mini.
Please refer to the screenshots below.
- Solar and Energy Datalogging
- Diagnostics
- Consumption Analysis
- CT Sensor
- SRNE Mppt Controller
- SNAT PSW Inverter
- ArduinoEnergyLogger.ino - main file
- analog.h - support file for ct sensor reading (based on emon) [Edit cpp/h].
- display.h - support file for displaying data via OLED [Edit cpp/h].
- post.h - support file for posting data to a HTTP server IoT.
- srne.h - support file for extracting data from a srne mppt controller.
- snat.h - support file for extracting data from a snat psw inverter.
- webserver.h - support file for the device webserver, used for wifi and device configurations/informations [Edit cpp/h].
- utils.h - helpers.
- hardware - directory of hardware design eagle files
- screeshot - directory of images used for README
CT sensor Wemos D1 mini
divider circuit --------- ADC0 (A0)
(2 x 100k ohms and 10uF)
SRNE Wemos D1 mini
Rx ---------------------- D7
Tx ---------------------- D8
SRNE Wemos D1 mini
Rx ---------------------- D5
Tx ---------------------- D6
- Still in beta test
- Device mass production