Arduino Tetris: Difference between revisions
Adamcolton (talk | contribs) Created page with "Use an Arduino pro mini with a Nokia display and a few simple push buttons. For power, there are 3.3v setup converts that can take the power from a single battery and step it..." |
Adamcolton (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
Use an Arduino pro mini with a Nokia display and a few simple push buttons. | Use an Arduino pro mini with a Nokia display and a few simple push buttons. | ||
For power, there are 3.3v setup converts that can take the power from a single battery and step it up to 3.3v. I want to add a mosfet and a button. The button will power the board, if the power button is held down long enough for the Arduino to power up (about 1 second), the Arduino will set a pin high to power the mosfet, which will keep power flowing. When the game is over, the Arduino will power itself off. | For power, there are 3.3v setup converts that can take the power from a single AAA battery and step it up to 3.3v. I want to add a mosfet and a button. The button will power the board, if the power button is held down long enough for the Arduino to power up (about 1 second), the Arduino will set a pin high to power the mosfet, which will keep power flowing. When the game is over, the Arduino will power itself off. | ||
Controls will be 3 buttons on the right (← ↓ →) | Controls will be 3 buttons on the right (← ↓ →), and two buttons on the left to rotate right and left. | ||
The game will be a 10x20 grid, each cell having 3 pixels. The display is 84x48, but I'll use it sideways. The game board will take up 60x30. This should leave room across the bottom for the score and off to one side to show the next piece. | |||
The whole thing should be tiny, just a few inches and should be able to run for a long time off a single battery. | |||
[[Category:Electronics]] | [[Category:Electronics]] | ||
Revision as of 03:38, 10 February 2017
Use an Arduino pro mini with a Nokia display and a few simple push buttons.
For power, there are 3.3v setup converts that can take the power from a single AAA battery and step it up to 3.3v. I want to add a mosfet and a button. The button will power the board, if the power button is held down long enough for the Arduino to power up (about 1 second), the Arduino will set a pin high to power the mosfet, which will keep power flowing. When the game is over, the Arduino will power itself off.
Controls will be 3 buttons on the right (← ↓ →), and two buttons on the left to rotate right and left.
The game will be a 10x20 grid, each cell having 3 pixels. The display is 84x48, but I'll use it sideways. The game board will take up 60x30. This should leave room across the bottom for the score and off to one side to show the next piece.
The whole thing should be tiny, just a few inches and should be able to run for a long time off a single battery.