I am creating a Data Logger that uses:
- ATMega328p - Microcontroller
- SD Card Module to read write data
- SIM800l - Modem to transmit data from SD card to API
- OLED I2C Display
- DHT22 Temperature sensor
I want to power all this using 4 or 6 AA batteries. I do not have much knowledge about power electronics.
- As ATMega328p needs 5V, I think the batteries should suffice. But the Voltage output from AA batteries degrades over time and fluctuates so do I need additional circuitry to control the input to the ATMega328p?
- The SIM800 needs a 4.2V input. But while transmitting its causes a voltage drop and current bursts up to 2A. For that I am using the power circuit given on the datasheet.
So what I wanted to understand is that can a 4-6 AA battery bank be sufficient for this project. The ease of replaceability of the batteries is very important. The batteries should be cheap and easily available at local stores, hence the choice of AA batteries.
Would I need additional circuitry to supply power to the ATMega328 and other components as well or directly from the battery bank should suffice?