Hi people
I am wondering how to hook up a STM32F030 microcontroller (2.4-3.6V) to run off-the-grid, expecting a maximum current of 150-200mA.
When using AVRs (picoPower variant), I just hook up 3 AA-cells where the AVR is happy running from 4.5V all the way down to 1.8 (which should have used almost all of the energy in the cells).
I can't use the same scheme with the STM32F030, where it will have too high a voltage and not enough at the bottom. My first thought was Li-ion batteries. I have tried running an AVR with Li-ion, but that was with a cheap 5V booster module.
The 18650-cells I have lying around has a max voltage of 4.2V, and should be depleted at around 3V. Given the proper protection circuitry, what is the easiest way to use the module and not blow up the microcontroller?
I have considered the following:
- The fancy way: Some sort of buck-boost topology, getting a constant 3.3v. See
- The old-fashioned way: A 2.5V LDO regulator
- The risky way: Putting a diode in series with a forward voltage at around 0.6V
The fancy way is fancy. Expensive in parts, and would probably take up a lot of board space. A middle ground would be a boost circuit to about 4.5V and then a 3.3V LDO regulator.
The old-fashioned way (at this time my favorite). Everything works fine, but can't reach 5V TTL logic levels.
The risky way. Seems too easy, and could create strange situations at the low level, as the forward voltage rises with current.
What do people do?