Skip to content

TS8000 Library

Compare
Choose a tag to compare
@jseibel6900 jseibel6900 released this 05 Mar 19:27
· 3 commits to master since this release
66e904e

TS8000 Ultrasonic to Digital Converter

This release modifies how the device calibration pulse is measured. v2.0.0 implemented two reads of a free-running timer, one on each edge of the calibration pulse, while this v3.0.0 release uses the timer/capture peripheral to allow the micro to measure the time between calibration pulse edges directly in hardware.

NOTE: Due to the use of a timer/capture to measure the pulse width of the calibration pulse, the timer_init() and TCC0_Handler() functions are only compatible with the SAMD21 / 20 / 11 / 10 microcontrollers. However, the functions are not too complicated so porting the functionality to a different micro architecture should be fairly easy.