7/25/2019 Motors & Sensors
1/12
7/25/2019 Motors & Sensors
2/12
7/25/2019 Motors & Sensors
3/12
MOTORS & SENSOR
PROGRAMMING
CONNECTIONS
7/25/2019 Motors & Sensors
4/12
PROGRAMMING
Motors have two pins to be wired.
To run the motor, they should not be at t
same potential (not both HIGH nor LOW
Alternating HIGH and LOW connectionreverses the direction of rotation.
7/25/2019 Motors & Sensors
5/12
http://localhost/var/www/apps/conversion/tmp/scratch_3/412_CH_L298_DRIVER_BOARD.pdfhttp://localhost/var/www/apps/conversion/tmp/scratch_3/412_CH_L298_DRIVER_BOARD.pdf7/25/2019 Motors & Sensors
6/12
7/25/2019 Motors & Sensors
7/12
PROGRAMMING
7/25/2019 Motors & Sensors
8/12
PROGRAMMING
We want our motor to run according to i
from sensors.
The following example illustrates the
interaction.Line sensor
vv
vv
7/25/2019 Motors & Sensors
9/12
PROGRAMMING
Line sensorvv
v
v
http://localhost/var/www/apps/conversion/tmp/scratch_3/412_ARDUINO_SENSOR_LINE_TRACKING%20(1).pdfhttp://localhost/var/www/apps/conversion/tmp/scratch_3/412_ARDUINO_SENSOR_LINE_TRACKING%20(1).pdf7/25/2019 Motors & Sensors
10/12
PROGRAMMING
v
v
http://localhost/var/www/apps/conversion/tmp/scratch_3/412_CH_INFRARED_OBSTACLE.pdfhttp://localhost/var/www/apps/conversion/tmp/scratch_3/412_CH_INFRARED_OBSTACLE.pdf7/25/2019 Motors & Sensors
11/12
PROGRAMMING
7/25/2019 Motors & Sensors
12/12
Top Related