Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Inebriation Station

Similar presentations


Presentation on theme: "The Inebriation Station"— Presentation transcript:

1 The Inebriation Station
Software Narrative Team 1: Jon Schwarz, Carlo Mesina, Mike Wei & Bill Bergquist

2 Software Design Considerations
I2C Peripheral – Temperature Sensors I2C Interface (Temperature Sensors) Port Name I2C1 SDA RG3 I2C1 SCL RG2 DISSLW I2C Initializations I2C1CONbits Value ICEN (I2C Enable) 1 DISSLW (Disable Slew Rate) All Others Status: Code is written, tested, and functioning properly

3 Software Design Considerations
UART1 Peripheral – RFID Reader UART1 Interface Port Name UART1 Rx (from RFID Reader) RF2 UART1 Initializations U1STAbits Value All Bits U1MODEbits UARTEN (UART1 Enable) 1 All Others Status: Code is written, tested, and functioning properly

4 Software Design Considerations
UART2 Peripheral – LCD UART2 Interface Port Name UART2 Tx (from RFID Reader) RF5 UART2 Initializations U2STAbits Value UTXEN (Transmit Enable) 1 All Bits U2MODEbits UARTEN (UART1 Enable) All Others Status: Code is written, tested, and functioning properly

5 Software Design Considerations
SPI1 Peripheral – ZG2100 (Wi-Fi Module) SPI1 Interface Port Name CSN (Chip Select) RB2 INT_NX (Interrupt from ZG2100) RE8 SDO (Data in from ZG2100) RF7 SDI (Data out to ZG2100) RF8 SCK (Clock) RF6 SPI1 Initializations Currently Unknown Status: Code is not written (waiting for additional parts)

6 Software Design Considerations
GPIO – Various Modules GPIO Port Name Data Available (from Keypad Encoder) RD10 Keypad Encoder Value 5 (MSb) RD8 Keypad Encoder Value 4 RD6 Keypad Encoder Value 3 RD4 Keypad Encoder Value 2 RD2 Keypad Encoder Value 1 (LSb) RD0 IR Break Beam (Input to MCU) RG14 Status: Code is written, tested, and functioning properly for all of the above interfaces

7 Main() Flowchart

8 Software Design Narrative


Download ppt "The Inebriation Station"

Similar presentations


Ads by Google