The NXT brick
It runs the program and connects sensor inputs to motor outputs on the robot.
LEGO Mindstorms NXT combines a programmable brick with motors and sensors. Learn the fundamentals of its programming and how the Impulse Motion IDE approaches this classic platform.
The basic task is to connect instructions, sensor input and physical robot behaviour.
It runs the program and connects sensor inputs to motor outputs on the robot.
Motors drive movement and mechanisms; the program determines when and how they operate.
Sensors provide input that software can use to make decisions based on what the robot measures.
The exact steps depend on the tool, but a typical flow has three stages.
Impulse Motion takes a text-based approach to robotics, with LEGO Mindstorms NXT as its platform discussed here.
Write code, read sensors and drive motors: essential concepts of robotics.
Our aim is to bring programming and hands-on experimentation with robots into one clear experience.
Before writing a program, it helps to distinguish motor outputs from sensor inputs on the brick.
Ports labelled A, B and C connect motors. A two-wheel robot might use two separate motors to control its movement.
Ports numbered 1 to 4 connect sensors. The program needs to know which input contains the measurement it expects.
Illustrative scenario: an obstacle-avoidance robot reads a sensor, compares the measurement with a threshold and decides whether to continue, turn or stop. This is a conceptual example, not executable Prism C syntax.
Different NXT-generation tools have offered different ways to describe a robot program.
| Approach | Principle | Impulse Motion |
|---|---|---|
| Block-based tools (such as NXT-G) | Assemble visual actions and control logic. | Historical context for the NXT ecosystem. |
| Text-based programming | Write the robot logic as code. | The direction of Impulse Motion; its language is still evolving. |
Clarifying the current status compared with existing NXT tools.
Not yet. Impulse Motion is not available for public download. Visit the product page to learn more.
LEGO Mindstorms NXT is our platform discussed here. Exact compatibility will be announced as releases become available.
No. Prism Robotics is independent of LEGO; the brand name identifies the hardware platform.
Discover Impulse Motion, our robotics programming environment.
Explore Impulse Motion