1 / 20

Home Enhancement Suite

Home Enhancement Suite. Presenter: Allen Humphreys William Bouchonnet , Daniel Sabo, Nathan Irvin. Summary. Module specific design considerations and status Major software component descriptions Hierarchical code organization diagram and descriptions. Updated PSSCs.

Télécharger la présentation

Home Enhancement Suite

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

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

  3. Updated PSSCs • An ability to detect a user based on RFID and determine which user has priority, displaying the user's identity on an LCD. • An ability to adjust the light intensity to match a user’s settings through X10 protocol. • 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) • An ability to unlock a door when an acceptable RFID is present. • 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. X10 Light Control PLIX RJ-11 ethernet port XBee Module XBee Module user save electric strike (door lock) Ambient Light Sensor RFID Readers PL 513 Transmitter HDMI Port Power Supply LCD micro Updated Block Diagram AC Outlet +5 +3.3 spi I/O ADC uart I/O I/O ethernet uart Ext. PHY National DP8384Q

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

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

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

  8. CEC Timing

  9. CEC Message Framing

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

  11. Software Design Narrative

  12. Software Design Narrative • InitializeBoard() • UART1 • UART2 • UART5 • SPI1

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

  14. Software Design Narrative

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

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

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

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

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

  20. Questions?

More Related