Giter Club home page Giter Club logo

solarbatcontrol's Introduction

SolarBatControl

A relay battery controller runnning on a cheapo esp8266 relay board using Shelly3EM to measure grid power and control battery charge/discharge accordingly.

This project need a Shelly 3EM ($110), a batery capable 150W grid tie inverter (Y&H $30) and a 30V 5A DC charger ($50). It runs on a esp8266 4-relay board ($8). And you need a battery, i use 24V 30ah LiFePo4.

schematic.png

The 2 black resistors are a voltage divider to measure battery voltage. They transform 30V into 1V, 30k and 1k if i remember correctly, and there is a 100uf C over the adc line which i forgot to draw. The 10 ohm resistor pre-charges the inverter condensers. Not optional. The two discharge relais are in parallel because the current can exceed the relais specs. The battery can be charged with a solar charger. Connect directly to batery not over DC-charger pin.

Function: The device produces 150W or consumes 150W in order to flatten out the energy consumption / production.

Untitled.png

If shelly reports more than 200W solar excess the DC charger is activated. The charger is switched off if less than 10W excess solar. If shelly reports more than 200W consumption the inverter is switched on. Switched off at less than 10W consumption, or battery low. Those levels are settable in "config".

The communication relay - shelly is WiFi. The relay board has its own webserver showing the graph of battery voltage and energy consumption.

This is how it handles my airfryer: airfryer.png

This is the settings page: Unti232tled.png

solarbatcontrol's People

Contributors

pepethefroggie avatar

Stargazers

 avatar

Watchers

 avatar  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.