3 ms·
Right, and this sweet little chip already has the PWM output and the analog comparator, and you can get a wakeup interrupt from the comparator. And then there'
by kragen 18y ago
Right, and this sweet little chip already has the PWM output and the analog comparator, and you can get a wakeup interrupt from the comparator. And then there's the VFC/VCO approach someone else suggested. But I think you can get a higher sample rate with a dedicated ADC. How fast can you do the PWM/comparator trick on a device like this?
- aswanson 18y agoYou can always get a higher rate with a dedicated chip, and they are pretty cheap these days. The max you can do the pwm trick is a function of the max clock rate, divide down pwm clock, and the number of bits you want for resolution. Take a look here: http://www.designingwithsensors.com/applications/all_articles.php?art_id=783 http://www.designingwithsensors.com/applications/all_article...