ADC Speed and frequency?
Posted: Sat May 21, 2016 11:29 pm
Hello all,
Does anyone know how long an adc read takes, as well as the most frequent you should call it?
I'm currently using mine to monitor battery levels and to alert me when they get too low. Its attached to li-ions and powering some chunky 12w rgb leds, so when the leds are bright thats when I will have the biggest drop. I'm currently sampling every 5 seconds but that might miss a deep drop in voltage. Ideally I want to read the voltage just after an led brightness change, so a max of 44 times a second, is 20~ms between reads ok?
Cheers
Sol
Does anyone know how long an adc read takes, as well as the most frequent you should call it?
I'm currently using mine to monitor battery levels and to alert me when they get too low. Its attached to li-ions and powering some chunky 12w rgb leds, so when the leds are bright thats when I will have the biggest drop. I'm currently sampling every 5 seconds but that might miss a deep drop in voltage. Ideally I want to read the voltage just after an led brightness change, so a max of 44 times a second, is 20~ms between reads ok?
Cheers
Sol