Iot Chapter 3
Iot Chapter 3
4
IEEE 802.15.4 is a Wireless communication standard specially designed for a low-rate, short-
range low-cost, low-speed communication between devices. It is part of the IEEE 802 family of
standards which provides both wire and wireless networking standards. It focus on providing cost-
effective and energy-efficient services for connecting devices where low-data rate and low-power
consumption is essential.
It is the basis for the Zigbee, ISA SP100.11 Wireless HART MiWiand 6LoWPAN
Features 802.15.4
1. Guaranteed Time Slot (GTS) transmissions.
5. Support for time and data rate sensitive applications because of its ability to operate either
as CSMA/CA or TDMA access modes.
6. IEEE 802.15.4-conformant devices may use one of three possible frequency bands for
operation (868/915/2.4GHz).
The physical layer is the bottom layer in the OSI reference model used worldwide, and protocols
layers transmit packets using it
The IEEE 802.15.4 MAC layer (OSI Model layer two — data link layer) is
responsible for:
The IEEE 802.15.4 standard has undergone a number of releases. In addition to this
there are a number of variants of the IEEE 802.15.4 standard to cater for different
forms of physical layer, etc. These are summarised below in the table.
IEEE 802.15.4 STANDARD SUMMARY
Although new versions of the standard are available for use by any of the
higher layer standards, Zigbee still uses the initial 2003 release of the IEEE 802.15.4
standard.
IEEE 802.15.4 Device Types
Full-function devices (FFDs):An FFDs is capable of performing all the duties described in
the IEEE 802.15.4 standard and can accept any role in the network.
FFDs can become coordinator and can also route messages to other nodes
FFD that starts a PAN becomes the coordinator
In star topology, all communication is to/from the coordinator
In P2P topology, FFDs can communicate directly also
A coordinator can ask another FFD to become a coordinator for a subset of nodes.
FFD can communicate with any other device in a network
Support Small and Large Networks (up to 65000 devices (Theory); 240 devices
(Practically))
Architecture of Zigbee
Zigbee architecture is a combination of 6 layers.
1. Application Layer
3. Security Layer
4. Network Layer
6. Physical Layer
Physical layer: The lowest two layers i.e the physical and the MAC (Medium Access
Control) Layer are defined by the IEEE 802.15.4 specifications. The Physical layer is
closest to the hardware and directly controls and communicates with the Zigbee radio.
The physical layer translates the data packets in the over-the-air bits for transmission
and vice-versa during the reception.
Medium Access Control layer (MAC layer): The layer is responsible for the interface
between the physical and network layer. The MAC layer is also responsible for
providing PAN ID and also network discovery through beacon requests.
Network layer: This layer acts as an interface between the MAC layer and the
application layer. It is responsible for mesh networking.
Application layer: The application layer in the Zigbee stack is the highest protocol
layer and it consists of the application support sub-layer and Zigbee device object. It
contains manufacturer-defined applications.
Zigbee Router (ZR):, Router devices can act as intermediate routers, passing data on
to other devices. These types of Zigbee products are typically mains-powered so they
are always available on the network. Zigbee Router devices are sometimes called
Zigbee repeaters or Zigbee range extenders.
Zigbee End Device (ZED): Contains just enough functionality to talk to the parent
node (either the coordinator or a router); it cannot relay data from other devices. This
relationship allows the node to be asleep a significant amount of the time thereby
giving long battery life. These types of Zigbee device products are often battery-
powered. A ZED requires the least amount of memory and thus can be less expensive
to manufacture than a ZR or ZC.
An RFD is intended for applications that are extremely simple and do not need to
send large amounts of data. An FFD can talk to reduced-function or full-function
devices, while an RFD canonlytalktoanFFD.
ZigBee supports three types of topologies: star topology, peer-to-peer topology, and
cluster tree
Star Topology-In This Topology communication is established between devices and a
single central controller, called the PAN coordinator. The PAN coordinator may be powered
by mains while the devices will most likely be battery powered. Applications that benefit
from this topology are home automation, personal computer (PC) peripherals, toys, and
games.
Zigbee Applications
1. Home Automation
6. Commercial
8. Home Networking
the transmission frequency is 13.56 megahertz for data across NFC. Data can be sent
at either 106, 212, or 424 kilobits per second which is quick enough for a range of data
transfers like contact details to swapping pictures and music.
1. Smart Cards
Payment using NFC-integrated smart cards offers easier payment compared to the
conventional multiple-step payment process. Top payment services like Visa and
MasterCard are offering NFC-embedded smart cards to customers
This creates one major difference between NFC and Bluetooth/WiFi. NFC can be used to
induce electric currents within passive components rather than just send data. This means that
their own power supply is not required by passive devices. Instead they can be powered by the
electromagnetic field produced by an active NFC component when it comes into range. NFC
technology unfortunately does not command enough inductance to charge our smartphones, but
QI charging is based on the same principle.
An NFC-enabled device can operate under three different modes: reader/writer mode,
peer-to-peer mode, and card emulation mode.
1. The most common used in smartphones is the peer-to-peer mode. Exchange of variouspiece
of information is allowed between 2 devices. In this mode both devices switch between
active when sending data and passive when receiving.
2. The second mode i.e. read/write mode is a one-way data transmission. The active device,
possibly your smartphone, links up with another device in order to read information from it.
NFC advertisement tags use this mode.
3. The third mode of operation is card emulation. The NFC device can function as a smart or
contactless credit card and make payments or tap into public transport systems.
Bluetooth
Bluetooth is wireless technology that is used for sharing of data between two
devices placed over short distances using a short wavelength such as ultra-high-frequency,
radio waves in scientific, industrial and medical radio bands in the range of 2.400 to 2.485
GHz. It is similar to Wifi which operates on radio waves.It is a standard replacement of wired
communications which is mainly designed for devices with low power consumption.
Bluetooth Architecture:
The architecture of Bluetooth defines two types of networks:
1. Piconet
2. Scatternet
Piconet:
Piconet is a type of Bluetooth network that contains one primary node called the master node
and seven active secondary nodes called slave nodes. Thus, we can say that there is a total of
8 active nodes which are present at a distance of 10 meters. The communication between the
primary and secondary nodes can be one-to-one or one-to-many. Possible communication is
only between the master and slave; Slave-slave communication is not possible.
Scatternet:
As scatternet is interconnection of multiple piconets, it can accommodate more than 8 devices
It is formed by using various piconets. A slave that is present in one piconet can act as master
or we can say primary in another piconet. This kind of node can receive a message from a
master in one piconet and deliver the message to its slave in the other piconet where it is
acting as a master.
Working of Bluetooth
It is based on the simple principle of transmitting and receiving data using radio
waves. Each enabled equipment has a chip attachment called a Bluetooth adapter.
This adapter is utilized to receive and send the data. This adapter works on a
considerable range of connections. One electronic adaptor can identify another
Bluetooth-enabled device only if it falls within the area of the first device.
When they are placed within the estimated communication range, it is linked and
paired which is called a pairing of Bluetooth devices. The radio wave connection
established between the two devices is used to send and receive the data between the
connected Bluetooth devices.
The limit of data as 720KB per second can be sent and received by the devices
Bluetooth uses the frequency-hopping spread spectrum (FHSS) method in the
physical layer to avoid interference from other devices or other networks. Bluetooth
hops 1600 times per second, which means that each device changes its modulation
frequency 1600 times per second. A device uses a frequency for only 625µ s (1/1600
s) before it hops to another frequency.