The LEGO set 21305: Maze is a great analogue game that you can build, and it has been improved upon with an Arduino.

Maker Tim Bush has connected the completed set to a pair of motors (which are also official LEGO pieces). These motors are hooked up to an Arduino Uno which can then be controlled using a USB NES controller.

An improvement from the base game is an “earthquake mode” which shakes the table when the ball is stuck in one of the maze’s traps.

There are also two, 3D printed additions to the sides which indicate the board’s current rotation.



Depending on your knowledge of LEGO or control systems, you may find this project superfluous.

If you’re a LEGO purist, you can achieve the same results using official LEGO pieces only. The two motors can be connected to the battery box and IR receiver pieces, and then controlled with the two-stick IR remote control.

Alternatively, there’s a lot of existing ways to connect LEGO parts, especially the Mindstorms range, to either an Arduino or Raspberry Pi. Check out Dexter Industries for ideas on how to do both.

All that being said, it’s still a great student project made for the Makecourse at the University of South Florida. Check out the documentation of you want to give it a grade of your own.