Presentation is loading. Please wait.

Presentation is loading. Please wait.

T15- MARKETING SPY SYSTEM MODELING Document ID: T15_MOD_SYS_V1.0 Version: 1.0 Date: 10/17/2014 Location : https://projects.cecs.pdx.edu/projects/golriz-ece411/wikihttps://projects.cecs.pdx.edu/projects/golriz-ece411/wiki.

Similar presentations


Presentation on theme: "T15- MARKETING SPY SYSTEM MODELING Document ID: T15_MOD_SYS_V1.0 Version: 1.0 Date: 10/17/2014 Location : https://projects.cecs.pdx.edu/projects/golriz-ece411/wikihttps://projects.cecs.pdx.edu/projects/golriz-ece411/wiki."— Presentation transcript:

1 T15- MARKETING SPY SYSTEM MODELING Document ID: T15_MOD_SYS_V1.0 Version: 1.0 Date: 10/17/2014 Location : https://projects.cecs.pdx.edu/projects/golriz-ece411/wikihttps://projects.cecs.pdx.edu/projects/golriz-ece411/wiki

2 Marketing Spy: level 0 ModuleMarketing Spy InputsAnalog input from the costumers (Picking up the device by specific distance) outputsDigital outputs (decimal number on LCD) FunctionalityCounts how many times the device has been picked up and calculates the average time Marketing spy Power, 9V DC Analog input Decimal number

3 Marketing Spy Level 1

4 Power supply: level 0 ModulePower supply inputsPower:+9V DC (analog) outputsPower: +5V DC (analog) Maximum current: 1.5A functionalityConvert 9V DC battery Voltage to 5V DC Voltage power 9V DC Power supply 5V DC

5 Sensor: level 0 ModuleSensor ( infrared ) inputsOperating voltage 5V Analog input provided by the costumer when they pick up the device from a certain distance (detecting height range 0-50mm) outputsDigital signal to the microcontroller (when it detects an obstacle and induced voltage above the threshold outputs a high level (3.3V-5V), when no obstacle and induced voltage below the threshold, it outputs 0V. functionalityEvery time a costumer picks up the device by a specific distance ( distance is adjustable by potentiometer) the sensor will activate and send a digital signal to the microcontroller Sensor analog digital

6 Microcontroller: level 0 microcontroller Active low signal Power, 5V DC Clocksignal Increment one

7 Microcontroller Level 0 Description Table Modulemicrocontroller InputOperating voltage 1.8V-5.5V Operating frequency 16 MHz 8-bit AVR CPU Digital signal input from sensor to PB0 (timer/counter 1) ISP interface using Atmel Studio 6.2 environment OutputsMaximum of 200 mW 4-bit digital number of counts 4-bit average time FunctionalityWhen microcontroller receives digital signal from the sensor and clock signal it will increment the counter by one and compute the average time and display on LCD

8 LCD Display Level 0 ModuleLCD Display InputDigital signal from the microcontroller Maximum current 20 mA Operating voltage 5V DC OutputDigital output, on/off state of segments representing decimal number. FunctionalityControl signals from microcontroller drive the segments based on the microcontroller output signals and display the number of count and average time LCD Digital signal form microcontroller Power 5V DC Decimal number

9 Marketing Spy Flowchart Representation

10 Activity Diagram Give a alert signal on LCD if t>= 3hour Invalid time frame Timer activated The sample is picked up Customer Count: count up 1. Updates cumulative time then divides by count Display count and average time on LCD Ignore the case, keep the previous information on LCD if t < 15s Valid time frame Store staff

11 Present Input Verify time frame Error alert Calculate count and average time !pick up Pick up Drop within 15s !Drop within 3hrs Good time frame Sample back to place Sate Machine View Display information


Download ppt "T15- MARKETING SPY SYSTEM MODELING Document ID: T15_MOD_SYS_V1.0 Version: 1.0 Date: 10/17/2014 Location : https://projects.cecs.pdx.edu/projects/golriz-ece411/wikihttps://projects.cecs.pdx.edu/projects/golriz-ece411/wiki."

Similar presentations


Ads by Google