Fork me on GitHub

Battery Size Calculator
Calculate the size battery you need for a certain runtime

Formula: Battery Ah - Watts of the load multiplied by the required runtime multiplied by the DoD devided by the desired battery voltage multiplied by the efficiency of the inverter.

If you have a 100 watts 42" TV and a 12V 7ah battery lying around and a UPS for example, then you can work out the runtime using the calculator below.

Reset Calculator

Time Conversion Table

Hours Minutes Total Minutes
1 0 60
1 30 90
2 0 120
2 30 150
3 0 180
3 30 210
4 0 240
4 30 270
5 0 300
5 30 330
6 0 360
6 30 390

Additional information about the calculator

The calculator will show you both Lithium and Lead Acid battery options.

The calculator automatically sets the optimal depth of discharge (DoD) depending on the load and battery type. To prolong the life of a battery, a lead-acid battery should not frequently be discharged below 70%, and Lithium-ion battery not below 20%. Note that 0% is a flat battery and 100% is a full battery.

How do I calculate the charging time of a battery?

If we ignore the losses during charging, divide the battery capacity by the charging current to obtain the battery's charging time in hours.

For example to charge a 100Ah Lead Acid battery using a 5Ah Optimate 6 charger will take roughly ±16 hours to recharge

Some articles you might also be interested in...

The tools, habits, and hardware needed to speed up your computer
The tools, habits, and hardware needed to speed up your computer

Whether it happens gradually over time or all of a sudden, trying to work with a slow computer can be seriously frustrating. Even if you’re fairly diligent with the maintenance of your laptop or PC, it’s surprising how quickly things slow down. If you are asking yourself “Why is my laptop so slow” and running Windows 10, 8, or 7, this post is for you!

Read The Article
Sonoff SNZB-02 Zigbee Temperature & Humidity Sensor
Sonoff SNZB-02 Zigbee Temperature & Humidity Sensor

Enclosed in the same shell, SNZB-02 Zigbee temperature & Humidity sensor reports back every couple of minutes. The sensor is powered by CR2450 3V battery. The extra capacity means that the sensor will last a really long time. I have a heater connected to eWeLink app and, once I added a hub (absolutely required) this thing has performed well. The heater is controlled within +- 1°C. That's another thing, eWeLink only provides temperature readings in °C with no option for °F. I'm thinking about placing another sensor on the outside of the window so that I can control based on outdoor temperature as well.

Read The Article
A smart bulb that works with the eWelink app
A smart bulb that works with the eWelink app

The Sonoff lightbulbs are very affordable and provide you with the basic functionality that a smart home needs. If the budget is tight and you don’t need all bells and whistles of the more expensive lights, Sonoff lightbulbs will do the job just fine. The prices start from $9.90 for the (plastic, White + color temperature) B02 B A60 and $12.90 for the fancy, pear-shaped B02-F-ST64 (glass, retro look, White + color temperature). As far as connected lights go, the prices are very attractive and Sonoff lightbulbs indeed are as inexpensive as you can get.

Read The Article