Motor Control While doing something else
Archiver
Posts: 46,084
Has anyone had any luck with the National Semiconductor LMD18200? I
need to run a motor in either direction at a variety of speed while
watching for input on other pins. I also need to be able to do fine
position control so the MotorMind B and C are out -- too slow.
I was thinking I could use a LMD1820, which only needs 3 input pins,
but I still need a way to generate a PWM signal. Maybe some kind of
circuit that takes a two bit input and generates the PWM:
A B | Out
0 0 | Output low
0 1 | 30% duty cycle
1 0 | 60% duty cycle
1 1 | 98% duty cycle
Or something like that
need to run a motor in either direction at a variety of speed while
watching for input on other pins. I also need to be able to do fine
position control so the MotorMind B and C are out -- too slow.
I was thinking I could use a LMD1820, which only needs 3 input pins,
but I still need a way to generate a PWM signal. Maybe some kind of
circuit that takes a two bit input and generates the PWM:
A B | Out
0 0 | Output low
0 1 | 30% duty cycle
1 0 | 60% duty cycle
1 1 | 98% duty cycle
Or something like that