i would like to be sure about how to correctly supply my maple mini.
from Vin it goes to the ams1117
from the USB it goes to the ams1117
from Vcc directly to the stm32
about cross-supplying (not sure if it is the correct word) i see a diode marked S4 near the LDO so i would say it is a Schottky diode. Does it work as in the arduino? so i can supply the board at the same time from the usb and the Vcc or Vin?
could someone confirm this?
Thanks
EDITED with corrections in the next posts
https://github.com/leaflabs/maplemini/b … lemini.pdf
i’ve been thinking about 4x NIMH 1.3v batteries as well giving a nice 5.2v when fully charged
incidentally i (ab)used that VIN on my baite mini, used it as ‘vout’ & routed it to supply my ILI9341 lcd board which has a separate LDO taking 5v VIN
http://www.stm32duino.com/viewtopic.php?f=44&t=2026
note VCC is 3v3, 3.3v connecting anything higher may see the mini ‘blow up’ in smoke
i’m thinking maple mini can possibly run on 2xAA or 2xAAA 1.5v batteries simply connecting them at VCC, 3V3, no regulators etc !


maybe i should try 4.2v lipo at the LDO VIN after all
ams1117
http://www.advanced-monolithic.com/pdf/ds1117.pdf
has a 1.1 – 1.3v dropout, so 4.2v fully charged may give 2.9v to the mini, and if the battery drain a little, how long would the mini last or maybe i should try those big fat regulator diodes with at least 0.6v voltage dropout
We’ve got 2 things that work to our advantage:
-the AMS1117’s dropout voltage mentioned in the datasheet is at 800mA, usually when using a maple mini, you’re probably even having a hard time reaching 100mA, so the dropout voltage should be far less (but i don’t find a graph on this in the datasheet, so we’d have to measure it)
-the maple mini (and most things you can connect to it), will cope with slightly lower voltages. if it were to drop down to 3V when the battery is running low, it’s very likely that everything will still work .
Seems like an interesting thing to test .
https://github.com/leaflabs/maplemini/b … lemini.pdf
and have a volt / multimeter handy & measure voltages at the VIN (5v), VCC (VCC is 3V3) pins in the normal running mode
otherwise u may be taking some chances with magic smoke

i’m not too sure if putting a 1 watt 5 ohm resistor in *series* at VCC (3v3) and connect 4.2v LIPO would be a ‘cheap & good’ solution though
my guess is perhaps we’d 1st try put that lipo at 4.2v so that with AMS1117′ dropout voltage is 1.1v – 1.3v, we’d get 2.9 v or 3.1v(optimistic) fully charged, then we play labamda & see how low can stm32 runs for under 3v, ADC may give goofy values though
http://www.st.com/resource/en/applicati … 164185.pdf
page 7 1.2 Power supply schemes
The circuit is powered by a stabilized power supply, VDD .
Caution:
– If the ADC is used, the V DD range is limited to 2.4 V to 3.6 V
– If the ADC is not used, the VDD range is 2.0 V to 3.6 V
ok i’m going to try running mini on lipo 4.2v over VIN & ams1117 LDO
btw did a little research on ebay about LDO, it seemed those ams1117 ‘flooded’ the mkt, probably a most common 3.3v ldo found in all the cheap consumer electronics & the baite mini (may be bluepill as wll)
http://www.ebay.com/sch/i.html?_from=R4 … 7&_sacat=0
i hardly think those tiny ams1117 are rated for 1amp, if u need anything close to 1 amp, the big LM1117 is probably needed
http://www.ebay.com/itm/12pcs-NS-LM1117 … 1617053651
then i found the *real* li-po LDO, LP2950, just that it only gives a measly 100ma, but the dropout voltage is a nice 450mv max, so with LiPo with 4.2v – 0.45 ~ 3.75 that’s still plenty of headroom above 3.3v and u’d be able to spent all that battery juice till u are left with 2v on the stm32
http://www.ti.com/lit/ds/symlink/lp2951.pdf
http://www.ebay.com/sch/i.html?_from=R4 … 50&_sop=15
and if 100ma is too measly small for the purpose after all we power gigabytes sd cards (never mind stm32f1 only has 20k sram & 128k flash) plus run the 72mhz cpu and then maybe run an lcd display board as well there is the more expensive mcp1700 LDO which gives 200-250ma
http://ww1.microchip.com/downloads/en/D … 01826C.pdf
http://www.ebay.com/sch/i.html?_from=R4 … 00&_sop=15
and if all else fails, then u’d go for LM1117 the big 1 which give 800ma or AMS1117 1A (can’t be those tiny ones) but now the dropout voltage is a whopping 1 – 1.3 v (btw all the other esoteric LDOs that may be found on sites like ti http://www.ti.com/lsds/ti/power-managem … rview.page either never appeared on ebay or is super expensive)
oh btw then as like ahull’s solution there is the state-of-the-art switch mode boost DC-DC converters these would drive that 1A x 5V (5 watts!) from that little 4.2v lipo battery
http://www.ti.com/lit/ds/symlink/lm2621.pdf
http://www.ebay.com/sch/i.html?_from=R4 … 21&_sop=15
i’ve found similar regulators as ag123, and ordered
-some mcp1700’s
-some XC6206’s: 0.5A, 200mV drop @ 100mA
-some AP2112’s, up to 0.6A, max 250mV drop .
enough to last me a while, and should all 3 suffice for powering our lovely devices from a lithium battery .
- mm-ap2112k.jpg (67.75 KiB) Viewed 471 times
would this regulator be suitable for the 405/407 design ? <tongue-in-cheek>
stephen
[zmemw16 – Sat Oct 14, 2017 1:57 am] –
aliexpress – only available in lots of 100, pricing £5.85 to £7.06 from 5 sources.would this regulator be suitable for the 405/407 design ? <tongue-in-cheek>
stephen
that’s what i’m currently using for my 405 design . for the exact reasons i already posted here
.
For my saber boards i also switched to that one, seemed pretty much ideal for these kind of boards . And hence i quickly made an adaptor so i could upgrade the various board i have with an AMS1117 to something proper (that AMS is way too popular :p).
srp
[zmemw16 – Sat Oct 14, 2017 5:54 am] –
sorry i tend to only read the unread posts of threads.
srp
lol XD
no problem, i also don’t always read everything or remember everything (even in my own threads )
.
but it’s indeed a nice regulator, and i’ve indeed got 100 of them laying around from aliexpress .