|
|
Line 1: |
Line 1: |
| == Introduction == | | == Introduction == |
| | | |
− | Gameduino is a game adapter for Arduino (or anything else with an SPI interface) built as a single shield that stacks up on top of the Arduino and has plugs for a VGA monitor and stereo speakers. The sound and graphics are definitely old-school, but thanks to the latest FPGA technology, the sprite capabilities are a step above those in machines from the past. The adapter is controlled via SPI read/write operations, and looks to the CPU like a 32Kbyte RAM. (Unlike many 8-bit machines, there are no restrictions on when you can access this RAM). There is even a handy reference poster (which you can download below) showing how the whole system works.
| + | The USB Host Shield contains all of the digital logic and analog circuitry necessary to implement a full-speed USB peripheral/host controller with your Arduino. This means you could use your Arduino to interface with and control any USB slave device - thumbdrives, digital cameras, bluetooth dongles, and much more! |
| | | |
− | Model:[GAMEDUINO]
| + | A four-wire serial interface is used to communicate with the host controller chip, so the shield connects the Arduino's hardware SPI pins (D10-13) to the MAX3421E. A USB type A female connector is wired up to the IC, and it also supplies 5V as any normal USB port would. |
| | | |
− | [[File:gameduino.jpg]]
| + | The Host Shield takes its power from the 'Vin' pin on your Arduino. Power from that pin is regulated to both 5V and 3.3V on the shield. All SPI signals are sent through a hex converter to step them down to 3.3V. |
| | | |
| == Features == | | == Features == |
| | | |
− | *Video output is 400x300 pixels in 512 colors
| |
− |
| |
− | *All color processed internally at 15-bit precision
| |
− |
| |
− | *Compatible with any standard VGA monitor (800x600 @ 72Hz)
| |
− |
| |
− | *Background Graphics
| |
− | *#512x512 pixel character background
| |
− | *#256 characters, each with independent 4 color palette
| |
− | *#pixel-smooth X-Y wraparound scroll
| |
− |
| |
− | *Foreground Graphics
| |
− | *#each sprite is 16x16 pixels with per-pixel transparency
| |
− | *#each sprite can use 256, 16 or 4 colors
| |
− | *#four-way rotate and flip
| |
− | *#96 sprites per scan-line, 1536 texels per line
| |
− | *#pixel-perfect sprite collision detection
| |
− |
| |
− | *Audio output is a stereo 12-bit frequency synthesizer
| |
− |
| |
− | *64 Independent Voices 10-8000 Hz
| |
− |
| |
− | *Per-Voice Sine Wave or White Noise
| |
− |
| |
− | *Sample Playback Channel
| |
| | | |
| == Application Ideas == | | == Application Ideas == |
Line 47: |
Line 22: |
| == Schematic == | | == Schematic == |
| | | |
− | [https://s3.amazonaws.com/linksprite/Shields/Gameduino/gameduino_sch.pdf Schematic of Gameduino for Arduino]
| |
| | | |
| == Specification == | | == Specification == |
| | | |
− | [https://s3.amazonaws.com/linksprite/Shields/Gameduino/Gameduino_Tutorial.pdf Tutotial of Gameduino]
| |
| | | |
| == Pin definition and Rating == | | == Pin definition and Rating == |
Line 70: |
Line 43: |
| === Hardware Installation === | | === Hardware Installation === |
| | | |
− | *Physical Connection:
| |
− | Gameduino is the standard Arduino module. Arduino pins which have to be connected to it are as following picture shows:
| |
− |
| |
− | [[File:Physical Connection.png]]
| |
− |
| |
− | [[File:111.png]]
| |
− |
| |
− | Gameduino is superimposed on top of Arduino directly.
| |
| | | |
| | | |
| === Programming === | | === Programming === |
| | | |
− | *How to burn the codes into SPI flash:
| |
− | FPGA Verilog codes:[http://excamera.com/files/gameduino/verilog/ Download]
| |
− |
| |
− | Composite these codes through the ISE. Program them. Then, the executable bit file can be generated.
| |
− |
| |
− | [[File:3104.jpg]]
| |
− |
| |
− | Open ISE iMPACT
| |
− |
| |
− | [[File:3128.jpg]]
| |
− |
| |
− | Double click PROM File Formatter,
| |
− |
| |
− | [[File:3201.jpg]]
| |
− |
| |
− | Choose Configure Single FPGA in the SPI Flash of the Storage Device Type. Click next
| |
− |
| |
− | [[File:3221.jpg]]
| |
− |
| |
− | Gameduino’s Flash capacity is 4M. Click Add Storage Device and click next
| |
− |
| |
− | [[File:3237.jpg]]
| |
− |
| |
− | Name the file and choose address. Click OK.
| |
− |
| |
− | [[File:3306.jpg]]
| |
− |
| |
− | Click OK. Add .bit file.
| |
− |
| |
− | [[File:3318.jpg]]
| |
− |
| |
− | [[File:3335.jpg]]
| |
− |
| |
− | Click Generate File…,if
| |
− |
| |
− | [[File:3351.jpg]]
| |
− |
| |
− | Comes, means the .mcs file which has to be burnt into SPIflash is generated successfully.
| |
− |
| |
− | [[File:5942.jpg]]
| |
− |
| |
− | Double click Boundary Scan. Choose .bit file and following dialogue comes out:
| |
− |
| |
− | [[File:0000.jpg]]
| |
− |
| |
− | Click Yes,choose.mcs file and following dialogue comes out.
| |
− |
| |
− | [[File:0015.jpg]]
| |
− |
| |
− | The type of SPI PROM used on Gamedunio is AT45DB041B. Click OK
| |
− |
| |
− | [[File:0054.jpg]]
| |
− |
| |
− | Choose FLASH,program,
| |
− |
| |
− | [[File:0109.jpg]]
| |
− |
| |
− | Burn the codes into SPI FLASH successfully.
| |
| | | |
| == FAQ == | | == FAQ == |
− | [http://answers.gameduino.com/questions/ Gameduino FAQ Forum]
| |
| | | |
| == Support == | | == Support == |
− |
| |
− | If you have questions or other better design ideas, you can go to our [http://www.linksprite.com/forum/index.php forum] to discuss or creat a ticket for your issue at [http://www.linksprite.com/support/ linksprite support].
| |
| | | |
| == Resources == | | == Resources == |
| | | |
− | *[http://excamera.com/sphinx/gameduino/ Gameduino web site]
| |
− |
| |
− | *[http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Dev/Arduino/Shields/poster.pdf Reference Poster in PDF]
| |
− |
| |
− | *[http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Dev/Arduino/Shields/Gameduino.zip Example Code and Library]
| |
| | | |
| == How to buy == | | == How to buy == |
| | | |
− | Here to buy Gameduino for Arduino [http://www.cutedigi.com/arduino-shields/gameduino-for-arduino-a-game-adapter-for-microcontrollers.html GAMEDUINO] on LinkSprite [http://www.cutedigi.com/ Cart]
| |
| | | |
| == See Also == | | == See Also == |
Introduction
The USB Host Shield contains all of the digital logic and analog circuitry necessary to implement a full-speed USB peripheral/host controller with your Arduino. This means you could use your Arduino to interface with and control any USB slave device - thumbdrives, digital cameras, bluetooth dongles, and much more!
A four-wire serial interface is used to communicate with the host controller chip, so the shield connects the Arduino's hardware SPI pins (D10-13) to the MAX3421E. A USB type A female connector is wired up to the IC, and it also supplies 5V as any normal USB port would.
The Host Shield takes its power from the 'Vin' pin on your Arduino. Power from that pin is regulated to both 5V and 3.3V on the shield. All SPI signals are sent through a hex converter to step them down to 3.3V.
Features
Application Ideas
Cautions
The warnings and wrong operations possible cause dangerous.
Schematic
Specification
Pin definition and Rating
Mechanic Dimensions
Usage
Hardware Installation
Programming
FAQ
Support
Resources
How to buy
See Also
Other related products and resources.
Licensing
This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are licensed under GPL/LGPL, see source code files for details.