I want to do simple speed control of a small dc motor with gearbox and optical encoder. Proportional control will be accurate enough, only one direction. Since the motorspeed will be quite low I thought of using the pulsin command to measure pulse length for the feedback.
Has anyone done this before?
thanks