Data Sheet
AlphaBot 2 User Manual     
12 
share awesome hardware
Infrared remote control 
Compile  and  download  the  program  IR.  You  can  control  the  smart  robot  by 
pressing down the numeric keys on the infrared remote controller, in which, “2”is 
for go forwards, “8” for go backwards, “4” for turn left, “6” for turn right, and 
“5” for stop. Keys “-“ and “+” can adjust the speed of the robot, and “EQ” 
can restore the default setting of the speed. 
The key encoding may change with different Infrared remote controller. You can 
modify the program as required. 
Infrared obstacle avoidance 
Compile and download the program Infrared-Obstacle-Avoidance. When there is 
no obstacle ahead of the robot, the green LEDs on the robot are off. When the 
obstacle is detected, the green LEDs will light up. In case that the LEDs are always 
off or always on, you can try to adjusted the potentiometers on the bottom of the 
robot to make the LEDs work properly.   










