Ive had a lot of problems using SD cards with my ESP32. The only card I can get to work is a 10 year old, unbranded card.
I read about power suply being the issue and when i tested with a multimeter, the voltage was between 3 and 3.3 volts.
As an experiment i tried boosting the system with a LIR 2032 (rechargable) between the voltage out and the ground. It now reads and writes to all my cards. However I have a few questions about this.
is it safe? The battery isn't getting warm, but might it explode.
is this just a short term solution until the LIR 2032 runs down or will it get a trickle charge from the ESP 32 and just ballance out the voltage.
1 and 2 are related because time will tell if it is a long term solution, but I don’t want to leave it unmonitored if the battery may explode.
As you may gather, I'm no electronics boffin. Comments would be welcome, even if it's only to tell me I'm an idiot.
3.3 Volts.
Has something changed with microSD cards in recent years? My old Sd card works fine but all my new ones fail to mount.
It seams a bit OTT to have to use a separate regulated suply just for an SD card slot.
Some cards use more current than others and they can use up to 100mA when writing
Do like @UKHeliBob suggested and put a capacitor across the 3.3V pin and ground close to the card. Try 100uF
The capacitor seams to be working.
I had tried that earlier but not right next to the SD pins, just generally across the system. The proximity seams to make the difference.
Thanks for that. Every day is a learning day.
There is a socket to plug a battery into the Lolin 32 lite which acording to the specs will charge from the USB.
That however goes through a regulating chip.
This has proved to be an intermittent fix, sometimes it works and others not.
Whilst there is 3.3v between the voltage out pin and ground, it drops below 3.0v at the SD card.
Can i turn this on it's head? Rather than having the ESP powering the board, can i have a regulated 3.3v supply power the board, and and that power the ESP32 via the voltage out pin and the ground. Is this an appropriate way to power the ESP32?
With 2 sensors and the SD card, i was wondering if the current draw is too much for the card voltage regulator.
Probably not but there are many dozens of variations of ESP 32 modules.
Which one do you have?
Are you using a solderless breadboard to connect everything?