原廠連結:http://excamera.com/sphinx/gameduino2/
(click on any image for the video and code)
You can now buy a Gameduino 2 directly from our online store or from one of these US distributors:
And internationally from:
The Gameduino 2 book is available from Amazon USA, UK, France and Germany.
It is also available as a PDF download, and a Chinese translation by YunFei Robotics Laboratory is also available for download.
The Gameduino 2 library and tools are available at Gameduino 2 code.
For development discussion, there is a forum http://gameduino2.proboards.com/
Gameduino 2 is open source hardware and software, released under BSD license. The PCB schematics and layout are here.
Here is the FAQ for troubleshooting and setup help.
Gameduino 2 was a project on Kickstarter October 8th - November 6th 2013. Backer rewards shipped on Dec 18th-20th.
Gameduino 2 is a shield that adds a bright 4.3 inch touchscreen, an embedded GPU, headphone jack, accelerometer and microSD slot to your Arduino - or anything else with an SPI interface. Everything you need to create compelling games – right in your hand.
- video output is 480x272 pixels in 24-bit color
- OpenGL-style command set
- Up to 2000 sprites, any size
- 256 Kbytes of video RAM
- smooth sprite rotate and zoom with bilinear filtering
- smooth circle and line drawing in hardware - 16x antialiased
- JPEG loading in hardware
- built-in rendering of gradients, text, dials and buttons
Sound output is via an amplified headphone jack. The system supports a selection of built-in samples and instruments, and can also play samples from video memory, at up to 48KHz.
The FT800 can handle media in several formats to reduce the memory footprint:
- decodes JPEGs directly
- for lossless image loading, decompresses (zlib INFLATE) directly
- audio samples can be 8-bit linear, ulaw or ADPCM
Built into the GPU’s ROM are:
- high-quality fonts in 6 sizes
- samples of 8 musical instruments, playable by MIDI note
- samples of 10 percussion sounds
and of course you can load your own fonts and audio samples into the 256KB RAM.
Gameduino 2 is much like the first Gameduino, an SPI peripheral. The sdcard is also on SPI. The accelerometer is analog, so there are three analog pins for X,Y,Z. Touch and audio functions are handled by the FT800, so take no extra pins. The full pinout (Arduino shield pin numbers)
GND | pwr | Signal ground |
5V | pwr | Main supply: 5-7V |
11 | in | SPI MOSI |
12 | out | SPI MISO |
13 | in | SPI SCK |
8 | in | GPU SEL |
9 | in | SD SEL |
2 | out | INTERRUPT |
A2 | out | ACCEL_Z |
A1 | out | ACCEL_Y |
A0 | out | ACCEL_X |
For power, the shield needs 5-7v at 200ma on the 5V input; it has on-board regulation.
It is a 3.3v device, but the inputs go through a level-shifter so are also 5v tolerant. The range of the analog outputs is 0-3.3v.
資料來源:http://www.yfworld.com/?page_id=2312
今天給大家介紹的新玩意是去年十月在Kickstarter上籌資成功的一款嵌入式圖形外設:Gameduino 2。Gameduino 2是Gameduino的升級版,這兩款硬件都曾經在Kickstarter成功籌資。與Gameduino一代不同,Gameduino 2集成了TFT觸摸屏,從而不需要像一代一樣使用VGA輸出圖像,使得其更加整體化。
雲飛實驗室在該開源項目中,參加了中文手冊的翻譯和製作工作。最新的Gameduino 2中文手冊 (V1.0) 可以在此處下載。
Figure 1. Gameduino 2在Kickstarter的籌資
Gameduino 2結合GPU芯片、4.3吋觸摸屏、三軸加速度傳感器、SD卡接口和音頻接口,主要設計目標是構建一個基於Arduino / 樹莓派的遊戲平台,但就我目前的使用情況,該平台同樣適用於設計簡單的用戶交互界面,而且經過移植同樣可以用於其他嵌入式平台。我在英國Cool Components網站上以54磅(540人民幣)的價格購得,因為較新所以目前國內銷售該平台的廠商還不多,相信不久就能跟進了。
目前在原作者的支持下,Gameduino 2的開發手冊已由本實驗室翻譯完成並正式發佈(下載鏈接見本頁置頂)。同時,雲飛實驗室也將提供關於該模塊的實驗例程與技術支持。
● 與Arduino、樹莓派等控制器結合使用,提供軟件支持庫,極易使用;
● 使用FTDI公司FT800 GPU芯片,該芯片為SPI接口,最大支持驅動512*512像素的LCD屏,具有內置的圖形指令、觸摸屏指令和音頻指令;
● 使用4.3吋LCD觸摸屏,視頻分辨率為480*272*24bit;
● 類Open-GL的圖形編程指令;
● 最大支持2000個圖形分塊(sprites);
● 256KB視頻緩衝;
● 提供旋轉、伸縮以及雙線性過濾;
● 硬件支持點、線、圓的繪製,16倍抗鋸齒;
● 硬件支持JPEG的載入;
● 硬件支持文本、按鈕、漸變色的繪製。
正是由於以上的特性,Gameduino有極強的圖形繪製能力,可以在低速MCU上實現複雜的2D/3D圖形繪製。
Gameduino 2的引腳定義如下:
從圖中可見,Gameduino 2主要使用了一組SPI接口,被GPU與SD卡復用,通過D8與D9選通;另外三個模擬信號用於加速度傳感器,輸出的模擬量與對應軸的加速度成正比。還有一個INT引腳我目前也不太清楚用於什麼用途,推測應該是觸摸事件的中斷信號。
在我看來,Gameduino 2可能的應用領域有:
● 圖形編程的學習平台
● 電子藝術與圖形算法驗證
● 樹莓派及Arduino的用戶交互界面
● 與傳感器結合實現環境交互式作品
說了這麼多,下面展示幾個基於Gameduino 2的作品:
Figure 5. Gameduino 2+Arduino Mega顯示Hello World
Figure 6. Gameduino 2+Arduino UNO顯示混沌圖形
Figure 9. 官方例程:chess
Figure 10. 官方例程:invaders
目前雲飛實驗室可能是國內最早接觸到這款GPU圖形外設的博客,實際使用一段時間後,Gameduino 2的性能給我留下了深刻的印象,這也是為什麼我願意深入研究這個項目的原因。目前在原作者的支持下,我正在進行本模塊說明手冊的翻譯,等翻譯工作完成後,我將提供更多關於Gameduino2的使用方法與例程,同時會將Gameduino 2移植到更多的嵌入式平台。
[1] GD2 項目主頁:http://excamera.com/sphinx/gameduino2/index.html#gameduino2
[2] GD2 Kickstarter:https://www.kickstarter.com/projects/2084212109/gameduino-2-this-time-its-personal
[3] GD2技術討論論壇:http://gameduino2.proboards.com/
V1.1 2014/03/30 增加了應用領域一節。
資料來源:https://www.seeedstudio.com/Gameduino-2-p-1676.html
Dimensions | 120mm x 75mm x 30mm |
Weight | G.W 81g |
Battery | Exclude |