First Steps into Practical Engineering for Freshman Students Using MATLAB and LEGO Mindstorms Robots

Axel Behrens, Linus Atorf, R. Schwann, Johannes Ballé, Tobias Herold, Aulis TelleActa 2008

Abstract

Traditional engineering education often front-loads theoretical mathematics, leading to a disconnect for first-semester students. To combat this, RWTH Aachen University established a new introductory course in practical engineering. This full-time, eight-day block course teaches MATLAB programming to over 300 students using LEGO Mindstorms robots. By bridging abstract mathematical methods with real-world hardware applications, the course successfully boosts student motivation and advances technical skills early in the curriculum.

Introduction: Addressing the "Theory-First" Gap

A common challenge in engineering education is the "sophomore slump," where students lose interest due to a curriculum dominated by abstract theory before they experience hands-on engineering. To address this, researchers at RWTH Aachen University developed a "low-floor, high-ceiling" environment for freshmen. The goal was to allow students to "feel like engineers" immediately by using MATLAB—a standard industry tool—to control tangible hardware.

The Threefold Learning Concept

The pedagogical foundation of the course rests on a threefold learning concept that balances theory, software, and hardware.

The threefold learning concept integrating theory, programming, and practice.
  1. Mathematical Methods: Students apply first-semester theory, such as complex numbers and matrix operations, to physical problems.
  2. Programming: MATLAB is taught as a primary tool for algorithm development.
  3. Practical Engineering: LEGO Mindstorms NXT robots provide the physical platform for testing these algorithms.

Technical Implementation: The RWTH – Mindstorms NXT Toolbox

To facilitate this integration, the team developed a custom MATLAB toolbox. Unlike standard LEGO software that requires a "compile and download" cycle, this toolbox allows for direct control via Bluetooth. This enables "interactive program execution," allowing students to see the immediate effects of their code and debug in real-time—a critical feature for maintaining student engagement and "flow."

Course Structure and Curriculum

The course is delivered as an intensive eight-day block, structured to move students from basic sensor-motor interactions to complex, open-ended projects.

The eight-day course schedule divided into basic exercises and major tasks.
  • Part One (Days 1-5): Focuses on basic exercises covering touch, sound, light, and ultrasonic sensors. A highlight is the "Complex Phase Machine," where students use mechanical pointers to visualize complex number operations.
  • Part Two (Days 6-8): Students work in teams of four on major tasks, such as autonomous navigation, 3D sorting, or image scanning.

Key Insights: Learning from Limitations

Interestingly, the limitations of the "low-budget" hardware served as valuable teaching moments. The inherent noise in LEGO sensors and the ~30ms latency of Bluetooth communication forced students to write robust code that accounted for real-world uncertainty. This shift from "ideal math" to "practical engineering" is a core takeaway of the program.

Results and Evaluation

The course has shown significant success across several metrics:

  • Skill Acquisition: Before the lab, only a small fraction of students felt confident in MATLAB. After the course, 92% rated their skills as "excellent" or "good."
  • Engagement: The course received an 89% positive validation rating.
  • Creativity: Nearly half of the students went beyond the assigned tasks, developing original applications like Morse code decoders and autonomous parking vehicles.

Conclusion

By integrating MATLAB with LEGO Mindstorms through a dedicated toolbox, RWTH Aachen has created a scalable model for early engineering engagement. The course proves that even simple hardware can be a powerful tool for teaching professional-grade engineering concepts when paired with the right pedagogical framework and software interface.

Summary updated

BibTeX
@inproceedings{behrens2008first,
  author = {Axel Behrens and Linus Atorf and R. Schwann and Johannes Ballé and Tobias Herold and Aulis Telle},
  title = {{First Steps into Practical Engineering for Freshman Students Using MATLAB and LEGO Mindstorms Robots}},
  booktitle = {Acta},
  year = {2008},
  doi = {10.14311/1007},
}
Figure