People counter
Team Members¶
Rohan Malik (EE)
Mitchell Marine (CmpE)
Project Overview¶
We designed a device to track the usage of a hallway. Using one sonar sensor it tracks how many people have walked in the hallway and which direction they were going. This information could be used by companies to keep track of what areas of a building are used more often while not collecting user data. It is an accurate and anonymous data collection method.
Hardware¶
- mbed LPC1768
- 5V 2A External Power Adapter
- uLCD
- TPA2005D1 and speaker
- HC-SR04
- Adafruit Bluefruit LE UART Friend
Pin Assignments¶
| Mbed | Power Adapter | uLCD |
|---|---|---|
| p12 | RES | |
| p13 | RX | |
| p14 | TX | |
| GND | GND | GND |
| +5V | +5V |
| Mbed | Power Adapter | TPA2005D1 | Speaker |
|---|---|---|---|
| GND | GND | PWR-, IN- | |
| +5V | PWR+ | ||
| p18 (D/A) | IN+ | ||
| OUT+ | + | ||
| OUT- | - |
| Mbed | Power Adapter | HC-SR04 |
|---|---|---|
| +5V | VCC | |
| GND | GND | GND |
| p30 | TRIG | |
| p29 | ECHO |
| Mbed | Power Adapter | Adafruit BLE |
|---|---|---|
| GND | GND | GND |
| +5V | Vin | |
| GND | GND | CTS |
| p10 | TXO | |
| p9 | RXI |
Demo¶
Presentation¶
Presentation Video Hosted on OneDrive
Code¶
Import programperson_counter
main program for 4180 Spring 2020 Final Project

