Input-Output-Process Demo Traffic Flow Counting System 15/02/2019
Weight of a small car programmed in. Input Processor Preset Value: Weight of a small car programmed in. 15/02/2019
Input Measurement Processor The monitoring of physical variables without the microprocessor taking action. Weight readings Weight Sensor Processor 15/02/2019
Compares detected weight with preset value Processor Compares detected weight with preset value 15/02/2019
If weight level < preset value Processor If weight level < preset value then it isn’t a car Do nothing 15/02/2019
Processing Control Processor When a microprocessor takes action depending on sensor readings. Processing Control Processor If weight level > preset value then it is probably a car. Increment counter and count another car. 15/02/2019
The process is continuous and so repeats. Output Increment counter and count another car. 15/02/2019 The process is continuous and so repeats.
Notes: Input: Processing: Output: User sets the desired preset value. Sensors sending readings. Processing: Microprocessor comparing the preset value with the current sensor readings. If higher / lower then microprocessor decides to switch a device on / off. Output: Devices actually being switched on or off. Sensors do not compare or decide to switch anything on or off, they only send current readings. 15/02/2019