Franck84
Newbie level 4
Hi,
My name is Franck. I want to display on LCD the speed of a propeller using a C program via a PIC18F452.
I put a small dc motor connected to the propeller and add a tiny magnet on one blade.
For one revolution of the propeller I obtain a pulse (from 0 to 5V) using a hall effect sensor.
The problem is I don't know how convert these pulses into a smooth increase speed. I was thinking about converting the pulses into a average linear voltage and than use a speed formula on the program part to transfert the voltage into a speed. But I did not find the right ressources to help me on that.
If someone can give me a help that will be super cool.
Thanks
My name is Franck. I want to display on LCD the speed of a propeller using a C program via a PIC18F452.
I put a small dc motor connected to the propeller and add a tiny magnet on one blade.
For one revolution of the propeller I obtain a pulse (from 0 to 5V) using a hall effect sensor.
The problem is I don't know how convert these pulses into a smooth increase speed. I was thinking about converting the pulses into a average linear voltage and than use a speed formula on the program part to transfert the voltage into a speed. But I did not find the right ressources to help me on that.
If someone can give me a help that will be super cool.
Thanks