peterv6i post at 2017-2-21 19:27:41

Count frequency on GPIO

Hi,
Is possible to count frequency for example I would like to connect a function generator (square wave, 5V) pulses to gpio. (in real world I have temp sensor and salinity sensor which gives frequency on output)
I need to measure frequency from 0 up to 20 kHz. (For now I havedone it on Arduino which is then connected over serial port to OrangePI) but in future I like to avoid Arduino and directly count pulses with orangepi.

Is there some example in C or python on how to measure frequency?

thank you
Peter


alizacanto post at 2018-2-8 14:52:08

Hi.. its awesome project, but first we mist know gpio which used to recieve external clock/frequency source like digital pin 5 on arduino(t0), may be anyone know about gpio which recieve external click to orange Pi timer
page: [1]
View full version: Count frequency on GPIO