Beruflich Dokumente
Kultur Dokumente
IrDA
The Infrared Data Association (IrDA)
defines physical specifications
communications protocol standards for the
short-range exchange of data over
infrared light, for uses such as personal
area networks (PANs).
IrDA
IrDA is a very short-range example of free-space
optical communication. No government
regulation!
IrDA interfaces are used in palmtop computers,
mobile phones, and laptop computers
Many laptops no longer offer IrDA in favor of
Bluetooth or WiFi which dont need line of sight.
For the devices to communicate via IrDA they
must have a direct line of sight.
3
Bluetooth
Bluetooth is a short-range wireless communications
standard that utilizes radio-frequency transmissions in
the 2.4GHz
RF not line of sight
Longer distance, so can be monitored
Needs encryption
IrDA-Data
Bluetooth
Physical Media
Infrared
RF (2.4 GHz)
Communications
Range
Up to at least 1m
10cm to 100m
Connection Type,
Direction
Multipoint, Omni-directional
Maximum Data
Rate
1Mbps (aggregate)
Security
Authentication, encryption,
spread spectrum
Approximate
Cost
under $2
under $5
4 Layers to IrDA
IrPHY
Lowest Layer
IrLAP
2nd Layer
IrLMP
3rd Layer
Tiny TP
Top Layer
IrPHY
Infrared Physical Layer Specification
Lowest layer of the IrDA specifications
Range (Standard: 1 m,
low-power to low-power: 0.2 m,
Standard to low power: 0.3 m)
Angle (minimum cone +/-15)
Speed (2.4 kbit/s to 16 Mbit/s)
Modulation (Base band, no carrier)
half-duplex mode because while transmitting
receiver is blinded by the light of its own
transmitter, so full duplex not possible.
9
SIR
Serial Infrared (SIR) speeds cover those
transmission speeds normally supported
by an RS-232 port.
9600 bit/s,
19.2 kbit/s,
38.4 kbit/s,
57.6 kbit/s,
115.2 kbit/s.
10
Bit Rates
Serial Infrared (SIR)
0.576 Mbit/s
and 1.152 Mbit/s
4 Mbit/s.
16 Mbit/s.
100 Mbit/s.
11
Bar Code IR
Modern bar code began in 1948.
Bernard Silver, a grad student at Drexel Institute of
Technology in Philadelphia,
Overheard president of a local food chain asking one of
the deans to undertake research to develop a system to
automatically read product information during checkout.
Silver told his friend Norman Joseph Woodland about the
food chain president's request.
Woodland was a twenty seven year old graduate student
and teacher at Drexel. The problem fascinated
Woodland and he began to work on the problem.
12
UPC
http://electronics.howstuffworks.com/upc.htm
13
Check Digit
Here is how the check digit is calculated for the other 11 digits,
using the code 63938200039 from "The Teenager's Guide to the
Real World" example shown above:
Step 1 - Add together the value of all of the digits in odd positions
(digits 1, 3, 5, 7, 9 and 11).
6 + 9 + 8 + 0 + 0 + 9 = 32
Step 2 - Multiply that number by 3.
32 * 3 = 96
Step 3 - Add together the value of all of the digits in even positions
(digits 2, 4, 6, 8 and 10).
3 + 3 + 2 + 0 + 3 = 11
Step 4 - Add this sum to the value in step 2.
96 + 11 = 107
Step 5 - Take the number in Step 4. To create the check digit,
determine the number that, when added to the number in step 4, is
a multiple of 10.
107 + 3 = 110 The check digit is therefore 3.
14
UPC
One thing you will notice if you start
looking at UPC codes in detail is that the
big manufactures have manufacturer IDs
with lots of zeros in them. Here are a few:
Post - 043000
General Mills - 016000
Del Monte - 024000
Quaker Oats - 030000
15
Start Code
The start of any bar code is "1-1-1." That
is, starting at the left you find a one-unitwide black bar followed by a one-unit-wide
white space followed by a one-unit-wide
black bar (bar-space-bar).
17
Bar Code
Following the start code, the digits are encoded as follows:
0 = 3-2-1-1
1 = 2-2-2-1
2 = 2-1-2-2
3 = 1-4-1-1
4 = 1-1-3-2
5 = 1-2-3-1
6 = 1-1-1-4
7 = 1-3-1-2
8 = 1-2-1-3
9 = 3-1-1-2
Notice that all of these encodings add up to 7.
18
20
21
22
23
24
25
26