How to connect AXE121 to Picaxe 28 pin Project board
AXE121 is an cheap and easy to use Line Follower Kit that can be easily connected to the Picaxe 28 pin Project board. You can buy it on the PICAXE on-line store.
It allows your robot to follow a line drawn on the floor. Three infra-red sensors are used to detect the edges of the line, so that the robot can follow the line.
You need to connect only 5 cables to your board, one for G, other for V+ and three to the digital inputs.
If you make something like the illustration above, it should work.
You can find a robot that uses it here.
EDIT: Here is a simple line folower robot code.
if IR_L = 0 AND IR_C = 1 AND IR_R = 0 then
if IR_R = 1 AND IR_L = 0 then
if IR_R = 0 AND IR_L = 1 then
if IR_L = 0 AND IR_C = 0 AND IR_R = 0 then
if IR_L = 1 AND IRD_C= 1 AND IR_R = 1 then