Page 1 of 1

Battery for nomade project

Posted: Wed Mar 29, 2023 4:50 pm
by cedricvm
Hi All,

I'm completely newbie, sorry in advance for my most-probably stupid questions.

I've in mind to build my own domotic solution, based on Home Assistant, running on Raspberry Pi 4 8GB, model B.

I'd like to built my own peripherals, and most of them should rely on ESP32. As a first exercise, I'd like to build my own thermometer. So far, I plan to use:
- a ESP32 (https://www.amazon.com.be/dp/B074RG86SR ... dp_it&th=1)
- a DHT22 (for temperature and humidity) (https://www.amazon.com.be/AZDelivery-Te ... 94-6985060)
- an oled display (https://www.amazon.com.be/dp/B07V9SLQ6W ... PVVF&psc=1).

As you see, I have an ole display, because I want to display the temperature on the device itself, and in top of that, send the info to my Home Assistant, via the WIFI.

My question now is: I want to have this small thermometer fully nomade, meaning running on a battery. If possible, I'd like also to use the deep sleep mode of the ESP32, wherever possible, in order to reduce as much as I can my consumption. What kind of battery would you advise me to use ? And wat capacity ? I've for instance see the following: https://www.amazon.com.be/Batterie-Lith ... ef=sr_1_17, but the connector is not compatible I think.

And I'd like also to know how I'll can easily charge the battery. If I plug the ESP32 via the USB port, will it charge the battery ?

Thanks in advance for your help,
Cédric