You are on page 1of 12

MOTORS & SENSORS

PROGRAMMING
CONNECTIONS

PROGRAMMING
Motors have two pins to be wired.
To run the motor, they should not be at the
same potential (not both HIGH nor LOW).

Alternating

HIGH and LOW connections


reverses the direction of rotation.

PROGRAMMING

PROGRAMMING
We want our motor to run according to inputs
from sensors.

The following example illustrates the


interaction.
v

v
Line sensor

PROGRAMMING
v

v
Line sensor

PROGRAMMING
v

PROGRAMMING