I would like to make a 200 liters (53 gallons) trash container volume indicator based on loose LC colpitts oscillator running at 100 kHz. The goal is to identify just four trash container levels: empty, 33%, 66% and full. I already tried TCB - Input Capture Frequency and Pulse-width Measurement with ATtiny202 successfully. Unfortunately the working TCB frequency is just 3.3 MHz witch is not enough to measure the frequency change >= 100 Hz. For 100 kHz LC colpitts oscillator I need to use the TCB frequency about 100 MHz (1/(1/99900-1/100000)). I am not sure if I can alter the fuse for TCB to use internal 20 MHz oscillator for detection >= 500 Hz LC oscillator changes. Maybe Microchip can have a specialized chip for frequency measurement. Any advice would be highly appreciated.
Joined: Mon. Sep 9, 2019
Posts: 65 View posts