OK, so I'm attempting to build a stepper motor driven Rev Counter... I've tried the search function and it throws up a bunch of stuff I don't get a definitive answer to.
Is
// change this to the number of steps on your motor
#define STEPS 100
defined by the stepper motor?
If so, is there a method of determining the amount of steps a motor has?
I am of course assuming that those 100 steps are per full revolution.
In my use I'm only going to need 3/4's of that rev range, so 270 degrees (see piccie below for the guage I'm using - image from fleabay)
I would assume that the amount of steps is down to 360 degrees, so the limitation is on the RPM of the engine to determine it's sweep right?
My application is real world, not sim, so the output is coming from a 12 volt source based on the frequency of it's repetition to generate RPM. Would this need to be stepped down to 5 volts for use with the Arduino?
Apologies for the newb questions, but I'd rather like to get it right(ish) first time than fry equipment.
Cheers,
Rich