ESP32 Battery Life Tips

  Рет қаралды 5,567

Tech Dregs

Tech Dregs

Күн бұрын

Пікірлер: 16
@holodiscus
@holodiscus 7 ай бұрын
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!
@yroshan630
@yroshan630 11 ай бұрын
Thanks for the tips! Great video. Will try to design something using the ESP32-C3 soon.
@rootdev8106
@rootdev8106 10 ай бұрын
Thank you, this is very useful!!
@jack91522
@jack91522 Ай бұрын
What about a solar panel. Use it to top off. How do you turn off the adc?
@TechDregs
@TechDregs Ай бұрын
See this project: kzbin.info/www/bejne/j6XXkqicbpl0ZpY
@chamodhdissanayake9831
@chamodhdissanayake9831 6 ай бұрын
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 6 ай бұрын
Some ESP32 boards come with built in battery management chips, and for those you can incorporate charging solutions. See: kzbin.info/www/bejne/j6XXkqicbpl0ZpY kzbin.info/www/bejne/e5a4eGaJnp6ZkM0 kzbin.info/www/bejne/infMemOqps-IsNk
@benjaminhobbs2923
@benjaminhobbs2923 Жыл бұрын
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 Жыл бұрын
Unfortunately, I don't have any experience with that battery chemistry.
@mtraven23
@mtraven23 7 ай бұрын
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 6 ай бұрын
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 6 ай бұрын
What does your code look like for it? Perhaps there's an error somewhere.
@tbandras
@tbandras 6 ай бұрын
@@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 6 ай бұрын
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 Жыл бұрын
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 Жыл бұрын
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
MakerMeik
Рет қаралды 180 М.
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 2 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 115 МЛН
ESP32 Deep Sleep: Ultra-Low Power Coprocessor
15:27
atomic14
Рет қаралды 30 М.
Power Your Projects With Batteries! (LiPo/Li-ion)
9:27
Sine Lab
Рет қаралды 54 М.
#408 Are LiFePO Batteries better? How to Use them For Small Projects
14:17
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 681 М.
TP4056 myth busting
9:07
bigclivedotcom
Рет қаралды 334 М.
How to reduce power consumption on an ESP32 development board. PART1
15:31
#400 The Best Power Source for ESP32/ ESP8266 Projects
14:30
Andreas Spiess
Рет қаралды 123 М.
How to Configure the ESP32 for Light and Deep Sleep Modes
20:30
ForceTronics
Рет қаралды 2,4 М.