Search found 117 matches
- Fri Mar 30, 2018 2:44 pm
- Forum: ESP32 boards
- Topic: ESP32 power conditioning
- Replies: 32
- Views: 29459
Re: ESP32 power conditioning
It has been my experience that once you turn on WiFi and then enter deepsleep() you will draw power in the low milli-amps, even if you attempt to turn it back off first with station.active(false). Entering deepsleep shortly after a reset gets you the micro-amp mode. If you have a chance to experimen...
- Fri Mar 30, 2018 12:50 am
- Forum: ESP32 boards
- Topic: Code editor
- Replies: 8
- Views: 6892
Re: Code editor
I use Microsoft Visual Studio Code (VSCode for short). It is a free download and runs on many platforms. You can install a variety of extensions in it that do all kinds of useful things. One of them is pylint, which identifies many kinds of syntax and indentation errors plus calling methods with the...
- Fri Mar 30, 2018 12:12 am
- Forum: ESP32 boards
- Topic: Question about 3v3 pin and Deep Sleep
- Replies: 4
- Views: 5125
Re: Question about 3v3 pin and Deep Sleep
One thing I noticed in my experiments is that the ESP32 seems to enter a different form of "sleep" depending upon what was running when machine.deepsleep() is called. Unexpected. I don't know what causes this, but I can control-c out of a running program and then manually invoke deepsleep() from the...
- Fri Mar 30, 2018 12:01 am
- Forum: ESP32 boards
- Topic: ESP32 power conditioning
- Replies: 32
- Views: 29459
Re: ESP32 power conditioning
I did an experiment with a 700 mAH LiFePO4 battery. It is the 14500 form-factor which matches the AA size here in the USA and puts out 3.2 volts. I wrote a Python program that runs at boot time as main.py. It examines the wakeup reason, does various things that would consume a little power, and slee...
- Fri Mar 23, 2018 3:16 pm
- Forum: ESP32 boards
- Topic: ESP32 power conditioning
- Replies: 32
- Views: 29459
Re: ESP32 power conditioning
Invoking deepsleep() without having enabled WiFi shows a vastly lower power draw, about .001mA, so maybe the trick is to disable WiFi before entering sleep.
- Fri Mar 23, 2018 2:41 pm
- Forum: ESP32 boards
- Topic: ESP32 power conditioning
- Replies: 32
- Views: 29459
Re: ESP32 power conditioning
I'm using a INA219 in series with the positive supply line as shown in the photo I posted; http://cdwilson.us/articles/understanding-the-INA219/ I'm using a 3.3V power supply that reportedly will deliver up to an amp, and it is connected directly to the Wroom-32 VCC pin 2. Which sleep mode are we en...
- Thu Mar 22, 2018 11:09 pm
- Forum: ESP32 boards
- Topic: ESP32 power conditioning
- Replies: 32
- Views: 29459
Re: ESP32 power conditioning
LiFePo4 batteries did not help. I was tearing my hair out over this and went through a process of elimination, it turned out that the plug-in breadboard I was using to wire power sources, the current monitor, and the ESP32 together was the problem somehow. Added resistance or something, even just on...
- Wed Mar 21, 2018 11:26 pm
- Forum: ESP32 boards
- Topic: ESP32 power conditioning
- Replies: 32
- Views: 29459
Re: ESP32 power conditioning
I'm going to assemble another board with 'raw' voltage input in the meantime, should be able to perform these tests with something that starts off in a known good state. The plot thickens. I assembled a fresh board with no regulator and it behaves in exactly the same way as the previous one. When I...
- Wed Mar 21, 2018 6:01 pm
- Forum: ESP32 boards
- Topic: ESP32 power conditioning
- Replies: 32
- Views: 29459
Re: ESP32 power conditioning
So, dialing the buck converter down to 3.3V I attached it to my homebrew ESP32 board that has no regulator and is configured to send the power input straight to the ESP32. This board was apparently damaged in one of my previous experiments. I can flash it with fresh firmware however, and in the "wai...
- Wed Mar 21, 2018 3:54 pm
- Forum: ESP32 boards
- Topic: ESP32 power conditioning
- Replies: 32
- Views: 29459
Re: ESP32 power conditioning
I'm doing some experiments today in an attempt to get a better handle on this power situation. I've got a INA219 current sensor hooked up as shown below. This is an I2C device, you can get them on Ebay for about USD $6, and there is a micropython driver for it that works very well. You put the senso...