I have two wooden sticks/rulers (Length: 1 ft; Width: 1 inch; Thickness: 8 mm;)
I have fixed the stepper motor to the end of ruler#1
I have attached one end of ruler#2 to the shaft of the stepper motor.
I have fixed the free end of ruler#1 to the edge of a table; The whole setup is pointing out in the air, perpendicular to the edge of the table.
When I move the second ruler through an arc, I want to detect the angle through which it moved. (How) can I do it, using the stepper motor?
Movment will be at such a rate that it covers 90deg in 1 sec
The range of angle between rulers will be from 15deg to 180deg
I am planning to send this data to my software code through a parallel port in my PC. How should I decode the data/pulses provided by the stepper motor so that it can be sent through the port?
Above question is an extension of Best sensor for measuring rotation angle?. but I just want to know how to go ahead and implement it using stepper motor.