Published in


Measure Battery capacity with a microcontroller

Photo by Harrison Broadbent on Unsplash

I figured out that my self-designed home devices will empty, without any sign. So I decided to create a voltage meter into my code.

Hardware construct

For clarification, I will use an ESP device, this can only measure the largest input of 3,3V. But my Batteries have more consumption. For this, I must create first a voltage divider to get a…




A How-To/Tutorial is a method of transferring knowledge and may be used as a part of a learning process. More interactive and specific than a book or a lecture, a tutorial seeks to teach by example and supply the information to complete a certain task.

Recommended from Medium

Uploading Files to Google Drive using the Google iOS SDK

Cracking 80% of SQL Questions in an Elegant Way

General Assembly Software Engineering Immersive

Turning your professional chamber music group into rock stars

The three types of programmers

Running SQL in a Jupyter Notebook

How to update in bulk G Suite users custom attributes with Google Admin SDK

My experience in Bootcamp so far

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sascha Peter Bajonczak

Sascha Peter Bajonczak

Father, Developer,IOT passionist and urban beekeper 🍯🐝

More from Medium

Lockstep API Jan 2022 release notes

How Origin code behaves in BGP

How to Install the Windows Subsystem for Linux on Windows 11 and setup for Competitive Programming

How to — Troubleshooting Azure and Sitecore