- makeITcircular 2024 content launched – Part of Maker Faire Rome 2024Posted 1 month ago
- Application For Maker Faire Rome 2024: Deadline June 20thPosted 3 months ago
- Building a 3D Digital Clock with ArduinoPosted 8 months ago
- Creating a controller for Minecraft with realistic body movements using ArduinoPosted 8 months ago
- Snowflake with ArduinoPosted 9 months ago
- Holographic Christmas TreePosted 9 months ago
- Segstick: Build Your Own Self-Balancing Vehicle in Just 2 Days with ArduinoPosted 9 months ago
- ZSWatch: An Open-Source Smartwatch Project Based on the Zephyr Operating SystemPosted 10 months ago
- What is IoT and which devices to usePosted 10 months ago
- Maker Faire Rome Unveils Thrilling “Padel Smash Future” Pavilion for Sports EnthusiastsPosted 11 months ago
Arduino Snake LED game
In this project we will see how to recreate the Snake game on a matrix of LEDs. After loading, the game will automatically start with the snake in the lower left corner. An apple will randomly spawn and you can start moving the snake with a joystick.
We have an 8 x 12 matrix of LEDs with ws2811 chips powered by an external 5v power supply. This game works with matrix of any size with minor code changes. We use an Arduino (in this case Mega) to control the lights in the matrix. The circuit diagram is shown below.
The joystick is an analog stick that requires only 3 inputs for the Arduino: 2 analog inputs to read the x and y direction and a digital input to know if the analog stick is pressed. All wiring and power supply are hidden inside the table.