Open renn-the-dev opened 1 month ago
LED Matrix Board - $8.99 | Product Page | Datasheet
A 8x(8*4) grid of red LEDs that can be toggled on or off. Supports SPI communication. Clear datasheet, with accompanying example schematics. 2(?) dedicated pins required.
4 buttons - pre-owned | Datasheet
Simple buttons, oriented to mimic upside down keyboard arrow keys. Simple GPIO. Four dedicated pins required. Left and right move the Tetrino. The center button rotates. The down button instantly drops the Tetrino.
Potential extension: A potentiometer to adjust the speed of the Tetrinos. Since there's no contrast control on the LED matrix, it could be easily repurposed for adjusting the clock speed, and consequently adjusting the speed of travel. Potential extension: A buzzer to notify the user when they've lost. Also coming as part of the kit it should be an easy extension, but not necessarily a priority. It would be easier to just code a losing animation, regardless.
Goal
Determine the minimum required hardware and schematic to build a functioning Tetris game prototype, preferably using majority pre-owned components. This stage should consider how these components will function together, the pins required to drive them, and the cost of acquiring additional hardware. Unfortunately, user experience is a distant third in this priority list.
With enough confidence, at the end of this ticket orders should be placed for the required additional hardware components.
Constraints
Recommendations
Display
Interactive Controls
Incidental/Stretch Hardware Requirements
Listed here
Schematic
<TBD, need to verify LED matrix functionality>