Cat 2 Iot Answers Set1
Cat 2 Iot Answers Set1
Answer:
High-Level ZigBee:
The ZigBee network and security layer provides mechanisms for network start-up, configuration, routing,
and securing communications.
This includes calculating routing paths in what is often a changing topology,
discovering 12eighbours, and managing the routing tables as devices join for the
first time.
The network layer is also responsible for forming the appropriate topology, which is often a mesh but could be
a star or tree as well.
ZigBee utilizes 802.15.4 for security at the MAC layer, using the Advanced
Encryption Standard (AES) with a 128-bit key and also provides security at the
network and application layers.
ZigBee uses Ad hoc On-Demand Distance Vector (AODV) routing across a mesh network. This routing
algorithm does not send a message until a route is needed.
ZigBee IP
ZigBee IP Protocol Stack
ZigBee IP was created to embrace the open standards coming from the IETF’s work on LLNs, such as Ipv6,
6LoWPAN, and RPL.
They provide for low-bandwidth, low-power, and cost-effective communications when connecting smart
objects.
ZigBee IP utilizes the mesh over or route-over method for forwarding packets.
ZigBee IP requires the support of 6LoWPAN’s fragmentation and header
compression schemes.
IEEE 802.15.4g: This standard focuses on low-data-rate, long-range wireless networks, particularly for Smart
Utility Networks (SUN) like smart metering and industrial applications. It is optimized for outdoor, large-scale
networks with data rates up to 1 Mbps. It uses different frequency bands such as sub-GHz (900 MHz), which
provides better coverage and range.
IEEE 802.15.4e: This extension of IEEE 802.15.4 introduces additional MAC (Media Access Control) layer
functionalities aimed at improving reliability, low latency, and energy efficiency in industrial environments. It
includes techniques like Time Slotted Channel Hopping (TSCH) and deterministic delay, making it suitable for
industrial automation and wireless sensor networks.
Constrained Nodes: These refer to devices with limited computational power, memory, and energy, often seen in
IoT environments. For example, low-power microcontrollers or sensors that can only handle simple tasks due to
resource limitations. These nodes need optimized protocols and lightweight software to function effectively in IoT
networks.
Constrained Networks: These networks consist of devices with limited bandwidth, intermittent connectivity, high
packet loss, or low data rates. Such networks are designed to support constrained nodes and typically operate in
environments like low-power wide-area networks (LPWAN) or wireless sensor networks (WSN), where efficiency
and low resource consumption are critical.
5. Features of Arduino
Open-Source Platform: Arduino is an open-source electronics platform based on simple hardware and
software. The Arduino board can be programmed using the Arduino IDE.
Flexible Microcontroller: It is based on various microcontrollers like ATmega328, which provides
flexibility in terms of functionality and applications.
GPIO Pins: It has numerous general-purpose input/output (GPIO) pins for connecting sensors, actuators,
and other electronic components.
Wide Range of Shields: Various shields can be added to expand functionality, such as wireless
communication, motor control, and more.
Cross-Platform: Arduino is compatible with different operating systems such as Windows, macOS, and
Linux.
6. What is Raspbian OS?
Raspbian OS: Raspbian is the official operating system for the Raspberry Pi, based on Debian Linux. It is
designed to work efficiently on Raspberry Pi hardware and provides a desktop environment along with a set
of pre-installed tools, utilities, and libraries specifically tailored for programming and electronics
development with the Raspberry Pi. Raspbian supports Python and other development environments,
making it popular for IoT and DIY projects.
GPIO Pins: GPIO (General Purpose Input/Output) pins allow an IoT device to interface with external
sensors, actuators, and other peripherals. These pins can be programmed to send signals to control devices
like LEDs, motors, or to read data from sensors, thus enabling interaction between the IoT system and the
physical world.
PART B
16 Analyze in Detail Lora Wan Technology,Illustrating the layers ,MAC format and Architecture.
Answer:
Low-Power Wide-Area is adapted for long-range and battery-powered endpoints,
Standardization and Alliances: Semtech LoRa as a Layer 1 PHY modulation
technology is available through multiple chipset vendors. To differentiate from the
physical layer modulation known as LoRa, the LoRa Alliance uses the term
LoRaWAN to refer to its architecture and its specifications that describe end-to-end
LoRaWAN communications and protocols.
Physical Layer: LoRaWAN 1.0.2 regional specifications describe the use of the main
unlicensed sub-GHz frequency bands of 433 MHz, 779–787 MHz, 863–870 MHz,
and 902–928 MHz, as well as regional profiles for a subset of the 902–928 MHz
bandwidth.
A LoRa gateway is deployed as the center hub of a star network architecture. It uses multiple transceivers and
channels and can demodulate multiple channels at once or even demodulate multiple signals on the same channel
simultaneously.
LoRa gateways serve as a transparent bridge relaying data between
endpoints, and the endpoints use a single-hop wireless connection to communicate
with one or many gateways.
MAC Layer: The LoRaWAN specification documents three classes of LoRaWAN devices:
Class A: Optimized for battery-powered nodes, it allows bidirectional communications, where a given node is able
to receive downstream traffic after transmitting.
Class B: A Class B node or endpoint should get additional receive windows compared to Class A, but gateways
must be synchronized through a beaconing process.
Class C: This class is particularly adapted for powered nodes. This classification enables a node to be continuously
listening by keeping its receive window open when not transmitting.
Security:
LoRaWAN Architecture
o Each endpoint implements a network session key (NwkSKey), used by both
itself and the LoRaWAN network server. The NwkSKey ensures data integrity
through computing and checking the MIC of every data message as well as
encrypting and decrypting MAC-onlydata message payloads.
o The second layer is an application session key (AppSKey), which performs
encryption and decryption functions between the endpoint and its application
server. Endpoints receive their AES-128 application key (AppKey) from the
application owner.
o LoRaWAN endpoints attached to a LoRaWAN network must get registered
and authenticated. This can be achieved through one of the two join
mechanisms:
Activation by personalization (ABP): Endpoints don’t need to run a
join procedure as their individual details, including DevAddr and the
NwkSKey and AppSKey session keys, are preconfigured and stored in
the end device.
Over-the-air activation (OTAA): Endpoints are allowed to
dynamically join a particular LoRaWAN network after successfully
going through a join procedure. The join procedure must be done every
time a session context is renewed.
16b..Illustrate Arduino Board Details and Explain the steps for Installing the Board.
In this chapter, we will learn about the different components on the Arduino board. We will study the Arduino
UNO board because it is the most popular board in the Arduino board family. In addition, it is the best board to get
started with electronics and coding. Some boards look a bit different from the one given below, but most Arduinos
have majority of these components in common.
Here are the steps to install the Arduino board on your system:
Plug your Arduino board (e.g., Arduino Uno, Nano, Mega) into your computer using a USB cable.
The power LED on the Arduino board should light up.
On Windows, you may need to install additional drivers. If prompted, allow the driver installation.
For other operating systems, drivers are typically installed automatically or included with the Arduino IDE.
Open a basic example sketch like Blink: Go to File > Examples > 01.Basics > Blink.
Click the Upload button (right arrow icon) in the Arduino IDE to upload the sketch to your board.
The on-board LED should start blinking if the upload is successful.
If the sketch uploads correctly and the Arduino board is working, you have successfully installed and set up
your Arduino board!
Now you can start programming the Arduino using the Arduino IDE.
Raspberry-Pi Architecture
What is a Raspberry Pi? Raspberry pi is the name of the “credit card-sized computer board” developed by
the Raspberry pi foundation, based in the U.K. It gets plugged in a TV or monitor and provides a fully
functional computer capability. It is aimed at imparting knowledge about computing to even younger
students at the cheapest possible price. Although it is aimed at teaching computing to kids, but can be used
by everyone willing to learn programming, thebasics of computing, and building different projects by
utilizing its versatility.
Raspberry Pi is developed by Raspberry Pi Foundation in the United Kingdom. The Raspberry Piis a series
of powerful, small single board computer
Raspberry Pi is launched in 2012 and there have been several iterations and variations released since
then.Various versions of Raspberry Pi have been out till date. All versions consist of a Broadcom system on
a chip (SoC) with an integrated ARM-compatible CPU and on-chip graphics processing unit (GPU).
The original device had a single-core Processor speed of device ranges from 700 MHz to 1.2 GHz and a
memory range from 256 MB to 1 GB RAM.To store the operating system and program memory Secure
Digital (SD) cards are used. Raspbian OS which is a Linux operating system is recommended
OS by Raspberry Pi Foundation. Some other third party operating systems like RISC OS Pi. Diet Pi,
Used:
It also provides a set of general purpose input/output pins allowing you to control electronic
components for physical computing and explore the Internet of Things (IOT).
Raspberry pi Model
There have been many generations of raspberry Pi from Pi 1 to Pi 4. There is generally a modelA and
model B. Model A is a less expensive variant and it trends to have reduced RAM and dualcores such as
USB and Ethernet.
Raspberry pi Diagram:
www.EnggTree.com
Specs of the Computer: – The computer has a quad-core ARM processor that doesn’t support the
same instruction as an X86 desktop CPU. It has 1GB of RAM, One HDMI port, four USB ports, one
Ethernet connection, Micro SD slot for storage, one combined 3.5mm audio/videoport, and a
Bluetooth connection. It has got a series of input and output pins that are used for making projects
like
– home security camera, encrypted door lock, etc.
Versatility of Raspberry Pi: – It is indeed a versatile computer and can be utilized by people from
all age groups, it can be used for watching videos on YouTube, watching movies, and programming
in languages like Python, Scratch, and many more. As mentioned above it has a series of I/O pins
that give this board the ability to interact with its environment and hence can beutilized to build
really cool and interactive projects.
Examples of projects: – It can be turned into a weather station by connecting some instruments to it
for check the temperature, wind speed, humidity etc… It can be turned into a home surveillance
system due to its small size; by adding some cameras to it the security network will be ready. If you
love reading books it can also become a storage device for storing thousands of eBooks and also you
can access them through the internet by using this device.
Build Physical Projects With Python on the Raspberry Pi
The Raspberry Pi is one of the leading physical computing boards on the market. From hobbyists
building DIY projects to students learning to program for the first time, people use the RaspberryPi
every day to interact with the world around them. Python comes built in on the Raspberry Pi, so you
can take your skills and start building your own Raspberry Pi projects today.
building DIY projects to students learning to program for the first time, people use the RaspberryPi
every day to interact with the world around them. Python comes built in on the Raspberry Pi, so you
can take your skills and start building your own Raspberry Pi projects today.
With all the features and capabilities that are packed into this small board, there’s no shortage of
projects and use cases for the Raspberry Pi.If you can think of a project that would benefit from
having a credit card–sized computer attached to it, then someone has probably used a Raspberry Pi
to do it. The Raspberry Pi is a fantastic way to bring your Python project ideas to life.
Raspberry Pi Board Overview
Below is the board layout of the Raspberry Pi 4. While this layout is slightly different from previous
models of the Raspberry Pi, most of the connections are the same. The setup described in the next
section should be the same for both a Raspberry Pi 3 and a Raspberry Pi 4:
The Raspberry Pi 4 board contains the following components:
17b.(i) Explain the Various Interfaces available in Raspberry PI with Appropriate Examples.
(7)
Downloaded from
EnggTree.co
m
Downloaded from
EnggTree.co
m
Downloaded from
EnggTree.co
m
(ii) Write a Simple Arduino Program to blink a LED with 500 msec delay in
between ON and OFF.
// C++ code
void setup()
{
pinMode(13, OUTPUT);
}
void loop()
{
digitalWrite(13, HIGH);
delay(500); // Wait for 500 millisecond(s)
digitalWrite(13, LOW);
delay(500); // Wait for 500 millisecond(s)
}
Downloaded from