Electronics > Beginners
MicroSD and 18650
r4r:
Hi!
For learning purposes, I'm about to build simple logger based on ATmega328, DS3231 RTC and microSD card, powered by 18650. With first two components there is no probles - wide range of Vin, I can power them directly from battarie. But microSD card requires more strict range ~2.8-3.4V.
To solve this problem, I've found several solutions (from best to worst IMHO):
1. TPS6303x High Efficiency Single Inductor Buck-Boost Converter. Unfortunatly, it has very small package 10pin VSON 2.5x2.5mm so with my soldering experiense it is impossible to mount on.
2. Module like this https://www.ebay.com/itm/DC-DC-Step-Up-Step-Down-2-5V-15V-to-3-3V-5V-Automatic-Buck-Boost-Module/173618472953?hash=item286c77a7f9:m:mq_DMDKKXIOHiOBqreWM5Mg 75% efficiency (?)
3. Step down buck converter from 2x18650 in series to 3.3v. Probably №2 with 2x18650 in parallel will be more efficient.
4. Step up to 5V (atmega, RTC) and then step down to 3.3 as part of microSD "module".
Maybe another way? I couldn't find, please recommend the solution. 400-500mA max in peaks when writing to SD (once per 30 min).
Thanks!
kjr18:
If processing speed is not an issue, you could sue Atmega at 3,3V it will run without problems at 8Mhz. All other things are fine with 3.3V anyway, so stepping up to 5V is not really good thing to do.
As for powering everything: you don't really need buck boost, as at around 3.3V you don't have much capacity left in li-ion cells. For longest runtime I would suggest deep sleep. You could even try disabling card's supply between readings with mosfet. Also that's a lot of current for a card.
ucanel:
https://www.microchip.com/wwwproducts/en/ATmega328
Datasheet 29.3 says Atmega 328 can work a little bit higher than 10MHz at around 3V.
You may use whole system at around 3V,
also DS3231 is working at 3.3V.
You may just use AMS1117 lineer regulator and
for the SD card write operations
just using a 100uF capacitor across Vdd Vss should be enough for SD card's peak current needs while write operations.
You may use MC34063 Switching regulator also,
it could easily supply 500mA at 3.3V output,
MC34063 old but cheap and well known easy to use, easy to find regulator.
iMo:
Atmega and DS3231 directly from the 18650 and the sdcard via an 1A schottky diode also from the 18650 (plus the decoupling caps etc..)??
The max voltage of the 18650 is 4.2V, afaik, 4.2-0.5=3.7V that is something the sdcard may survive.. Or use an 1N4001, 4.2-0.7=3.5V..
Btw atmega328 works fine 16MHz at 3.3V.
PS: you may consider a few_hundred ohms protection resistors for the SPI and CS signals from atmega to the sdcard in the case the Vcc voltages of the atmega and the sdcard differ.
beanflying:
Make your life easy for the supply side and charging https://www.aliexpress.com/item/ESP32-ESP32S-For-Wemos-For-Raspberry-Pi-18650-Battery-Charge-Shield-Board-V3-Micro-USB-Port/32870411748.html?spm=a2g0s.9042311.0.0.49714c4d1bgPBL
Navigation
[0] Message Index
[#] Next page
Go to full version