Friday, March 19, 2010

Lego NXT Soccer Bot

The program was done in Lego NXT programming software. You can click this link to download. http://www.4shared.com/file/244944853/3d963667/soccer.html (Programs contains commenting).

Instructions will be posted soon.
HOW THIS PROGRAM WORKS(Use video as a reference.)
Robot will spin, doing a .5 rotation of the wheels. The ultrasonic sensor searches for an object farther than 25 cm. When found, the robot moves towards it. It will repeat step unless object is 10 cm away. If object is 10cm away, robot will pick up object and begin looking for a red spot to indicate it must shoot. If black is detected, robot moves back. If any other colour, except red or black is detected, robot moves forward.

2 comments:

  1. Hi,


    I love so far your blog. It has good quality science material.

    I was just hoping u could upload again your soccer bot program (it already expired). I actually just bought the NXT after I read your blog.


    :)

    ReplyDelete
  2. hi,

    could you share again the programming. link above is dead. thanks =)

    ReplyDelete