Lego Segway needs only NXT 2.0 parts

This isn’t the first Lego Segway (defined as a balancing bot on two wheels) — that honor would probably go to Steve Hassenplug’s Legway. However, the Legway used two EOPDs (Electro-Optical Proximity Detector) from HiTechnic Sensors to balance. What’s cool about this project is that it needs only those parts found in a standard NXT 2.0 set. Most notably, it uses a light sensor in place of the expected (and non-standard) gyro sensor.

By using the NXT Color Sensor as a simple proximity sensor to the ground to detect the approximate tilt angle of the robot, the robot can actually balance itself!

For more fun, if you have a second NXT brick, you can make the Segway rider on this robot lean forwards and backwards via Bluetooth remote control, which will cause the robot to start rolling forward or backwards while staying balanced, just like a real Segway!

Most self-balancing robots (including the actual Segway PT) use one or more gyroscopic sensors to detect the actual tilt angle of the robot from true vertical. This robot uses only the NXT Color Sensor (in light sensor mode) by aiming the sensor at the ground and measuring reflected light, which will change slightly depending on how close the sensor is to the ground.

[via The NXT Step]

Discuss this article with the rest of the community on our Discord server!

My interests include writing, electronics, RPGs, scifi, hackers & hackerspaces, 3D printing, building sets & toys. @johnbaichtal

View more articles by John Baichtal


Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).