Help with RPM gauge Please
-
Hello everyone I been try for a while now to do a rpm gauge from a input pulse, i have tried a timer This is what i have tried Say i do a timer and calculate 4 times a second and display in a text box for now In 0.25 second i get 600 pules 600 pules * 4 = 2400 plus in one second 2400 pulses / 200 = 12 rotation per second 12 * 60seconds = 720 RPM Reset text box For some reason i think there would probably be a better approach then this, I am using visual studio 2008 Can anyone help out please Thanks in advance Biggs
-
Hello everyone I been try for a while now to do a rpm gauge from a input pulse, i have tried a timer This is what i have tried Say i do a timer and calculate 4 times a second and display in a text box for now In 0.25 second i get 600 pules 600 pules * 4 = 2400 plus in one second 2400 pulses / 200 = 12 rotation per second 12 * 60seconds = 720 RPM Reset text box For some reason i think there would probably be a better approach then this, I am using visual studio 2008 Can anyone help out please Thanks in advance Biggs
If there is a possible better approach could only be said if I see your real code. With the calculation is nothing wrong - this is the normal way to do a frequency-meassuring. Only the "Reset Textbox" seams a little bit strange for me ... Do you want to see your meassuring only in a Textbox ... or do you want to use a Gauge-Control ?
-
If there is a possible better approach could only be said if I see your real code. With the calculation is nothing wrong - this is the normal way to do a frequency-meassuring. Only the "Reset Textbox" seams a little bit strange for me ... Do you want to see your meassuring only in a Textbox ... or do you want to use a Gauge-Control ?
I will use a gauge control witch it will get its information from the text box I have to restart my project i am using a Phidget IO board and it is too slow so i got a Raspberry Pi 3 I wonder how meany times i should have a pulse per rotation, my wheel right now has 4 pulses should i have more ??? Thanks
-
I will use a gauge control witch it will get its information from the text box I have to restart my project i am using a Phidget IO board and it is too slow so i got a Raspberry Pi 3 I wonder how meany times i should have a pulse per rotation, my wheel right now has 4 pulses should i have more ??? Thanks
Basicly it's better to have as much pulses/turn as possible ... BUT ... you have also to count those pulses. Normally this is done with a counter-module. Also normally you have more than one meassure/second. In the Moment it's not clear for me what you are doing and what kind of help you need. Perhaps you give some more Information in future ...