project

profileNoaf18
final_papers_waseem.pdf

Smart Crowd Management

Prepared By

Document Owner(s) Project Role

Waseem Khalaf Monitors crowd density wirelessly

Functional Block Revision Control

Version Date Author Change Description

1.0 12/2/17 Waseem Khalaf Created document.

2.0 12/2/17 Waseem Khalaf Edit Objectives.

Update Functional Block Diagram with most

recent design.

Major revision of Feature Set.

Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul

Objectives:

1. Design a system that efficiently monitors crowd density wirelessly.

2. Design an algorithm to compile information from all sources, and upload this information.

3. Design a user-interface to display the collected data in a tangible way

Functional Block Diagram

Circuit Diagram

Feature Set: –

Feature Description Design Constraint Scope

Required / Opportunistic

Ultrasonic Sensor - HC-

SR04

Sensor use to count peoples Ultrasonic IR led

and photodiode

combination

Required

Arduino Microcontroller Used to decode the signal

coming from sensor and transmit

it to the base station

Supports ADC and

PWM

Required

Arduino Wi-Fi Shield Wi-Fi Antenna for linking base

sensor with auxiliary test station

to the internet.

Works in the

2.4GHz band.

Required

Arduino GSM Shield V2 Arduino GSM Shield V2

Receiver to receive signals from

Internet cloud at test station

Dual-Band

UMTS/HSDPA

850/1900MH

Required

Arduino Microcontroller Arduino for converting analogue

signals to digital and interface

retrieves data from cloud and

Supports ADC and

PWM

Required

Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul

shows it in LCD and store it in

memory.

User Reference Database A local, unsecure database to

record a user’s usage over time,

tracking performance.

Support 100 Users,

with five years of

cumulative data

storage, with

search and delete

options.

Opportunistic

Interface Specification:

Input Only:

Supplying Block Name Supply Block Owner Interface Specification Name

Ultrasonic Sensor - HC-

SR04 Waseem Khalaf Used to detect number of peoples in

crowd

Output Only:

Supplying Block Name Supply Block Owner Interface Specification Name

E-Ink screen Arduino Waseem Khalaf Shows number of peoples

Saqer Alhloul

Further Details:

Error! Reference

source not found.

Input Output Description

Ultrasonic Sensor -

HC-SR04

Sensor used to detect people in

crowd and send analogue signal

to microcontroller

Sends analogue

signals to

microcontroller

This is the HC-SR04 ultrasonic

ranging sensor. This economical

sensor provides to maximum

400cm of non-contact

measurement functionality with

a ranging accuracy that can

reach up to 3mm

IP rating: IP44 / indoor use

Arduino

Microcontroller

Analogue to digital converter as

it takes the input from sensor

Send digital signals

to transmitters

8-bit. 16 MHz. AVR. Arduino

Uno is a microcontroller board

based on the ATmega328P

It takes analogue signals from

sensor convert it into digital an

process.

Arduino Wi-Fi

Shield

It takes the input signal from

microcontroller

Transmits the

signal to the base

station

The Arduino WiFi Shield

connects your Arduino to the

internet wirelessly

Arduino GSM

Shield V2

It receives signal from

transmitter

Send signal to

Arduino

The Arduino GSM Shield V2

allows your Arduino board to

make phone calls, send SMS and

connect to the Internet

Arduino

Microcontroller

It is the brain of the project and

it takes signal from receiver

Send output results

to LCD display

8-bit. 16 MHz. AVR. Arduino

Uno is a microcontroller board

based on the ATmega328P.

It takes analogue signals from

receiver convert it into digital an

process t

E-Ink screen

Arduino

Takes input from Arduino Shows result Shows number of people

Memory It takes input from Arduino Store data for

future use

Used to store data

Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul

Acceptance Test:

1. Detect peoples:

 Integrated people counting algorithm

 Count the peoples get on/off total number and compartment changing number constantly.

2. Store data in Memory

 Support SD card storage function

 Communication protocols

3. Storage of Data:

 Data is retained after resetting the device.

4. System storage:

 Compact program size with the maximum limit of 4M.

 Maximum space utilization of 6M of ROM.

5. Interrupt Functionality:

 Correct detection and action on interrupts.

 Resetting of the count on reset interrupt.

 Start/Stop of Counting on Pause push button.

6. Wired Data Transmission:

 Correct data displaying on the LCD.

 Correct signaling on Testing LEDs.

Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul
Saqer Alhloul

Explanations:

- All supplies ready (IR sensor, bread board, resistors, Arduino, wires, computer)

- Connecting the IR sensor with the Arduino using wires and resistors

- Coding the IR sensor (I’m learning how to code using C language)

- Testing

-cross my fingers front of the IR sensor from point A to point B, make sure the sensor count enter

-cross my fingers front of the IR sensor from point B to point A, make sure the sensor count exit

-Transfer data to my partner

References:

- Circuit diagram ref

https://www.slideshare.net/Abhishekvb/bidirectional-visitor-counter-using-ir-sensors-and-arduino-uno-r3

(slice number 7)