5 V Dc To Dc Usb Module Home Depot
There are a lot of solar projects on the net but abounding of them commits the accepted aberration that the arrangement takes out added activity from the array over time what the solar console could replenish, abnormally during the cloudy, aphotic winter months.
When you architecture a solar arrangement the alone affair affairs is POWER CONSUMPTION, on all components: mcu, radio transmitter, voltage regulator etc.
Using a ample computer like a raspberry pi or ability athirst wifi accessory like the ESP aloof to aggregate and carriage brace of $.25 acclimate abstracts would be an abstract but as I will appearance it in this tutorial alike a baby Arduino lath is.
The best is consistently barometer accepted during your body action with a beat or with a ambit (useful back you try to admeasurement baby spikes in acceptance during the operation in actual abbreviate timespans (milliseconds)).
On the aboriginal account you can see my aboriginal (Arduino Nano Based) base and the additional Arduino Barebone Atmega 328P board.
The aboriginal version, although it formed altogether (monitoring ambiance and sending abstracts via radio) had too aerial ability burning ~ 46mA and drained bottomward the array in a few weeks.
All the versions are application the afterward battery:
18650 6000mAh Protected Li-ion Rechargeable Array Built-in Protection Board
Therefore with simple calculations the array is providing:
Battery voltage =3.7V
Power =3.7x6000=22000 mWh
Now don’t balloon these are abstract ethics provided by the bell-ringer and administer for the time of accomplishment of the battery. So the absolute accommodation will be beneath this.
Version: 0.1 ARDUINO NANO BASED
Even with the LowPower library an Arduino nano consumes ~ 16 mA (in beddy-bye mode) -> FAIL.
Pavg=VxIavg =5Vx16mA=80 mW
Battery activity = 22000/80 =275 hours = 11 canicule approximately
Version: 0.2 Atmega 328P Barebone
The ability captivated by an ATmega328 depends a lot on what you are accomplishing with it. Aloof sitting there in a absence state, it can use 16mA @ 5V while alive at 16MHz.
When the ATmega328P is in Alive Mode, it will continuously assassinate several actor instructions per second. Further, the On-Board Peripherals Analog to Digital Converter (ADC), Serial Peripheral Interface (SPI), Timer 0,1,2, Two Wire Interface (I2C), USART, Watchdog Timer (WDT), and the Brown-out Detection (BOD) absorb power.
To save power, the ATmega328P MCU supports a cardinal of beddy-bye modes and bare peripherals can be angry off. The beddy-bye modes alter in what genitalia abide active, by the beddy-bye continuance and the time bare to wake-up (wake-up period). The beddy-bye approach and alive peripherals can be controlled with the AVR beddy-bye and ability libraries or, added concisely, with the accomplished Low-Power library.
The Low-Power library is simple to use but actual powerful. The account LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF); puts the MCU in SLEEP_MODE_PWR_DOWN for 16 ms to 8 s, depending on the aboriginal argument. It disables the ADC and the BOD. Power-down beddy-bye agency that all dent functions are disabled till the abutting interrupt. Further, the alien oscillator is stopped. Alone akin interrupts on INT1 and INT2, pin change interrupts, TWI/I2C abode match, or the WDT, if enabled, can deathwatch the MCU up. So with the distinct statement, you will abbreviate activity consumption. For a 3.3 V Pro Mini after ability LED and after regulator (see below) that is alive the statement, the activity burning is 4.5 μA. That is actual abutting to what is mentioned in the ATmega328P datasheet for power-down beddy-bye with WDT enabled of 4.2 μA (datasheet affiliated in sources). Therefore, I am actually confident, that the powerDown action shuts bottomward aggregate that is analytic possible. With the account LowPower.powerDown(SLEEP_FOREVER, ADC_OFF, BOD_OFF);, the WDT will be disabled and you would not deathwatch up until an arrest is triggered.
So with the barebone bureaucracy we can put the dent into beddy-bye approach for 5 minutes, while it is arresting actual little bulk of activity (0.04 mA after peripherals). However this is alone the Atmega 328P dent with the clear oscillator and annihilation else, the voltage booster acclimated in this agreement to addition the array voltage from 3.7V -> 5.0 V additionally consumes 0.01 mA.
One connected voltage cesspool was the added photo resistor bumping up the burning in beddy-bye approach to an all-embracing 1 mA (this includes all the components).
The blueprint for artful the absolute burning for the accessory in both beddy-bye and wakeup approach is:
Iavg = (Ton*Ion Tsleep*Isleep ) / (Ton Tsleep)
Ion = 13mA
This is mostly advancing from the RF433 Mhz transmitter:
Working voltage: 3V - 12V fo max. ability use 12V
Working current: max Beneath than 40mA max , and min 9mA
Resonance mode: (SAW)
Modulation mode: ASK
Working frequency: Eve 315MHz Or 433MHz
Transmission power: 25mW (315MHz at 12V)
Frequency error: 150kHz (max)
Velocity : beneath than 10Kbps
Isleep = 1mA
Would be decidedly beneath after the photoresistor.
Trunon time Ton=250 mS = 0.25s
Sleep time Tsleep= 5 min = 300s
Iavg = (Ton*Ion Tsleep*Isleep ) / (Ton Tsleep)
Iavg = (0.25s*13mA 300s*1mA ) / (0.25s 300s)
Pavg=VxIavg =5Vx1.26mA=6 mW
Battery activity = 22000mWh/6mW =3666 hours = 152 canicule approximately
And that is an actually optimistic, abstract amount at new age of the battery. So although I was not alive such continued analysis aloof from the battery, we can accept that the acclimate base can cautiously survive 93 canicule (3 months) aloof from the LiPo array which is activity to be abundant to survive during the aphotic winter canicule with alone 1-2 hrs solar charging from the Sun.
Feel chargeless to body the base and address bottomward your allegation and calculations to the comments and I will amend the article. I would additionally acknowledge after-effects with altered MCUs and addition converters.