It is well known by the educational community that active learning has a greater impact on the effectiveness of the learning process than other methods. It has long been recognized that the most effective learning techniques involve direct, purposeful learning experiences, such as hands-on or field experiences. In particular, computer-controlled models have been a useful aid in teaching programming, Artificial Intelligence and Robotics concepts. This paper describes our experience using LEGO Mindstorms® in three different scenarios: an elementary course on Programming, an advanced-level course on Artificial Intelligence and a third first-level course on Robotics. Our focus in those experiments is not on whether using LEGO kits is better than other methods to learn a programming language, AI algorithms or Robotics, but rather on introducing how this mixture of collaboration, competition and peer learning in a laboratory environment helps the students to increase their motivation and improve their professional skills such as problem solving, team work and leadership.