Presentation is loading. Please wait.

Presentation is loading. Please wait.

ECE 477 Design Review Team 6  Spring 2006 Greg Snow Allan Patterson Kyle McGhee Joseph Davidson.

Similar presentations


Presentation on theme: "ECE 477 Design Review Team 6  Spring 2006 Greg Snow Allan Patterson Kyle McGhee Joseph Davidson."— Presentation transcript:

1 ECE 477 Design Review Team 6  Spring 2006 Greg Snow Allan Patterson Kyle McGhee Joseph Davidson

2 Outline Project overview Project-specific success criteria Block diagram Component selection rationale Packaging design Schematic and theory of operation PCB layout Software design/development status Project completion timeline Questions / discussion

3 Project Overview Wireless, Handheld TetriNET client TetriNET is an online variant of Tetris that allows a player to use “special attacks” on himself or other opponents’ playing boards Device controls a local game of TetriNET Communicates with TetriNET servers via 802.11 to update opponent’s playing boards and realize any special attacks Device provides the ability to view current battery level and recharge if necessary Screen shot shows the user’s playing board along with the board of one other opponent (the opponents boards can be rotated in to view every player in the game)

4 Project Specific Success Criteria 1. An ability to connect to TetriNET servers via 802.11b and communicate with them using the TetriNET protocol. 2. An ability to display game/status information on a graphics LCD. 3. An ability to control game action using a Directional-Pad and pushbuttons. 4. An ability to download and save (in non-volatile memory) game configuration (e.g., game appearance and preferences). 5. An ability to display battery "fuel gauge" (on LCD) and recharge battery when connected to an "A.C. adapter".

5 Block Diagram

6 Microcontroller Selection PriceFlashEEPROMSRAMI/O PinsMax Freq.VCC Atmel ATmega2561$17.09256 KB4 KB8 KB5416 MHz1.8-5.5 V Atmel ATmega1281$15.99128 KB4 KB8 KB5416 MHz1.8-5.5 V Atmel ATmega2560$17.97256 KB4 KB8 KB8616 MHz1.8-5.5 V Considerations: Necessary I/O Pins: 47 (Compact Flash, LCD, Pushbuttons, Reprogramming Circuit, Power Circuit) Larger Flash size provides memory to store any necessary libraries and color schemes for game play 3.3V operating voltage matches all other components

7 LCD Screen Selection Price Number of Dots Colors Viewing Area Dot Size Back Light Controller Hantronix HDM3224CL-S$122.64240 x 32083.9"234 μ m x 68 μ mLEDExcluded CrystalFontz CFAG320240C-YMI-VZ LCD $132.90320 x 24015.96"340 μ m x 340 μ mLEDIncluded EarthLCD ezLCD-001$149.00240x1605122.7"80 μ m x 240 μ mLEDIncluded Considerations: ezLCD includes built-in controller providing ability to issue drawing commands instead of sending color data pixel by pixel ezLCD provides much deeper color depth, allowing up to 512 colors ezLCD provides necessary step up voltage circuitry to obtain voltages for backlight ezLCD manufacturer provides free development kit for academic sales

8 Power Supply Selection PriceVoltage Current Lifetime SizeWeight 2S-325085 Polymer Li-Ion Battery$19.957.4 V1500 mAh3.25" x 2" x.125"2 oz. 35H10008-80 PDA T-Mobile Battery$19.485.0 V1000 mAh HP 359113-001Li-Ion Battery$25.003.6 V3600 mAh4.33" x 2.80" x.53"3.899 oz. Considerations: DC regulator’s required input voltage: 4.5 V Polymer Li-Ion battery provides a longer lifetime than the PDA battery (more similar in cost & weight) HP Li-Ion battery would prove to be too large for our handheld device Polymer Li-Ion battery comes with a protection circuit to prevent over-charging and over-discharging

9 Wireless Interface Selection PriceInterfaceDimensions DigiConnect Wi-ME$275.00Serial.75” x.75 x 1.95” Lantronix WiPort$150.00Serial1.335” x 1.280” x 0.415” DPAC Airborne WLNB-SE-DP101$108.00RS-2321.60” x 1.17” x.46” PRISM 2.5-based Compact Flash$39.99 Compact Flash 8-bit mode 1.433” x 1.685” x.130” Considerations: Compact Flash is the cheapest available option Compact Flash card dimensions are small enough to fit in a wireless device PRISM based drivers are very well documented

10 Packaging Design Packaging typeModified Teko SM1.9 Casing compositionPolystyrene ColorBlack Length160 mm Width95 mm Height30 mm

11 Packaging Design Packaging typeModified Teko SM1.9 Casing compositionPolystyrene ColorBlack Length160 mm Width95 mm Height30 mm

12 Microcontroller Circuit Central hub for almost all other components Primarily communicates with: Compact Flash Button MUX LCD Screen Reprogramming Circuit [Power Circuit]

13 Microcontroller Circuit - RP Reprogramming Circuit All pins attached to pins for alternate functions JTAG interface ISP interface Reset pin SPI Clock Signal Essentially, these pins are just run into headers which are used for debugging and reprogramming A surface-mounted push-button used to reset the system (only used for debugging)

14 Reprogramming Circuit

15 Microcontroller Circuit - BTN Button Circuit 10 Buttons Down, Left, Right, Up [Menu Navigation] Rotate Piece Use Item on Self, Use Item on Target Rotate Target Left, Rotate Target Right Pause / Quit Button signals fed into 5 2:1 MUX’s (PLD) Single select line from uC Button scanning performed by… Set select line low Check BTN_A0..4 for non-zero value Set select line high Check BTN_A0..4 for non-zero value Considering using an RC circuit attached to each button to keep button signal active for several milliseconds

16 Button Circuit

17 Microcontroller Circuit - CF Compact Flash [802.11 Wireless] 11 Address pins Compact Flash operating 8-bit mode Interfacing to a PRISM2 Chipset Wireless Card Send commands to PRISM2 Chipset, and it handles networking Implementing 802.11 with Microcontrollers [book] Price & Size vs other wireless solutions

18 Wireless Compact Flash Circuit

19 Microcontroller Circuit – COM&LCD External Communication [Debugging] LCD External Communication signal sends RS232 signals to header for debugging (from microcontroller) LCD receives RS232 signals (can also input USB, I 2 C, SPI & 8-bit parallel) ezLCD-001 inputs instruction signals For example… Draw “icon” at Write text “east” (3 other directions included) Change font All pins currently enter headers in case future expansion is necessary

20 External Communication & LCD Circuit

21 Power Circuit Three primary components Battery Power reader Voltage regulator Battery Recharger System has two states “On” – no recharging capability “Off” – Rechargeable Battery Power reader Difference Amplifier (Vbat – Vcc) x Gain 3.3M / 5.6M (high impedence) Fed into ATD pin Voltage Regulator Regulates to 3.3V Recharging circuit Tested and known to work Diode prevents drain Battery has protection circuit

22 PCB Layout Design Considerations:  ezLCD-001 must be in the middle of the PCB.  CompactFlash header must be at the top of the PCB.  Microcontroller placed on the back to lower the amount of vias used.  Large width traces (40 mil) used for power and ground supplies  Ground primarily routed on the bottom of the board, power primarily routed on the top.  Power circuit (whose components all use large amounts of current) located in one corner of the board, away from the other components, by the AC wall wart input.

23 PCB Layout – Full PCB

24 PCB Layout – Top Side

25 PCB Layout – Bottom Side

26 Software Design/Development Status Initial versions of “TetriSim” written Simulates LCD and button circuits Allows programming of game on computer Uses GLUT (open GL Utility Toolkit) to process graphics and inputs PRISM2 Driver Based on code by Fred Eady, Linux Implementing 802.11 with Microcontrollers Need to implement DHCP, 802.11 Site Survey

27 Project Completion Timeline Current Status : 2/28 (Tuesday of Week 8) Completely Routed PCB Board All Parts in Hand Preliminary Software (TetriSim) Project Completion Timeline Network Communication Software : 3/24 (Friday of Week 10) Local Tetris Software : 3/24 (Friday of Week 10) TetriNET Protocol : 3/31 (Friday of Week 11) User Interface / Battery Measurement Software : 3/31 (Friday of Week 11) Board Assembly / Complete Hardware Testing : 3/31 (Friday of Week 11) Complete Hardware / Software Debugging : 4/21 (Friday of Week 14)

28 Questions / Discussion


Download ppt "ECE 477 Design Review Team 6  Spring 2006 Greg Snow Allan Patterson Kyle McGhee Joseph Davidson."

Similar presentations


Ads by Google