Alan Carvalho de Assis
Published © Apache-2.0

Brick Match: A Natural Interface Game that all MakerLab need

This is an interactive game where the player needs to join 3 or more blocks of same color to make it disappear and release more space.

IntermediateFull instructions provided4 hours259

Things used in this project

Hardware components

Espressif ESP32 Development Board - Developer Edition
Espressif ESP32 Development Board - Developer Edition
In this example we will use the ESP32-Devkit board, but you can use any ESP32 board. Actually it could work on any board supported by NuttX RTOS!
×1
APA102 or SK9822 RGB LED 16x16 Matrix
×1
SparkFun APDS9960 Gesture Sensor Module
×1
5V 2.5A Switching Power Supply
Digilent 5V 2.5A Switching Power Supply
×1

Software apps and online services

NuttX RTOS
NuttX RTOS

Story

Read more

Custom parts and enclosures

Acrylic Grid for Laser Cutter

Schematics

Brickmatch schematic

It is very easy to create this project. All You need to do is connect 5 wires of APDS9960 (GND, 3.3V, SCL, SDA and INT) and 3 wires from APA102 RGB LED Matrix (GND, CI, DI) to ESP32-Devkitc boards. Also you need to feed the APA102 LED Matrix with 5V using a good power supply (use one with more than 1 Ampere).

Code

Steps to compile the brickmatch game

SH
The brickmatch game is already integrated on NuttX, so all you need to do is follow the instructions to compile the source code.
If you are new to NuttX, you can follow the instructions in the documentation to install the prerequisites in your computer: https://nuttx.apache.org/docs/latest/quickstart/install.html
$ git clone https://github.com/apache/nuttx
$ git clone https://github.com/apache/nuttx-apps apps
$ cd nuttx
$ ./tools/configure.sh esp32-devkitc:brickmatch
$ make -j
$ make flash ESPTOOL_PORT=/dev/ttyUSB0

Credits

Alan Carvalho de Assis
2 projects • 11 followers
Contact

Comments

Please log in or sign up to comment.