200 likes | 280 Views
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.
E N D
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 • 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.
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
Software Design Considerations • Xbee • UART1 • Receive • Tech considerations • Pseudo-code • PLIX Chip • SPI1 • Transmit • Researched, pseudo-code
Software Design Considerations • LCD • UART2 • Transmit only • One wire communication • Simple interface • RFID Reader • UART5 • Receive Only • One wire communication
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
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
Software Design Narrative • InitializeBoard() • UART1 • UART2 • UART5 • SPI1
Software Design Narrative • InitAppConfig() • Application specific data structure setup • StackInit() • MAC, TCP, UDP, HTTP initializations
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
Software Design Narrative • Polling Loop (cont’d) • ReceiveUser() • UpdateDoor() • Signal door to switch states • UpdateLights() • Signal PLIX to adjust lighting
Software Design Narrative • Polling Loop (cont’d) • ReceiveUser() • UpdateTV() • Use CEC functions to set channel/volume • UpdateLCD() • Display the new current user
Software Design Narrative • Polling Loop (cont’d) • InstantSave() • Checks for button press • Saves the current ATD light sensor value
Software Design Narrative • Other/Misc • Lights • First use and on command • Set lights to each level, record ATD value