Xavi RigauPaul Blundell
Published © GPL3+

Android Things Dungeon Adventure Game

A one-dimensional dungeon adventure game built using an LED strip, an accelerometer/gyro sensor and a Raspberry Pi 3 running Android Things.

IntermediateFull instructions provided20 hours3,301
Android Things Dungeon Adventure Game

Things used in this project

Hardware components

Raspberry Pi 3 Model B
Raspberry Pi 3 Model B
×1
APA102 LED RGB Strip
We used the 60 LEDs/metre version as the game looks much better than the 30LEDs/metre one and it feels smoother. We used all 300LEDs (5 metres)
×1
5V Power Supply
We used all 300 LEDs that the LED strip had, so we needed the 18A that this power supply outputs
×1
Spring door stop
×1
GY-521 MPU-6050 3 Axis Gyroscope + Accelerometer Module For Arduino
×1

Software apps and online services

Android Things
Google Android Things
Firebase
Google Firebase

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)

Story

Read more

Custom parts and enclosures

Enclosure

Contains 3 pieces: - The enclosure to hold the Raspberry Pi 3 and the power supply - The top part that holds the joystick in place - A piece to press the spring to the top part (optional, to ensure the spring won't fall off)

Novoda logo (without the base)

Novoda logo (with a base)

Schematics

Connection Schematics

Connection Schematics (image)

Code

Source Code

Source code for the game and for the companion app

Credits

Xavi Rigau

Xavi Rigau

1 project • 6 followers
Android with a person outfit. Android Software Craftsman @Novoda
Paul Blundell

Paul Blundell

1 project • 7 followers
Android Developer by trade, IoT by night.
Thanks to Robin Baumgarten and Critters.

Comments