Unit 4
Unit 4
Unit-IV
Part-A
7) What are the various components/peripherals labelled with the Raspberry Pi board?
CPU/GPU, GPIO, RCA, Audio Out, LEDs, USB, HDMI, Power, SD Slot, Ethernet.
from time import sleep # Import the sleep function from the time module
GPIO.setup(8, GPIO.OUT) # Set pin 8 to be an output pin and set initial value to low (off)
Connectivity protocols: Bluetooth LE, Wi-Fi, Z-wave, ZigBee, and other modern protocols,
healthcare personnel can change the way they spot illness and ailments in patients and can also
innovate revolutionary ways of treatment.
8) What are the different sectors where the Internet of Things can actually add value to the current
processes?
i. Enterprises
Global organizations are exploiting IoT to the utmost. 72 percent of enterprises have
implemented IoT devices (mobiles, air conditioning systems, lighting systems, etc.) in their work
to boost labor productivity.
ii. Industry
Executives of industrial enterprises showed a great interest in the use of chemical sensors and
systems reducing operational risks and solving the problems of downtime.
iii. Healthcare
The healthcare industry is likely to be the industry that uses big data and IoT devices most of all.
The key benefits it gets from the Internet of Things are the reduction of costs and the
enhancement of innovation.
iv. Retail
The Internet of Things evolution has added value to retail business operations.
v. Government.
9) Explain why energy consumption will be an issue when the Internet of Things is implemented?
i. Data centers and Sensors:
Data collected from billions of machines, appliances, “things,” and devices, as well as from
sensors and surveillance cameras integrated into our environment, driverless cars, “enhanced
humans”, microchipped humans and animals, and virtual and augmented reality, will be stored
and responded to in data centers. This requires energy or power.
10) What are the main challenges of the Internet of Things implementation?
i. Meeting customer expectations.
ii. Easing security concerns.
iii. Keeping IoT hardware updated.
iv. Overcoming connectivity issues.
v. Waiting for governmental regulation.
Part-C
1) How Rasberry Pi different from a desktop computer? Justify your answer with an illustration.
There are 2 main differences between a “normal PC” and a Raspberry Pi.
i. Construction
A normal PC is made up out of individual components , the basis is a motherboard. Everything in the
PC is connected to it. The CPU, RAM, video card. All these devices hook up to standardized
connectors and together they form the PC.
A Raspberry Pi is a single board computer. It has a motherboard (it is a motherboard) but everything
is soldered to it. You cannot add more memory or use a different video card.
ii. Architecture
A PC uses a x86 or x64 architecture. This is defined by the processor used. 32 bit is on the way out so
most these days are 64bit CPU’s. This has its origins in the IBM “PC” first launched in the 80’s which
used Intel CPU’s. These were of the x86 family. These days it is more likely to be x64/AMD64. The Pi
on the other hand uses an ARM CPU. The difference here is the instruction set. This is a list of
“commands” the CPU understands. Intel/ARM use very different instruction sets so operating
systems and programs that work fine on a x64 won’t work on an ARM system and vice versa.
4) Write a Python program for switching LED/Light based on reading LDR reading.