Buzz Wire TFT (Teensy Project)
·
Timo Denk
Arduino powered version of the game Buzz Wire with a TFT touch screen. This project was developed for Denk Development‘s customer Kreative Kiste.
Features
- Single- and multiplayer
- Multiplayer scoreboard
- Touchscreen name input
Video
The code itself was written in June 2016; the video was recorded on October 2, 2016.
Weblinks
Components
- Teensy 3.2 microcontroller
- TFT touch screen (e.g. 2.4″ 320*240 TFT LCD Touchscreen with PCB ILI9341)
- Buzz-Wire hardware
Libraries
Wiring
Teensy | Screen | Buzz-Wire | Description |
---|---|---|---|
Software Serial for debugging | |||
1 | Software Serial for debugging | ||
2 | Start / Stop | Main button | |
3 | Mistake | ||
4 | Buzzer | Sound signal | |
6 | DCLK | Touch clock | |
7 | DCS | Touch chip select | |
8 | TFT_RST | Reset | |
9 | TFT_DC | ||
10 | TFT_CS | Chip select | |
11 | TFT_MOSI | ||
12 | TFT_MISO | ||
13 | TFT_CLK | Clock | |
A0 | DOUT | Touch | |
A2 | DIN | Touch |
System States
enum GameState { Init, Start, GameTypeSelection, NameEntry, Waiting, Running, Over, Ranks, Scoreboard };