Home arrow Study arrow Projects arrow Project - LEGO Programming
Project - LEGO Programming PDF Print E-mail
LEGO MINDSTORMS PROGRAMMING

Description
This LeJos project was carried out when I was studying Object Oriented Programming at UTS, 2004 as an High Distinction Grade project. At the beginning, there was a number of students involved, but at the end of the project, there only me and my lecturer, Mr. Rodrigo.


Image

Background
LEGO® MINDSTORMS ™ lets you to design and program real robots that do what you want them to. With the Robotics Invention System™, the core set of the LEGO MINDSTORMS product range, you can create everything from a light-sensitive intruder alarm to a robotic rover that can follow a trail, move around obstacles, and even duck into dark corners.

To know more about Lejos, please spend sometime to visit Lejos at SourceForge , there is also a Tutorial that I found very helpful to get started on LeJos.


Image


Specification
In this project, my lecturer and I had been using Java to program on the MindStorms Lego to provide it some abilities like tracing a line colored in selected range, make it sing a song (with specifed tones) before it starts and after it completes the mission, it also has quick reaction against any obstacle. In some cases, when the line is broken purposedly in some parts, our robot can make some self-judgement like human in guessing the path by taking some possible tests (explore the current path or the path on the left, right for a longer distance, if it doesnt work, it then makes some circular wanderring with radius increases each time...)

The project was making use of the Java API for Lejos and some of the open sources available online.

Project Duration
This project took me nearly a month to finish (with about 12 hour work per week)


Image