Professional Documents
Culture Documents
Task 2: Move mini servo motor arm from 0 degrees to 60 degrees wait 1 second and move back
to 45 degrees wait one second move back to 0 degrees and wait one second. Continue the loop.
(Hint: refer servo library).
Task 3: Use the L298N motor driver Module to rotate the motors. Rotate the motors to move the
cart in the forward direction, reverse direction and to turn left and right. The motors can be rotated
in the maximum speed (Hint: refer L298N datasheet).
Task 4: Use the input from the variable resistor the adjust the speed of both the motors while
turning in the same direction. Then use the encoders to display the motor speed in the serial
monitor.
Task 5: Display the input from the LED panel on the serial monitor.