This project generates random mazes and their solution using an Adafruit Metro M4 Express and an Adafruit ePaper shield. This is a fun, no-solder project suitable for all ages with three difficulty levels to choose from. You will have some a-maze-ing fun with it!

This project does not use WiFi, so it will work with either the Metro M4 Express or the Metro M4 Express Airlift. This project can be made portable by adding a battery, making it a great activity to take on a long car ride to minimize hearing "Are we there yet?" from the back of the car.

The original maze generator code this project is based on was written over 20 years ago in C for printing random mazes on paper. The use of the ePaper shield in this project brings a modern touch to this classic code.

There are 3 levels of maze difficulty to choose from


Building this project requires no soldering and uses just two parts: the Adafruit Metro M4 Express and the Adafruit 2.7" Tri-Color eInk / ePaper Shield with SRAM.  Either the Metro M4 or Metro M4 Airlift Express can be used. To make this project portable, you could use a 9V battery and adapter (shortest battery life) or add a USB battery pack and adapter cable (longer life and rechargeable).

If you are interested in ePaper displays for other projects, check out the entire line of Adafruit's ePaper displays.

Top down view of a Adafruit 2.7" Tri-Color eInk / ePaper Shield with SRAM - Red Black White.
Easy e-paper finally comes to microcontrollers, with this breakout that's designed to make it a breeze to add a tri-color eInk display. Chances are you've seen one of those...
Out of Stock
Angled shot of a Adafruit Metro M4 feat. Microchip ATSAMD51.
Are you ready? Really ready? Cause here comes the fastest, most powerful Metro ever. The Adafruit Metro M4 featuring the Microchip ATSAMD51. This...
In Stock
Adafruit Metro M4 Airlift Lite dev board with SAMD51 an ESP32 Wifi Co-processor.
Give your next project a lift with AirLift - our witty name for the ESP32 co-processor that graces this Metro M4. You already know about the Adafruit Metro...
In Stock
USB cable - USB A to Micro-B - 3 foot long
This here is your standard A to micro-B USB cable, for USB 1.1 or 2.0. Perfect for connecting a PC to your Metro, Feather, Raspberry Pi or other dev-board or...
In Stock
Angled shot of black 9V battery holder with on-off switch and 5.5mm/2.1mm plug.
This is a 9V battery pack with on/off switch and a pre-attached 5.5mm/2.1mm center-positive barrel plug. Use this to battery-power your Arduino (or other electronic projects) -...
In Stock
Angle shot of PKcell 9V battery.
Battery power for your portable project! These batteries are high quality at a good price and work fantastic with any of the kits or projects in the shop that use 9V.These...
In Stock

This guide was first published on Jul 19, 2019. It was last updated on Jun 24, 2024.

This page (Overview) was last updated on Mar 08, 2024.

Text editor powered by tinymce.