Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for battery reporting #enhancement #995

Open
andygodber opened this issue May 10, 2023 · 6 comments
Open

Support for battery reporting #enhancement #995

andygodber opened this issue May 10, 2023 · 6 comments

Comments

@andygodber
Copy link

Is it possible to include code for rechargeable battery support?
There are ESP8266 devices that a built-in LiPo battery carrier.
Usually A0 is used to read the voltage.

@pjgueno
Copy link
Member

pjgueno commented May 10, 2023

I think there is already a branch with this. It should not be conplicated. Examples for boards?

@pjgueno
Copy link
Member

pjgueno commented May 10, 2023

The problem is the sensor with WiFi wll consum quite a lot anyway.
Maybe LoRaWAN would be better. I have some example.
We would also have to count the pins.

Maybe the occasion to use the code for ESP32. Anyway where did you send the A0 value which show the level of the battery ?

@andygodber
Copy link
Author

One of the WLED Usermods for battery works on this device and gave me the idea - possible make a completely wireless AQI monitor - I will also experiment with a solar charger.

A0 is connected via a 10K resistor to the big +ve pad at the end of the battery.

20230510_203148

https://github.com/Aircoookie/WLED/tree/main/usermods/Battery

@pjgueno
Copy link
Member

pjgueno commented May 10, 2023

Solar would be a good solution.
https://gvidinski.wordpress.com/2021/05/10/solar-powered-nodemcu-sds011-dust-sensor/
Come on the forum. It should be possible to contact Grigori directly. He should be by V3 now.

@andygodber
Copy link
Author

I have all the Solar gear ready to go - I will probably do some trials of trying to record the battery usage manually while the software is being enhanced.
Problem for me is being lazy and having to go to the sensor if I place it outside to get the best solar position ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants