section_logo

LEGO robot: Light follower

RCX light follower robots using assembly language.

description


During my year in Denmark I got the great oportunity to work with LEGO robots. I really love them since I was child but I never had any chance before to play around programming them. This two robots were my first try into this funny world. I started making a simple one able to go to a light source using just one light sensor. It also could skip simple objects while colliding them. The second one uses two sensors and can follow a light source in movement in a faster and better way than the first one.

I can't go very deep into details of implementation because It's seems I've lost my sources from these robots and the fighter somewhere.
As soon as I'll get them back I'll update the pages and they'll be available to download. Anyway I'm going to explain the basic idea behind their "intelligent".

skipping and looking for light

The logic of the first one is quite simple: It starts turning to find the maximum value of light, and go forward till reachs it. If it founds some obstacles in its way it tries to skip them and after searches again for the source of light.

two sensors

This version of the robot features two light sensors and a more optimized logic that allow it to follow the light source faster and in a fancy way.
It goes comparing both values of light to determines the direction to the light. And if we're not going in this way, just turn to find it.

images


Both robots in action:


downloads


Nothing yet :(

comments


#1 posted by Wayne B at 2008-11-29 06:56:35

Thanks for sharing this and your other projects. I'm interested in seeing your source code if you find it...

#2 posted by rashi at 2009-01-24 09:40:07

please if you could send me in the main circuit diagram of ligt follower circuit using AT89C51 microcontroller since i need it for my project please reply soon

#3 posted by suresh at 2009-12-26 23:26:41

hi frnd, plz send me complete implimentation of this project.. reply me soon....

leave a comment


name

your email (will not be show)

comment

security code