Introduction
Hardware
Mobile device
• Phones & Tables
• Appliances
• Cars
2
Do you know them?
3
Mobile devices
iPhone & iPad
• iOS
• Objective-C
• Swift
Android
• Linux
• Java
• Kotlin
• C/C++
4
These used to be Mobile devices
Windows Phone
• C#
• C/C++
Ubuntu
• C/C++
• HTML 5
• Qt
SmartPhone
• Symbian
• C++
• Java MIDP
5
These used to be Mobile devices
Pocket PC
• Windows Mobile
• C++, C#
Blackberry
• BlackberryOS
• Blackberry 10
• C/C++
• HTML 5
Phones
• Nokia OS
• Ericsson OS
• Java MIDP
6
Main Components
• Microprocessor
– RISC
– ARM (Advanced RISC Machine)
• RAM Memory
– SDRAM, DDRAM (DDR4
sometimes)
• Screen
– Static
– Touch
• Keyboard
• Radio (emitter/receptor)
– Phone
– WiFi
– Bluetooth
• External connectors
– USB, serial etc.
7
Secondary Components
• Storage device
– SSD (Solid State Drive)
– Memory card (SD, Flash etc.)
– Hard Disk
• Classic iPod
• Sensors
– GSP/GLONASS
– Accelerometer
– Photo Camera
• Multimedia Coprocessor
– Codec Audio
– Codec Video
8
Development platforms
Raspberry Pi
$35
BeagleBone Black
$45
9
Microprocessor
• RISC
– Reduced Instruction Set
Computing
– ARM (Advanced RISC Machine)
– Simple instructions
• Might not have floating point
– High clock speed
– Reduced power consumption
• Scales speed
– Examples
• Samsung ARM
• Qualcomm
• Apple A4 – A15
10
Microprocessor parameters
• Clock speed (MHz)
– Not the only relevant
• Cache Memory
– Processing performance
• Power consumption
– System’s autonomy
• Instruction set
• Coprocessors
– Audio
– Video
– Phone
11
RAM Memory
• SDRAM / DDRAM
– Even DDR4
• Limited
– 512 MB – 8 GB
12
Touch Screen
Resistive Capacitive
13
Resistive Display
• Two layers
• Requires pressing
• Advantages
– Exact touch
• Stylus
– Low power
• Disadvantages
– Strong touch
– Sensible of the
environment
14
Capacitive Display
• An insulator layer
– Glass / plastic
• Does not require a touch
• Advantages
– Thin touch
– Resistant of the
environment
• Disadvantages
– Inexact touch
– Higher power
15
Keyboard
• Phone
– Numbers only
– 3 letters/ key
• QWERTY
– Complete keyboard
– With numbers
• A few functional buttons
– Home, back, call, hang-up etc.
• No buttons
– Full virtual keyboard
• Any of the above
• Software design problems
16
QWERTY
17
QWERTY and virtual keyboard
18
Phone keyboard
19
A few functional buttons
20
Radio
• Phone
– GSM / CDMA / UMTS
– GPRS / EDGE / 3G / 4G / 5G
– Up to 25 Km
• WiFi
– Wireless
– 2.4 GHz & 5 GHz
• Bluetooth
– Small networks
– Short distance data
exchange
21
WiFi
• Implemented in OSI
– Standard
– TCP / IP most used
protocol
• Up to 300 m
• Speeds
– 54 Mbs (802.11g)
– 1201 Mbs (802.11ax)
22
Bluetooth
• Viking king Harald
Bluetooth
– United Norway and
Denmark
– Very communicative
• Uses non-standard
protocols
– Intercommunication
problems
– Problems when devices are
from different
manufacturers
• Speeds
– Up to 721 Kbs (1.2)
– Up to 3.2 Mbs (2.0)
– Up to 24 MB Mbs (3.0)
Class
Max
allowd
power
(mW)
Max
allowed
power
(dBm)
Range
(aprox)
Class 1 100 mW 20 dBm
~100
meters
Class 2 2.5 mW 4 dBm
~10
meters
Class 3 1 mW 0 dBm ~1 meters
23
Bluetooth 4
• Smart
• LE
• Sensors
• Standard
• Different stack from
3.0
24
Storage devices
• Solid State Drive (SSD)
– Fast
– Inefficient when deleting
• A page at a time
– Limited number of
writes
• Memory card
– High capacity (tens of
GB)
– Removable
25
Storage space
• Unlimited
– Tens of GB
– Kind of cheap
• High speed
– SSD especially
26
Sensors
• GPS / GLONASS
– Assisted GPS (AGPS)
• Accelerometer
• Photo camera
• All use the battery
– Use with carefully
27
Conclusions
• Mobile devices
– Similar in computing power with computers
• Processors
– RISC
– Arm
• Display
– Small sizes
– Touch capacitive / resistive
• Storage devices
– High capacity
– No moving parts
• Interaction
– Keyboard
– Screen
• Limited resources
• Sensors
28
Keywords
• Mobile device
• Smart Phone
• Pocket PC / PDA
• Blackberry
• Windows Mobile
• Windows Phone
• Android
• iOS
• Java / Kotlin
• Objective-C / Swift
• Keyboard
– Phone
– Virtual
– QWERTY
– Functional buttons
• ARM
• RISC
• Clock speed
• Power consumption
• Coprocessors
• Solid State Drive (SSD)
• WiFi
• Bluetooth
• GPS / GLONASS / AGPS
• Touch screen
– Resistive
– Capacitive
• Resolutions
– QVGA
– HVGA
– VGA
29
Questions
30

MDAD 1 - Hardware

  • 1.
  • 2.
    Mobile device • Phones& Tables • Appliances • Cars 2
  • 3.
    Do you knowthem? 3
  • 4.
    Mobile devices iPhone &iPad • iOS • Objective-C • Swift Android • Linux • Java • Kotlin • C/C++ 4
  • 5.
    These used tobe Mobile devices Windows Phone • C# • C/C++ Ubuntu • C/C++ • HTML 5 • Qt SmartPhone • Symbian • C++ • Java MIDP 5
  • 6.
    These used tobe Mobile devices Pocket PC • Windows Mobile • C++, C# Blackberry • BlackberryOS • Blackberry 10 • C/C++ • HTML 5 Phones • Nokia OS • Ericsson OS • Java MIDP 6
  • 7.
    Main Components • Microprocessor –RISC – ARM (Advanced RISC Machine) • RAM Memory – SDRAM, DDRAM (DDR4 sometimes) • Screen – Static – Touch • Keyboard • Radio (emitter/receptor) – Phone – WiFi – Bluetooth • External connectors – USB, serial etc. 7
  • 8.
    Secondary Components • Storagedevice – SSD (Solid State Drive) – Memory card (SD, Flash etc.) – Hard Disk • Classic iPod • Sensors – GSP/GLONASS – Accelerometer – Photo Camera • Multimedia Coprocessor – Codec Audio – Codec Video 8
  • 9.
  • 10.
    Microprocessor • RISC – ReducedInstruction Set Computing – ARM (Advanced RISC Machine) – Simple instructions • Might not have floating point – High clock speed – Reduced power consumption • Scales speed – Examples • Samsung ARM • Qualcomm • Apple A4 – A15 10
  • 11.
    Microprocessor parameters • Clockspeed (MHz) – Not the only relevant • Cache Memory – Processing performance • Power consumption – System’s autonomy • Instruction set • Coprocessors – Audio – Video – Phone 11
  • 12.
    RAM Memory • SDRAM/ DDRAM – Even DDR4 • Limited – 512 MB – 8 GB 12
  • 13.
  • 14.
    Resistive Display • Twolayers • Requires pressing • Advantages – Exact touch • Stylus – Low power • Disadvantages – Strong touch – Sensible of the environment 14
  • 15.
    Capacitive Display • Aninsulator layer – Glass / plastic • Does not require a touch • Advantages – Thin touch – Resistant of the environment • Disadvantages – Inexact touch – Higher power 15
  • 16.
    Keyboard • Phone – Numbersonly – 3 letters/ key • QWERTY – Complete keyboard – With numbers • A few functional buttons – Home, back, call, hang-up etc. • No buttons – Full virtual keyboard • Any of the above • Software design problems 16
  • 17.
  • 18.
    QWERTY and virtualkeyboard 18
  • 19.
  • 20.
    A few functionalbuttons 20
  • 21.
    Radio • Phone – GSM/ CDMA / UMTS – GPRS / EDGE / 3G / 4G / 5G – Up to 25 Km • WiFi – Wireless – 2.4 GHz & 5 GHz • Bluetooth – Small networks – Short distance data exchange 21
  • 22.
    WiFi • Implemented inOSI – Standard – TCP / IP most used protocol • Up to 300 m • Speeds – 54 Mbs (802.11g) – 1201 Mbs (802.11ax) 22
  • 23.
    Bluetooth • Viking kingHarald Bluetooth – United Norway and Denmark – Very communicative • Uses non-standard protocols – Intercommunication problems – Problems when devices are from different manufacturers • Speeds – Up to 721 Kbs (1.2) – Up to 3.2 Mbs (2.0) – Up to 24 MB Mbs (3.0) Class Max allowd power (mW) Max allowed power (dBm) Range (aprox) Class 1 100 mW 20 dBm ~100 meters Class 2 2.5 mW 4 dBm ~10 meters Class 3 1 mW 0 dBm ~1 meters 23
  • 24.
    Bluetooth 4 • Smart •LE • Sensors • Standard • Different stack from 3.0 24
  • 25.
    Storage devices • SolidState Drive (SSD) – Fast – Inefficient when deleting • A page at a time – Limited number of writes • Memory card – High capacity (tens of GB) – Removable 25
  • 26.
    Storage space • Unlimited –Tens of GB – Kind of cheap • High speed – SSD especially 26
  • 27.
    Sensors • GPS /GLONASS – Assisted GPS (AGPS) • Accelerometer • Photo camera • All use the battery – Use with carefully 27
  • 28.
    Conclusions • Mobile devices –Similar in computing power with computers • Processors – RISC – Arm • Display – Small sizes – Touch capacitive / resistive • Storage devices – High capacity – No moving parts • Interaction – Keyboard – Screen • Limited resources • Sensors 28
  • 29.
    Keywords • Mobile device •Smart Phone • Pocket PC / PDA • Blackberry • Windows Mobile • Windows Phone • Android • iOS • Java / Kotlin • Objective-C / Swift • Keyboard – Phone – Virtual – QWERTY – Functional buttons • ARM • RISC • Clock speed • Power consumption • Coprocessors • Solid State Drive (SSD) • WiFi • Bluetooth • GPS / GLONASS / AGPS • Touch screen – Resistive – Capacitive • Resolutions – QVGA – HVGA – VGA 29
  • 30.