I am designing a self balancing robot without arduino I have two motor for wheels attached to motor driver unit. I am supposed to use IR sensor that outputs certain voltage for certain distance. Now I need help in designing a circuit to control direction of wheels at certain output from IR sensor.
All I need is
for 1st IR
if voltage =x
rotate motor in +ve direction
for 2nd IR(opposite to 1st)
if voltage =x
rotate motor in -ve direction
any help or suggestion will be greatly appreciated.
All I need is
for 1st IR
if voltage =x
rotate motor in +ve direction
for 2nd IR(opposite to 1st)
if voltage =x
rotate motor in -ve direction
any help or suggestion will be greatly appreciated.