Team 8 Alternative Choices November 26 th , 2012

17
Advisor: Prof. Gong Department of Electrical and Computer Engineering Team 8 Alternative Choices November 26 th , 2012 Mid-course Design Review

description

Mid-course Design Review. Team 8 Alternative Choices November 26 th , 2012. Team Alternative Choices. Professor Gong Advisor. Vangjush Dedo EE. Stenli Duka CSE. Lusheng Tang EE. Salvador Rivera EE. Inefficient Food Service in US Campuses. Current Food Service - PowerPoint PPT Presentation

Transcript of Team 8 Alternative Choices November 26 th , 2012

Page 1: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Team 8Alternative Choices

November 26th, 2012

Mid-course Design Review

Page 2: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Vangjush DedoEE

Salvador RiveraEE

Lusheng TangEE

Stenli DukaCSE

Team Alternative Choices

Professor GongAdvisor

Page 3: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Current Food Service• Slow and overcrowded

during peak hours• Safety hazard inside

facilities

Students have no way of knowing if a place is crowded or not

Inefficient use of school resources

Inefficient Food Service in US Campuses

Page 4: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Requirements Analysis: Specifications

Real-Time measurement of number of people Facility specific information

Multiple entrances Compact design Information accessible online Updates every thirty seconds Detect multiple people leaving/entering

Page 5: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Requirements Analysis: Inputs and Outputs

Input• Sensor data

Output• Current people count in a food facility• History of people count in a food facility• Expected amount of people in future• Offer nearby alternate locations with less people

Page 6: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Our Solution: Block Diagram

Power Supply

Processing

Sensors

Database Modification

DB Connection

Data Collection

Data Storage

Real-Time Data

Future Prediction

Database Processing

History

User Interface

Wireless Transmission

Alternatives

Database

Page 7: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Sensors

Requirement• Two sensors to proper count up/down• Availability: 200 ms• Continuous detection

Demonstrated• Sensors detect movement for count• Slow response in between detections

Page 8: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Sensors Challenge

Primary requirement• Availability: 200 ms• In-lab value: 1 second• Not fast enough for our purpose

PIR Implementation• Unstable readings• Need 5V supply which Arduino

can’t output

Page 9: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Power Constraints

Operating voltages• Arduino: 5V• Sensors: 5V-12V

Power supply • USB power from computer• Arduino outputs 5V

• Actual output: 4.3V• Not enough for sensors

• Additional 5V DC source needed

Page 10: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Arduino Yun

Data• Counting based on direction/detection of sensor• Reset state if person turns back after first sensor• State machine determines action from sensor triggers

• Count up/down

Implementation• Arduino Yun

Page 11: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Requirements• Occurs every 30 seconds• Connect to school Wi-Fi

Progress• Successful connection to WPA-PSK protected AP• Correct transmission to database every count change• Unable to use school Wi-Fi

• WPA2 Enterprise needed

Wireless Transmission

Page 12: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Database

Requirements• Store people count every 30 seconds• Timestamp for each people count• Location for each people count

Progress• MongoDB database set up on

MongoHQ• Access using MongoHQ REST API• Successfully updated using Linux OS

(Linino) on Arduino Yun

Page 13: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

User Interface

Requirements• Easy to use• Deliver results

Real-Time Data- Alternative Choices- History

Progress• Website built

• Current count display• History count display

• Python using Flask framework• Currently hosted locally

Page 14: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Demonstration of People Counting• PIR sensor data processed on Arduino Yun• Data wireless transmitted to database

Demonstration of User Interface• Interpret database

- Display real-time people count- Display history

Proposed MDR Deliverables

Page 15: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Demo

Page 16: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Upgrade to better sensors (Salvador)• Active sensing• Improved sensor availability: At least ½ second• Power supply

Wireless communication (Lusheng)• Connect to school Wi-Fi

Upgrade Arduino Yun processor (Vangjush)• Multiple sets (2) of sensor data handling• Multiple door monitoring

User Interface (Stenli)• Interpret data from multiple entrances of a building• Display of people count in multiple buildings

Looking Ahead: CDR

Page 17: Team 8 Alternative Choices November 26 th , 2012

Advisor: Prof. GongDepartment of Electrical and Computer Engineering

Thank You