3D Game "Space Potatoes" for Arduino Uno
by bitpix in Circuits > Arduino
82 Views, 0 Favorites, 0 Comments
3D Game "Space Potatoes" for Arduino Uno
3d sci-fi shooter based on a raycasting engine (in the style of Wolfenstein). The idea of the game itself and the name " Space Potatoes " is a reference to Stanislav Lem's series of stories about Ijon Tichy, namely "The Twenty-Fifth Journey", in which the main character recalls how, not far from the planet Tairia, he was attacked by a predatory potato.
The project's engine was based on the Doom for Arduino project. Uno " by daveruiz (https://github.com/daveruiz/doom-nano).
Supplies
Project composition
- Arduino Uno (ATmega328P)
- OLED 0.96" 128x64 (SSD1306)
- 6 tact buttons
- Piezoelectric buzzer
- 6 buttons
- Connecting wires
- Breadboard
System resources used:
RAM: 88.9% (used 1821 bytes from 2048 bytes)
Flash: 99.7% (used 32174 bytes from 32256 bytes)
Controls
- LEFT — Turn left
- RIGHT — Turn right
- UP — Forward movement
- DOWN — Backward movement
- FIRE — Shooting / Punching
- WEAPON — Change weapon
Link to GitHub: https://github.com/dotermine/3D-game-Space-Potatoes-for-Arduino-Uno
Connection
Connection diagram:
OLED VCC 5V
OLED GND GND
OLED SCL A5
OLED SDA A4
PIEZO BUZZER + D9
UP BUTTON 1 D3
DOWN BUTTON 1 D4
LEFT BUTTON 1 D2
RIGHT BUTTON 1 D5
FIRE BUTTON 1 D7
USE BUTTON 1 D8