Page 88 - Robot Design Handbook ROBOCON Malaysia 2019
P. 88
START
#define pwm
#define dir
#define sen
NO
Motor Driver
Shield 1, 2, 3,
4
YES
Power Window
1,2,3,4
END
Figure 7: Flow-chart of the Messenger Robot 2 to drive power window motor
After the Arduino 2 has been turned on, a signal will send instruction to the power
window motor 1 until 4 to move forward. The number of rotation for the motor will be
determined by the sensor located near to the motor.
84

