Comments (9)
Same problem on T5+. I note the original T5 does not seem to have this issue.
Did the 1000uF fix it?
from lilygo-epd47.
Yes, the 1000uF capacitor will prevent the power supply from dropping below 3V. Although this is a fairly short peak, the restart appears to be random. Instead of a capacitor, adding a delay (20 ms) right after switching on the display power branch also helped us a lot.
from lilygo-epd47.
1mF capacitor for such small project is totally wrong design. It might be a solution but for sure it is a mistake of the design. Btw where does this 0.89A go?
from lilygo-epd47.
Yes, for this type of design, a 1mF capacitor is not the right solution. For example, with LTE 2G, it would mostly be necessary. From the measurements, we found that the pulse is generated when the DC/DC converter LT1945 and display are switched on. (The greatest credit goes to the LT1945 power supply circuit with accompanying regulators)
from lilygo-epd47.
Yes, for this type of design, a 1mF capacitor is not the right solution. For example, with LTE 2G, it would mostly be necessary. From the measurements, we found that the pulse is generated when the DC/DC converter LT1945 and display are switched on. (The greatest credit goes to the LT1945 power supply circuit with accompanying regulators)
from the datasheet of LT1945 it has a limit to 350mA however, the peak current can reach easily even 1A - after 0.1ms the regulator is OFF completely.
But, the LT1945 is not a load so this current is NOT related to LT1945 being ON, but to other element, that consumes that current during the transient.
The decoupling capacitors are exactly to reduce the voltage swings, but 1mF is not in the normal range of such capacitors
from lilygo-epd47.
after reviewing the schematic for the T5-PLUS board, and looking at the driver code, I am confused.
1/ epaper power supply control:
In the code (ed047tc1.c), I find epd_power_on() and epd_power_off().
For power on, it sets bits named "scan_direction=true", "power_disable=false", "neg_power_enable=true", "pos_power_enable=true" and "ep_stv=true", in order, with a delay between them.
For power_off, its "pos_power_enable=false", "neg_power_enable=false", "power_disable=true", "ep_stv=false", again in order iwth a delay.
HOWEVER:
-
on the schematic, power_disable->SMPS_CTRL, neg_power_enable->NEG_CTRL, pos_power_enable->POS_CTRL : and all 3 only go to the rPI 40 pin header
** NO IMPACT ON EPAPER POWER SUPPLY ** -
'scan_direction' is in fact PWR_EN, and switches 3V3 from the main LDO to the epaper power circuitry...
** is NOT turned off in epd_poweroff(), only in epd_poweroff_all() (which sets all the shift reg outputs to false.... **
** is set to true in epd_init() -> hence brownout as soon as driver is initialised, before even epd_poweron() is called! **
Where did you add the 20ms delay to avoid the brownout?
Is this right? If so, I think some fixes are required in the code:
- no need to do anything to 'power_disable', 'pos_power_enable' or 'neg_power_enable', they are not used on this board
- scan_direction renamed to 'pwr_en', and set to false in epd_init(), and epd_poweroff()
** this should help low power operation as no longer driving the epaper boost circuit **
- pwr_en impact on VBAT
- it seems like VBAT is switched directly onto the '5V' signal when pwr_en is true (by Q3). This seems like a bad thing to do to the battery when plugged in to the USB and hence there is really 5V on this trace (instead of charging it through the HX6610S 'normally').
- any explanation of what this circuit with Q3 is supposed to do?
thanks!
from lilygo-epd47.
Tried code as indicated above:
- saves me 1mA in lightsleep() mode
- saves about 30mA when not actively writing to the epaper
- peak inrush when turning on is about 400mA once running,
attached some power captures (OTII on the battery connector @3.75V)
from lilygo-epd47.
One of my boards is very sensitive to the voltage drop, the other less so. A 470uF electrolytic across VDD_3V3 seems to fix it, but is kind of ugly.
from lilygo-epd47.
For a 'final' fix I went with a SMT 470uF tant capacitor as in the photo below :
- the capa is the orange rectangle
- -ve side to GND from the SD card connector
- +ve side wired directly to the ESP32 VDD_3V3 input pin
- ignore the black wire which is left from previous tries with smaller MLCC caps)
from lilygo-epd47.
Related Issues (20)
- Problem with function "epd_push_pixels(area, 50, 0);" And the functions "epd_draw_image(area3, framebuffer, WHITE_ON_BLACK);" HOT 4
- compile error with demo sketch HOT 11
- T5 4.7 v2.3 bringup
- Compilation error: invalid preprocessing directive #i with font converted with fontconvert.py HOT 2
- Reset reason after Deep Sleep not consistent
- Library error compiling sample code HOT 2
- Why is ARDUINO_RUNNING_CORE set to 0?
- platformio requires changes to the examples
- Issue with displaying special characters on EINK display using writeIn command
- Weather Station Example does not work HOT 3
- Unable to upload to ESP32 S3. Wrong --chip argument? HOT 4
- FAQ describes GPIO 12 as free for user use, but where is it?
- Partial refresh - irreversible damage? HOT 2
- No valid dependencies solution found: dependency 'Wire' is not available HOT 1
- usb-c pull down on B5 missing HOT 1
- How to connect the JTAG espressif esp-prog T5 epaper board HOT 1
- Missing 3D files for 4.7-Plus model (one with TF and ESP32-S3) HOT 1
- S3 is not accessible after going into deep sleep HOT 1
- using micropython on the T5-4.7-S3 : issues with buttons, SD card, epaper HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lilygo-epd47.