LEGO Projects
Below you’ll find my LEGO NXT programming and building projects over time. Where possible I try to include building instructions and code for each project. You will also find pictures and videos, and sometimes an MLCAD files for you to view.
I do most of my programming in Robot C. I spent some time trying the NXT-G programming environment and while it was impressive I found myself constantly working around its quirks. As I’m used to writing C code professionally it was not a big issue for me to move into Robot C.
Feel free to leave me comments on each project!
| Date | Project | Building Instructions | Program Code | |
| 11 April 2008 | A simple 3-wheel car that uses power function motors for driving and steering. Just something fun and quick to build. | MLcad file | None needed | |
| 8 April 2008 | Obstacle avoiding tracked rover using LEGO power function motors. This simple robot tries to avoid obstacles from the left and right and is powered using the medium power function motor via the mindsensors NRLink-Nx. | MLCad fileStep-by-step instructions | TrackRover source | |
| 1 April 2008 | How to update the macros stored in the EEPROM of the mindsensors NRLink-NX I2C device |
None | Robot C | |
| 1 April, 2008 | Dump register contents for the mindsensors NRLink-Nx using I2C commands | None | Robot C | |
| 5 March, 2008 | A LEGO Power Functions remote controlled Runabout with straight line drive. This model uses one motor to drive both wheels and a second motor to provide a steering input. It drives the wheels through an adder/subtractor gearing mechanism. | Step-by-step and MLcad file | None required | |
| 27 February, 2008 | A LEGO Power Functions Remote Controlled Battle Bot. A simple design that can be quickly built for kids to play with. The Ultrasonic sensor is for decoration only! | Step-by-step and MLcad file | None required | |
| 11 February, 2008 | Sample code showing how to perform obstacle detection using mindsensors.com DROD-Nx. This code draws a graphical representation of the location of objects in front of and behind a robot on the NXT screen. |
Not required | Robot C | |
| 20 January, 2008 | LEGO Synchro Drive Robot with obstacle detection. My biggest project to date, a four-wheel synchronous drive robot controlled by the NXT. Each wheel is independently driven and steered, allowing the robot to turn in place | Coming soon… | Synchro drive code with DROD-Nx | |
| 17 August, 2007 | Automatic doors shop doors that open when someone approaches. A simple project that I built to try out the LEGO Ultrasonic sensor that came with the NXT set. |
Step-by-step and MLcad file | RobotC Source code for the automatic shop doors | |
| 16 August, 2007 | LEGO tower boom crane design. I was practicing building with the new LEGO beams and created this boom for a tower crane as you would see on a building site. This was more an exercise for myself in how to build strong structures using peg-and-beams. | Step-by-step and MLcad file | None required |