https://github.com/persello/frequencycounter
Arduino/AVR frequency counter. Up to f_clk_io/2. Uses Timer/Counter1.
https://github.com/persello/frequencycounter
arduino avr frequency-counter high-frequency mhz timer-counter
Last synced: about 2 months ago
JSON representation
Arduino/AVR frequency counter. Up to f_clk_io/2. Uses Timer/Counter1.
- Host: GitHub
- URL: https://github.com/persello/frequencycounter
- Owner: persello
- Created: 2019-05-14T19:15:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-15T13:56:30.000Z (about 7 years ago)
- Last Synced: 2025-06-06T17:43:12.732Z (about 1 year ago)
- Topics: arduino, avr, frequency-counter, high-frequency, mhz, timer-counter
- Language: C++
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FrequencyCounter
Arduino/AVR high frequency counter, goes up to half the clock speed of the microcontroller. It uses Timer/Counter1 in order to achieve high speeds.
## Usage
Simply upload the program using PlatformIO or Arduino (sketch file is located in the src folder) and connect to the serial monitor.
Connect your signal line to the digital pin 5 (on Arduino), called PORTD5 (T1 input) on AVR microcontrollers. Using an external clock is recommended.
Units are automatically calculated.