Coder Social home page Coder Social logo

larryl79 / offgrid_datalogging Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ninguemrj/offgrid_datalogging

0.0 0.0 0.0 55 KB

I'm using a Arduino mega+ESP 01(wifi), to implement data logging acquiring data from my solar inverter and in a near future 16 temperature sensors for monitoring each lead acid battery temperature. My plans: Arduino will concentrate all data acquisition and send to a raspberry pi 3 running a webserver+PHP+mariaDB for dashboard. Still thinking on a cloud server to make a cell phone communication easier....

License: GNU General Public License v3.0

C++ 100.00%

offgrid_datalogging's Introduction

offgrid_datalogging

I'm using a Arduino mega+ESP01+RTC DS1307+SD Card shield, to implement data logging and automation project.

This code uses RS232 Serial commands to acquire energy data from my offgrid solar inverter.

In the future I will add 16 temperature sensors for monitoring the temperature of each lead acid battery from my battery bank (16 x 100Ah -- 24v x 800Ah).

My plans consider:

  1. Arduino MEGA
    • Concentrates all data acquisition (from inverter and other sensors);
    • Stores all data on SD CARD;
    • Sends all data to a webserver (checking in the SD CARD for non uploaded contents);
  2. Raspberry pi 3 or Cloud Server (running a webserver+PHP+mariaDB)
    • Receives the information from Arduino for storing on MariaDB;
    • Provides a webpage with dashboard information from MariaDB data.

STATUS: pre-alfa: testing communication with solar inverter, response time, parsing inversor feedback into meaningful variables

Special THANKS for the thread below, on Arduino forum, for all shared knowledge on communicating with solar Inverter, specialy for the user "athersaleem". https://forum.arduino.cc/t/rs232-read-data-from-mpp-solar-inverter/600960/36

Athersaleem´s youtube list with valuable information (Arduino Talking with Solar Inverter): https://www.youtube.com/watch?v=dlhsc_KjIM4&list=PLDW1zKN_tjaJDp-Ukz8KApchBgA60AFC_

TO DO LIST:

  1. function "askInverter":
    • Test the feedback string before returning the QPIGS response string (CRC check and size check -- create a "correct size" constant for each command)
    • Implement other commands between Arduino and inverter (check OUTPUT PRIORITY, and other useful info)
  2. create rules to activate OUTPUT PRIORITY as SOLAR or SBU (time rules, AC OUT LOAD rules and etc...)
  3. start to use SD Card for data logging (define data structure, not uploaded info and etc.)
  4. start to use wifi (when available) for data logging in the cloud (checking in the SD CARD for non uploaded contents)
  5. add 16 temperature sensors with ADS1115 ADC (15/16bits)

offgrid_datalogging's People

Contributors

ninguemrj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.