adafruit / circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers
https://circuitpython.org
MIT License
3.95k stars 1.16k forks source link

Add Frequency Capture Capability #923

Closed sommersoft closed 5 years ago

sommersoft commented 6 years ago

Making this a stand-alone issue. Derives from #516 & #807.

This module is for capturing the frequency period of an input signal.

sommersoft commented 5 years ago

I've been languishing on dialing in the accuracy on this for a few weeks now. Figured I'd put up this spreadsheet in the event someone can see a pattern/calibration vector that I don't. The SAMD21 performs quite accurately, but the SAMD51 has some issues that I can't quite work out or pin down. Because of this, and because I think it is a good idea from a user standpoint anyway, I will be adding a calibration property. Just have to figure what "calibrated" is. :smile:

Notes:

freqin_value_sheet

sommersoft commented 5 years ago

Forgot to close this. Fixed by #1614.