Тёмный

ESP32 Battery Life Tips 

Tech Dregs
Подписаться 7 тыс.
Просмотров 2,9 тыс.
50% 1

Just some things I've learned about increasing battery life when using ESP32 boards. Also, some follow ups on the battery life achieved on a few past projects.
=== Timestamps ===
00:00 Introduction
00:22 Update: Voice Remote
03:19 Update: Soil Moisture Sensor
05:35 Tips
06:22 1 - Use an On/Off switch
07:10 2 - Min Wake, Max Sleep
09:33 3 - Use a low power board
11:09 4 - Turn off peripherals
11:41 5 - Use higher value resistors
12:44 6 - Use GPIO pins for power
14:42 7 - Don't overuse LEDs
15:11 8 - Just use a bigger battery
16:36 Conclusion

Наука

Опубликовано:

 

22 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@codybarker9942
@codybarker9942 2 месяца назад
This was just what I needed! I'm building out some weather proof moisture sensors for our nursery and have had trouble with poor battery life in the past. Thank you!
@roshanyadav890
@roshanyadav890 6 месяцев назад
Thanks for the tips! Great video. Will try to design something using the ESP32-C3 soon.
@rootdev8106
@rootdev8106 5 месяцев назад
Thank you, this is very useful!!
@chamodhdissanayake9831
@chamodhdissanayake9831 Месяц назад
Informative video...is there any way to apply an energy harvesting application to this so that the battery itself can be charged without disassembling the whole thing?
@TechDregs
@TechDregs Месяц назад
Some ESP32 boards come with built in battery management chips, and for those you can incorporate charging solutions. See: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Yttauf94A04.html ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-EeUG3Si9fZk.html ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TFiI0tqjUzw.html
@benjaminhobbs2923
@benjaminhobbs2923 7 месяцев назад
I've heard people saying I need to use a 'buck converter' when adding a LiFePO4 battery, as their voltage when fully charged is around 4.2V, and the ESP32 only allows up to 3.6V (max). Have you used a converter too? And if so do you have any advice on where to start? Thanks:)
@TechDregs
@TechDregs 7 месяцев назад
Unfortunately, I don't have any experience with that battery chemistry.
@mtraven23
@mtraven23 2 месяца назад
firstly, the way you wrote that makes it sound like you were thinking you could just plug your battery directly into your board, there is no circumstance that allows for that(unless, maybe you have some special module with extra hardware). 4v is too low for the internal regulator to do its job. you have 2 options to solve that...buck the voltage up to ~5-7V and run that into Vin, for the regulator to drop it to the right voltage. OR you can use the 3.5-4v you get straight off the battery, run it through an LDO (low drop out regulator) and then directly into Vcc, bypassing the internal regulator. In my current project, I opted for the later as I suspect it to be more efficient. Its worked out well for me. The buck convertor would probably be a module you just add, the LDO approach probably requires a bit of soldering on a protoboard (it did for me). good luck with your project!
@tbandras
@tbandras Месяц назад
Hey there! I came across this video after watching your take on the soil moisture sensor. I have tried to read up on the GPIO usage for powering the sensor, but I seem to have reached a dead end. Using a C3 Xiao I can't seem to utilize the GPIO for power for my moisture sensor that has the TL555 chip. I am getting consistent and good readings from the 3v3 output pin, but not from the GPIO. Do you have any advice? (I have the switch configured for GPIO21 and it turns on on boot)
@TechDregs
@TechDregs Месяц назад
What does your code look like for it? Perhaps there's an error somewhere.
@tbandras
@tbandras Месяц назад
@@TechDregs I am trying to post the (hopefully) relevant sections: esphome: name: wifi-moisture-sensor friendly_name: Lawn Moisture Sensor on_boot: then: - switch.turn_on: sensor_power on_shutdown: then: - switch.turn_off: sensor_power esp32: board: esp32-c3-devkitm-1 framework: type: arduino switch: - platform: gpio pin: GPIO21 id: sensor_power internal: true
@TechDregs
@TechDregs Месяц назад
So you're not getting any voltage out of GPIO21 when you check with a multimeter? If you've already checked your wiring, I might try a different pin. I don't see any issues in what you posted.
@ericbommer2280
@ericbommer2280 8 месяцев назад
I have been working on a battery project for a while and having issues with brownout. I am powering my project using 2 AAA batteries and a step-up 3.3v switch supply, with a Lolin s2 mini. From my research my current fix is a 1000 uF capacitor on the power line. I went with the Lolin S2 mini because it doesn't need use a USB to UART converter and is a bug battery save. Anyway I see you don't seem to be using any bulk capacitance on any of your projects. Curious if you have experience this problem in the past on how did you get around it. Thanks. As a side note on your switch comment, I am also investigating using a magnetic reed switch as a power switch, that way i can contain my project better from the environment. So far seems to be working,
@TechDregs
@TechDregs 8 месяцев назад
No, never had to use any caps, but I've always used LiPo batteries rather than normal batteries, and I don't think anything I've done has required much power. Possibly the battery discharge capabilities could have some impact on requiring caps.
Далее
ESP8266 as Window Sensor with years of battery life
17:57
Aggressively Low Power with the ESP8266
10:18
Просмотров 77 тыс.
Power Your Projects With Batteries! (LiPo/Li-ion)
9:27
ESP32 Pico D4 CoinCell Board
2:40
Просмотров 13 тыс.
It's time to move to Linux
9:48
Просмотров 628 тыс.
Kasa HS300 Power Monitoring Strip (bypass the app!)
14:31
IR Remotes & Microcontrollers - Arduino & ESP32
1:31:50
Просмотров 158 тыс.
Apple vs Samsung 😂
0:10
Просмотров 191 тыс.
ВЫ ЧЕ СДЕЛАЛИ С iOS 18?
22:40
Просмотров 134 тыс.