Hello all,
This is my first post here and please be gentle if I do some mistakes
So my problem is :
I want to measure speed of 2 wheels using arduino.
Maximum speed which is not possible to reach is about 6.6 km/h , which means around 700 rpm and 12Hz as frequency.
Minimum speed which I want to measure is around 60 rpm which is 1Hz. So whatever is below 1Hz I will consider "0".
Wheel has 25mm radius, and has on it 4 oles, each 2 holes opposite. Basically I need 4 pulses for a complete revolution.
For getting pulses I am using a proximity sensor which has 12V pulse when is on the whole and 0V when is not on the hole.
The wheel and sensor pictures are attached
I tried schematic from datasheet and also tried this schematic as well http://bettec.info/dro/
On both I get only 0 at the output no matter the rpm is...
Thanks you in advance
This is my first post here and please be gentle if I do some mistakes
So my problem is :
I want to measure speed of 2 wheels using arduino.
Maximum speed which is not possible to reach is about 6.6 km/h , which means around 700 rpm and 12Hz as frequency.
Minimum speed which I want to measure is around 60 rpm which is 1Hz. So whatever is below 1Hz I will consider "0".
Wheel has 25mm radius, and has on it 4 oles, each 2 holes opposite. Basically I need 4 pulses for a complete revolution.
For getting pulses I am using a proximity sensor which has 12V pulse when is on the whole and 0V when is not on the hole.
The wheel and sensor pictures are attached
I tried schematic from datasheet and also tried this schematic as well http://bettec.info/dro/
On both I get only 0 at the output no matter the rpm is...
Thanks you in advance
Attachments
-
63 KB Views: 35
-
175.4 KB Views: 36