Download
knight bright group 1 robin adams nathan doran tyler hemp hansen shaun sontos n.
Skip this Video
Loading SlideShow in 5 Seconds..
Knight Bright Group #1: Robin Adams Nathan Doran Tyler Hemp-Hansen Shaun Sontos PowerPoint Presentation
Download Presentation
Knight Bright Group #1: Robin Adams Nathan Doran Tyler Hemp-Hansen Shaun Sontos

Knight Bright Group #1: Robin Adams Nathan Doran Tyler Hemp-Hansen Shaun Sontos

150 Vues Download Presentation
Télécharger la présentation

Knight Bright Group #1: Robin Adams Nathan Doran Tyler Hemp-Hansen Shaun Sontos

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Knight BrightGroup #1:Robin AdamsNathan Doran Tyler Hemp-HansenShaun Sontos

  2. What is “Knight Bright”? • Knight Bright is a 2-dimensional, 100 (10x10) pixel tabletop interactive LED (RGB) gaming system. • The primary motivation behind this project is to develop a fun, easy to use, user-programmable interactive tabletop.

  3. Project Goals • Use the MCU to control an array of LEDs through LED drivers. • Transmit the output of an IR sensor circuit into the microprocessor. • Successfully integrate Bluetooth capabilities into the project. • Successfully integrate USB communication on both the user and developer levels. • Develop a host programming GUI environment. • Develop an Android based peripheral application.

  4. Specifications and Requirements

  5. H/W Requirements

  6. Overall Project Design

  7. Games: Tic-Tac-Toe

  8. Games: Tetris

  9. Games: Battleship

  10. Game Programming • Desktop programmer GUI can make games and upload them to the board • Sent to microcontroller via USB serial communication • Program stored in EEPROM as an assembly language type of program specific to this application

  11. Microcontroller • ATmega328P • 3 Microcontrollers • Primary microcontroller – Fetches and executes instructions from EEPROM. Directs actions of the other microcontrollers. • Display microcontroller – Executes commands related to LEDs and colors • Input microcontroller – Monitors IR sensors and has a buffer for received input

  12. Selecting the LED Driver

  13. LED Driver Control • TLC5941 (TI LED driver) • Low cost • Ease of use • Proliferated software support • EEPROM not necessary Human eye only requires ~50-60 Hz, and ~33% duty cycle for indistinguishable pulses.

  14. 5V 5mm Common Anode Diffused RGB LED 4 5 6 7 8 9 10 11 12 13 14 15 Texas Instruments TLC5941 LED Driver 1 2 3 LED Driver (TLC5941) 212 = 4096 levels

  15. LED Driver (TLC5941) MCU 3 x 20 Texas Instruments TLC5941 LED Driver

  16. LED Driver (TLC5941) MCU 3 5 XLAT of Drivers 2-20 5:32 Texas Instruments TLC5941 LED Driver

  17. LED Driver Addressing 5:32 Decoder selects 20 Addresses(0 – 19) to XLAT pins LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver LED Driver MODE, SIN, SCLK, BLANK, GSCLK All Common to MCU 5:32 Decoder A2 A1 A0 A4 A3 MCU

  18. Sensor Cell Design • General requirements • Each sensor must detect an object in front of the cell to provide input to the device • Each Cell must contain a RGB LED to provide output • Primary Considerations • An intelligent design approach must be used to minimize the number of microcontroller pins needed for user interfacing • The group should also utilize cost efficient methods to meet the requirements

  19. 4:16 4 X MCU 2 4 Y S 4:16

  20. Read(3,5) = FALSE 4:16 4 X MCU 2 4 Y S 4:16

  21. Read(3,5) = FALSE 4:16 4 X MCU 2 4 Y S 4:16

  22. Read(3,5) = TRUE 4:16 4 X MCU 2 4 Y S 4:16

  23. Sensor Array Design

  24. Sensor Circuit Design

  25. Sensor Circuit Design

  26. Pixel Circuit Design

  27. Pixel Circuit Design • Innovative Solutions • Jump output ‘A’ to input to ‘B’ for 3 input gate • Move Row/Column pull down resistors to Decoder output • Voltage divider

  28. Wireless Method • For use with an mobile device, the most prevalent methods are Bluetooth and Wi-Fi • Other wireless technologies were tossed out because of the added cost of an adapter to the mobile device • In the end, Wi-Fi is simply overkill for the application

  29. Bluetooth Module: RN42-XV

  30. Mobile Application (Platform) • Android has a familiar environment with Java Eclipse • Vast libraries, specifically one for Bluetooth usage • Open source and many support tutorials and explanations • Easy drag and drop style GUI creator

  31. Mobile Application (Features) • The user will be able to select what program is running on Knight Bright • For certain programs the App will be used as a controller • Text input from the App to the device • Grid for one to one control

  32. Mobile Application (Use Case Diagram)

  33. Mobile Application (Class Diagram)

  34. Power Consumption

  35. TDK-Lambda LS200-5 Note: Careful component selection lead to a need for only 1 voltage regulation device for the Bluetooth chip (.05 x 1.7 = .085 Watts)

  36. Budget

  37. ~ 90-95% Research H/W Design ~ 70% S/W Development ~ 30% Testing (Component) ~ 90-95% Prototyping (Final) ~ 15-20% Overall Progress ~ 50-55%

  38. Issues to Resolve • Memory • Game memory storage • Bluetooth • Reliably transmitting string of characters • IR Sensor • Sensitivity to ambient light (sunlight, halogen) • USB • Serial communication for game programming

  39. Questions?