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.

 

***

 symbol IR_R = b0
 symbol IR_C = b1
 symbol IR_L = b2
 
main:
 let IR_R = pin0
 let IR_C = pin1
 let IR_L = pin2
 

 debug

goto main

***

EDIT: Here is a simple line folower robot code.

 

***
 symbol IR_R = b0
 symbol IR_C = b1
 symbol IR_L = b2

 

main:

 let IR_R = pin0
 let IR_C = pin1
 let IR_L = pin2

 

if IR_L = 0 AND IR_C = 1 AND IR_R = 0 then

  gosub foward

 endif

if IR_R = 1 AND IR_L = 0 then

  gosub right

 endif

if IR_R = 0 AND IR_L = 1 then

  gosub left

 endif

if IR_L = 0 AND IR_C = 0 AND IR_R = 0 then 

  gosub stop

 endif

if IR_L = 1 AND IRD_C= 1 AND IR_R = 1 then

  gosub stop

 endif

goto main
 
foward:
   high 4
   low 5
   high 6
   low 7
  return
 
right:
   low 4
   high 5
   high 6
   low 7
  return
 
left:
   high 4
   low 5
   low 6
   high 7
  return
 
stop:
  low 4
  low 5
  low 6
  low 7
 return
 ***

 

 

 

Hi XicoMBD,Eu falo un

Hi XicoMBD,

Eu falo un poquinho de portugues (brasileiro). Eu moro na Argentina.

I wanted to ask you a question concerning the AXE121. I had my eye on this kit for some time, but I haven´t been able to find something as basic as the board dimensions online. Without this info, I wasn´t about to take the step and import one and find that it doesn´t suit my design.

Would you be kind enough to give me the width and depth of the board?

Obrigado,

Andrés

**It’s approx. 6 cm x 3 cm **

It’s approx. 6 cm x 3 cm 

Thanks, dude.

Thanks, dude.

**post the code **

can you post the code for the line follower robot using the AXE 121. i am almost done with my first start here and i bought a AXE 121 so my second project would be a line follower

thanx xicoMBD

thanx xicoMBD