Connect to Controller:
(1) Click this icon
(2) Select the Mode
(3) Icon will turn Green once robot is detected.
Library User Guide
Requirement:
Controller: E6-RCU
** NOTE **
1. Connect LED to P7 for troubleshooting
2. Only support E6-RCU
3. Only work on High-Speed Motor
1
Initialise
Enter the Based Speed for your motor M1 and M2.
**NOTE:
(1) Robot need to always do Initialise for 1-time only at the beginning of program.
2
Line Colour (Colour)
Select the colour to change the Line Tracking colour detection.
3
PID Motor Control (Porportional, Integral, Derivative)
Configure the PID of the robot in order to run smoothly.
** The default value will be
Proportional : 0.2
Integral: 0
Derivative: 2
4
Stop and Show Encoder Value
Stop the robot and display All motor (M1, M2, M3, M4) encoder value on screen.
5
Line Follow at Speed (SPEED) till (JUNCTION) detects the Line, Junction Forward Time: (TIME)
Robot will follow the line and STOP at the next junction detected that matches the number input.
SPEED: Robot Speed value
JUNCTION:
T-Junction - Line tracking no.1 & no.7 both detect junction.
Left Junction - Line tracking no.1 detect junction
Right Junction - Line tracking no.7 detect junction
TIME: The amount of time to allow robot move forward before turn.
6
Line Follow at (SPEED) till Encoder Value (ENCODER), Junction Forward Time: (TIME)
Robot will follow the line and STOP once the encoder is reached.
SPEED: Robot Speed value
ENCODER: Distance of robot movement in encoder value
**Note: the program using Encoder from M1 to calculate.
TIME: The amount of time to allow robot move forward before turn.
7
Turn Left at Speed (SPEED) till detects Line, Junction Forward Time: (TIME)
Robot will move forward a bit, then Turn Left or Right with the define turning speed until next line detected.
TIME: The amount of time to allow robot move forward before turn.
8
Line Search at Speed (SPEED), Starting from (LEFT/RIGHT)
Search back the line once the robot moves out of track. The robot will move 90 degrees left and right to search the line. If the line is not found, the robot will stop moving after 3 turn.
SPEED: How fast the robot move when searching line. Suggest to use less than 50.
Start search from:
LEFT: Start search from Left
RIGHT: Start search from Right
9
Move Straight at Speed (SPEED) till Encoder value (ENCODER)
Robot move Forward/Backward Straight (Without following the Line) until the encoder value reaches.
SPEED: How fast the robot move forward/backward.
Positive +ve = Robot go Forward
Negative -ve = Robot go Backward
ENCODER: Enter value to allow robot to run in certain distance.
10
Rotate at Speed (SPEED) to (DIRECTION) till Encoder Value (ENCODER)
Robot Rotate Left/Right according to the encoder set (Without following the Line).
SPEED: How fast the robot move.
DIRECTION: Left/Right Rotate direction
Left: Rotate to LEFT
Right: Rotate to Right
ENCODER: Enter the value for the robot to rotate. Eg: 480 - Robot turn 90 Degrees