Pages: 1 2 [3]   Go Down
Author Topic: RPM calclater  (Read 2960 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26306
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

One technique I sometimes use is to turn on a 50% duty cycle PWM pin, and hook that to the input I'm testing.
May be a bit fast for this application, but at least it will show transitions.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Toronto, Canada
Offline Offline
Edison Member
*
Karma: 2
Posts: 1234
"Keep it R.E.I.L. - "Research, Experiment, Investigate and Learn"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@ AWOL
Quote
One technique I sometimes use is to turn on a 50% duty cycle PWM pin, and hook that to the input I'm testing.
May be a bit fast for this application, but at least it will show transitions.

That is  a good idea AWOL, use the Arduino to generate a pulse. Or a 555 astable circuit set the the frequency you want. Or a second Ardiuno.  That way, it will check the "counter program""

@ robtillart

I am interest in this topic because it can be use a way to measure RPM ( ex : on a fan - using LED, Laser LED , IFR LEd ) or frequency counter. I will look at the "Sampling Routine" how you do it.

PS : This Forum is an exellent place to share ideas.   
Logged

Delhi, India
Offline Offline
Jr. Member
**
Karma: 0
Posts: 80
~
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
A. Check the sensor with voltage to check if it have a 0 V for LOW and a 5 V for HIGH.
    If not well the system will not work.
The output voltage of the sensor is 2.5V.
Is that the problem?? smiley-confuse smiley-confuse
« Last Edit: July 19, 2011, 12:12:46 pm by gshubham96 » Logged

Regards
Shubham Garg

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 217
Posts: 13718
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The output voltage of the sensor is 2.5V.
Is that the problem?? smiley-confuse smiley-confuse

yes, there should at least be 2 voltages one for LOW and one for HIGH. and if 2.5V is the HIGH it might be well too LOW.

amplify the signal with a transistor ...
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The output voltage of the sensor is 2.5V.
Is that the problem?? 


How are you measuring that, while the signal is actively changing and using a DVM meter? If so that's not a true representation of the signal, use of a scope would be the only method to determine the active low and high voltage levels if the signal is changing.

Lefty

Logged

Pages: 1 2 [3]   Go Up
Jump to: