#Have you decided battery capacity?

1 messages · Page 1 of 1 (latest)

latent socket
#

We should also start a thread in case others need help with their projects

#

"Currently. My code looks at a value. Goes into deep sleep for x value. Wakes up, checks the sleep state. Runs code to beep a piezo beeper and eventually send a http request. No idea how much power it'll use"

#

Idk how I'd do it with the whole bms situation. I'd like the ability to check the voltage of the battery too at first run, and if its low. Continuously flash a red led every few seconds or so

#

but thats a later QOL thing

#

So currently no. Either 100, 200, or 500mAh cells

lyric yarrow
#

Max charging current depends on the battery capacity

#

PicoW can check the voltage at VSYS but there's some complications with the wifi chip. I don't remember if CircuitPython added it yet

latent socket
#

It can honestly wait until later. Ideally, I would really like to make my own pcb. However I'm unsure if I can accomplish that

#

At the very least. Getting this prototype done will pave the path for that. Project will go on github once I have everything done for it

latent socket
#

So while the pico w in its current state is deep sleeping. My in line meeter says its consuming 0.055A. I'm waiting for it to get to the loop and see what the consumption is

#

weird. Either the meeter I have is broken or alarms deep sleep state isn't working right. Pico w's power consumption hasn't changed from 0.055A

#

and thats sending a https request over wifi

lyric yarrow
#

If your circuitpython is reasonably recent it should be able to get down to 1mA in deep sleep with button wake (timer wake is a bit more but shouldn't be anywhere near 55mA)

latent socket
#

Yeah the issue was because I was powering it from my PC. Something with the com port. I talked about it in #help-with-circuitpython

#

Its at 4mA now max

#

when its in deep sleep. However with the code. It potentially could spend a lot of time not being in deep sleep and just running at 50mA

#

I'm awful at math and haven't looked anything up. Lets say 12h, its at 4mA, and the other 12h its at the 50mA figure. How many mAh should I have in a battery to make it last a week?

#

Or would a week be beyond reality?

#

is my math wrong thinking it would use 650mAh in a day?

latent socket
#

Actually that meter thing I have can calculate mAh consumption though who knows how accurate it is

#

I'll do a half hour at deep sleep and another half hour just running and see what it shows

#

Using a calculator, a 500mAh cell discharging at 50mAh only lasts 10 hours

lyric yarrow
#

Yeah, if you want it to last longer, would it be possible to make it spend a higher proportion of the time sleeping?

#

It's hard for wifi though because it takes a while to connect each time.

latent socket
#

Basically making an alarm thing that will also eventually send a message to the users phone

#

I'm thinking I might just need to use a high mAh 18650 cell