Presentation is loading. Please wait.

Presentation is loading. Please wait.

Home Enhancement Suite Presenter: Allen Humphreys William Bouchonnet, Daniel Sabo, Nathan Irvin.

Similar presentations


Presentation on theme: "Home Enhancement Suite Presenter: Allen Humphreys William Bouchonnet, Daniel Sabo, Nathan Irvin."— Presentation transcript:

1 Home Enhancement Suite Presenter: Allen Humphreys William Bouchonnet, Daniel Sabo, Nathan Irvin

2 Summary Module specific design considerations and status Module specific design considerations and status Major software component descriptions Major software component descriptions Hierarchical code organization diagram and descriptions Hierarchical code organization diagram and descriptions

3 Updated PSSCs 1. 1. An ability to detect a user based on RFID and determine which user has priority, displaying the user's identity on an LCD. 2. 2. An ability to adjust the light intensity to match a user’s settings through X10 protocol. 3. 3. An ability to adjust a television set or other HDMI device using CEC- HDMI protocol, to a user's preferred settings. (ON/OFF, Channel, Volume) 4. 4. An ability to unlock a door when an acceptable RFID is present. 5. 5. An ability to select/set preferred settings through an embedded web server and the ability to save the "light settings" with the press of a button.

4 micro PLIX RJ-11 PL 513 Transmitter AC Outlet X10 Light Control Power Supply +5 RFIDReaders spi +3.3 Ambient Light Sensor ethernetport ADC HDMIPort I/O electricstrike (door lock) I/O LCD uart user save I/O ethernet XBeeModule uart XBeeModule Ext. PHY National DP8384Q National DP8384Q Updated Block Diagram

5 Software Design Considerations Xbee Xbee UART1 UART1 Receive Receive Tech considerations Tech considerations Pseudo-code Pseudo-code PLIX Chip PLIX Chip SPI1 SPI1 Transmit Transmit Researched, pseudo-code Researched, pseudo-code

6 Software Design Considerations LCD LCD UART2 UART2 Transmit only Transmit only One wire communication One wire communication Simple interface Simple interface RFID Reader RFID Reader UART5 UART5 Receive Only Receive Only One wire communication One wire communication

7 Major Software Componenets Web Interface Web Interface Ethernet Ethernet RMII RMII Ported from Microchip Ported from Microchip Porting started, not tested Porting started, not tested Consumer Electronics Control (CEC) Consumer Electronics Control (CEC) Port E – Pin 4 Port E – Pin 4 Tristate register for input/output operation Tristate register for input/output operation Network mapping Network mapping Conceptualized Conceptualized

8 CEC Timing

9 CEC Message Framing

10 Software Design Narrative Organization of Code - Polling Organization of Code - Polling Application requires little user interaction Application requires little user interaction Simpler to code/debug Simpler to code/debug Minimal service time requirement Minimal service time requirement Overall Progress Overall Progress Microchip HTTP server setup/porting started Microchip HTTP server setup/porting started Other modules to be tested individually then wrapped in Other modules to be tested individually then wrapped in

11 main() InitializeBoard()InitAppConfig()StackInit() Polling Loop StackTask()StackApplictions()ReceiveUser() UpdateDoor()UpdateLights()UpdateTV()UpdateLCD() InstantSave() Software Design Narrative

12 InitializeBoard() InitializeBoard() UART1 UART1 UART2 UART2 UART5 UART5 SPI1 SPI1

13 Software Design Narrative InitAppConfig() InitAppConfig() Application specific data structure setup Application specific data structure setup StackInit() StackInit() MAC, TCP, UDP, HTTP initializations MAC, TCP, UDP, HTTP initializations

14 main() InitializeBoard()InitAppConfig()StackInit() Polling Loop StackTask()StackApplictions()ReceiveUser() UpdateDoor()UpdateLights()UpdateTV()UpdateLCD() InstantSave() Software Design Narrative

15 Polling Loop Polling Loop StackTask() StackTask() Checks for new incoming packets Checks for new incoming packets Performs timed stack operations Performs timed stack operations StackApplications() StackApplications() HTTPServer() – possibly others HTTPServer() – possibly others Acts like an RTOS task Acts like an RTOS task Main application must call this function repeatedly Main application must call this function repeatedly

16 Software Design Narrative Polling Loop (cont’d) Polling Loop (cont’d) ReceiveUser() ReceiveUser() UpdateDoor() UpdateDoor() Signal door to switch states Signal door to switch states UpdateLights() UpdateLights() Signal PLIX to adjust lighting Signal PLIX to adjust lighting

17 Software Design Narrative Polling Loop (cont’d) Polling Loop (cont’d) ReceiveUser() ReceiveUser() UpdateTV() UpdateTV() Use CEC functions to set channel/volume Use CEC functions to set channel/volume UpdateLCD() UpdateLCD() Display the new current user Display the new current user

18 Software Design Narrative Polling Loop (cont’d) Polling Loop (cont’d) InstantSave() InstantSave() Checks for button press Checks for button press Saves the current ATD light sensor value Saves the current ATD light sensor value

19 Software Design Narrative Other/Misc Other/Misc Lights Lights First use and on command First use and on command Set lights to each level, record ATD value Set lights to each level, record ATD value

20 Questions?


Download ppt "Home Enhancement Suite Presenter: Allen Humphreys William Bouchonnet, Daniel Sabo, Nathan Irvin."

Similar presentations


Ads by Google