Waqar Azeem Assistant Professor Department of Computer Science Lahore Garrison University
Waqar Azeem Assistant Professor Department of Computer Science Lahore Garrison University
Waqar Azeem
Assistant Professor
Department of Computer Science
Lahore Garrison University
2
Overview of previous lecture
As all real world things can be made Io-things; for which first making the the things a
system is more important.
How the Iot hardware can be implemented.
Smart Fridge
Traditional Computing System: HCI
explicit explicit
input System output
• Bad interfaces:
– Confusing
– Cumbersome
– Time-consuming
– Uninformative
– Lead to errors
– …
Interfaces
• Tangible interfaces
• Keyboard/mouse/screen/speakers
• Pen input
• Touch
• Intangible interfaces
• Speech/audio/sound
• Gesture, eye movement
• Virtual/augmented reality (VR, AR)
• Multi-modal interactive interfaces: more than just
one input/output channel
Interface Discussion
• Ease-of-Use?
• Flexibility?
• Accuracy?
• Safety?
• Privacy?
Touch as Input
Gesture/Motion as Input
Eye Movement as Input
Haptic Interfaces
Augmented Reality
Wearable Computing
• Computation devices accompany you, rather
than you seeking them out
Speech Input
• Human beings have a great and natural mastery
of speech
– makes it difficult to appreciate the complexities
– but it’s an easy medium for communication
Windows Speech Recognition
• Supplied with every Windows machine
– From ‘98 on
– Almost no one used it
• What was the problem?
– Need to “train” users to use early virtual
assistants (VAs)
– Microphone expense determines quality
And Then There Was Siri
A Technical Success
– Consistent microphone gives predictable quality
– Inclusion on every iPhone made it mainstream
Current Incarnations
•What these look like now
– Specialized hardware
– Domestic setting
– Initially aimed at home automation
– Mostly used for home entertainment
– All open to 3rd parties
Embedded System/Computer
• “Any sort of device which includes a
programmable computer but itself is not
intended to be a general-purpose computer”
– Wayne Wolf
• Dedicated
Automotive Embedded Systems
Automotive Embedded Systems
• Today’s high-end automobile may have 100+
microprocessors:
– Seat belt; dashboard devices; engine control; ABS;
automatic stability control; navigation system;
infotainment system; collision avoidance system; tire
pressure monitoring; lane warning; adaptive cruise
control; climate control; airbag control unit; electric
window and central locking; parking aid; automatic
wiper control; alarm and immobilizer; power seat;
electric power steering; electronic transmission;
active suspension
Embedded Processor Market
• 80 million PCs every year
• 3 billion embedded CPUs every year
General-Purpose Processor
• Programmable device,
“microprocessor” Controller Datapath
• Features Control
logic and
Register
file
– Program memory State
register
– General data path with large General
IR PC ALU
register file and general ALU
• User benefits Program Data
– Low time-to-market and NRE costs memory memory
• Benefits Control
logic
index
– Fast State
total
– Small size
Data
memory
Application-Specific Processor (ASIC)
• Programmable processor optimized
for a particular class of applications
that have common characteristics Controller Datapath
(compromise) Control
logic and
Registers
• Features State
register
Custom
– Program memory ALU
IR PC
– Optimized data path
Data
– Special functional units Program memory
memory
• Benefits
Assembly code
– Some flexibility, good performance, for:
Examples?
Examples
• Real Time Embedded:
– Nuclear reactor control
– Flight control
– Basically any safety critical system
– GPS
– MP3 player
– Mobile phone
• Real Time, but not Embedded:
– Stock trading system
– Skype
– Netflix
• Embedded, but not Real Time:
– Home temperature control
– Washing machine, refrigerator, etc.
43
Lecture Outcomes
Q&A