Averaging current draw


this stupid question, i'm having problem math :d
i'm trying estimate battery life sensor board.
it draws 0.155ma during sleep mode 288 seconds, , 19ma 20 seconds when it's awake.
how calculate average?

=((.155*288)+(19*20))/(288+20)
=1.52 ma/sec think, assuming
thank thank thank you!!! :)
btw it's 1.38ma/sec


Arduino Forum > Using Arduino > Project Guidance > Averaging current draw


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code