400 likes | 588 Vues
Knight Bright Group #1: Robin Adams Nathan Doran Tyler Hemp-Hansen Shaun Sontos. What is “ Knight Bright ”?. Knight Bright is a 2-dimensional, 100 (10x10) pixel tabletop interactive LED (RGB) gaming system.
E N D
Knight BrightGroup #1:Robin AdamsNathan Doran Tyler Hemp-HansenShaun Sontos
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.
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.
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
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
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.
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
LED Driver (TLC5941) MCU 3 x 20 Texas Instruments TLC5941 LED Driver
LED Driver (TLC5941) MCU 3 5 XLAT of Drivers 2-20 5:32 Texas Instruments TLC5941 LED Driver
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
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
4:16 4 X MCU 2 4 Y S 4:16
Read(3,5) = FALSE 4:16 4 X MCU 2 4 Y S 4:16
Read(3,5) = FALSE 4:16 4 X MCU 2 4 Y S 4:16
Read(3,5) = TRUE 4:16 4 X MCU 2 4 Y S 4:16
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
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
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
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
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)
~ 90-95% Research H/W Design ~ 70% S/W Development ~ 30% Testing (Component) ~ 90-95% Prototyping (Final) ~ 15-20% Overall Progress ~ 50-55%
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