Embedded QB New 4
Embedded QB New 4
OBJECTIVES:
TEXTBOOKS:
1. Mohammed Ali Mazidi, Janice Gillispie Mazidi, Rolin D.McKinlay, the 8051
Microcontroller and Embedded Systems Using Assembly and C, Second Edition, Pearson
Education, 2008.(Unit – I)
2. Marilyn Wolf, Computers as Components – Principles of Embedded Computing System
Design, Third Edition, Morgan Kaufmann, 2012.(Unit – II,III)
3. Arshdeep Bahga, Vijay Madisetti, Internet – of- Things – A Hands on Approach,
Universities Press, 2015.(Unit – IV,V)
REFERENCES:
1. Mayur Ramgir, Internet – of – Things, Architecture, Implementation and Security, First
Edition, Pearson Education, 2020.
2. Lyla B.Das, Embedded Systems: An Integrated Approach, Pearson Education 2013, Jane.W.
S Liu, Real – Time Systems, Pearson Education, 2003.
COURSE OUTCOMES
Upon Completion of the course, the students will be able too
C309.1 Explain the architecture and features of 8051.
C309.2 Develop a model of an embedded system.
C309.3 Understand the concepts of real time operating systems.
C309.4 Learn the architecture and protocols of IoT.
C309.5 Design an IoT based system for any application
C309.1 3 3 3 2 2 - - - - - - - 3 2 1
C309.2 3 3 3 2 2 - - - - - - 2 3 2 1
C309.3 3 3 2 2 2 - - - - - - 2 2 1 1
C309.4 3 3 2 2 2 - - - - - - 2 3 3 2
C309.5 3 3 3 3 3 - - - - - - 2 3 3 2
1
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
2
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
Microcontrollers for an Embedded System – 8051 – Architecture – Addressing Modes – Instruction Set
– Program and Data Memory – Stacks – Interrupts – Timers/Counters – Serial Ports – Programming
PART A – C309.1
1. What is an embedded system?
An Embedded system is one that has computer-hardware with software embedded in it
as one of its most important components. It is a dedicated computer-based system for
BL1
an application or product. It may be either an independent system or a part of a larger
system. Ex: VCR’s, digital watches, elevators, automobile engines, thermostats &
instruments that are driven by microprocessors and their software.
2. Enumerate some embedded computers that are exists from the origin of the
embedded systems. (Dec 16)
BL1
Cell phones, calculators, printers, thermostats, video game consoles, CD players are
some of the embedded computers that exist from the origin of embedded systems.
3. What are the special function register?
The special function register are stack pointer, index pointer (DPL and DPH), I/O port BL1
addresses, status (PSW) and accumulator.
3
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
4
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
5
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
PART B C309.1
1. With the necessary diagram of control word format, explain the various operating modes
of timer in 8051microcontroller (May/June2014)
2. With the help of neat diagram explain the memory organization of 8051 microcontroller BL1
(April/May2011)
3. With neat sketch explain the architecture/ functional block diagram of 8051 BL2
microcontroller. (Nov/Dec2010), (April/May2010) (Apr/May 2015) (Nov/Dec2014)
4. Explain the Data transfer instructions and Program control instructions of 8051 BL1
microcontroller. (April/May2011), (Nov 2020, April 2021)
5. Explain the TMOD function register and its timer modes of operations. BL3
6. Explain the different addressing modes of 8051.(Nov 2015, May 2017, 2018, 2019, Nov BL2
2020, April 2021)
6
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
7. Give PSW of 8051 and describe the use of each bit in PSW. (Nov/Dec 15) BL4
8. Explain in detail the modes of operation of Timer unit in 8051 microcontrollers. BL2
9. Using 8051 timer/Counter write a program for generating square wave of 100 ms and BL3
50% duty cycle. (April/May2011)(Nov/Dec2014)(Nov/Dec2010)
10. Explain 8051 serial port programming with examples.(Nov 2018) BL1
11. Explain in detail about the Interrupts of 8051. BL1
7
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
8
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
24. How are traps Handled in ARM Processor? (Nov 17, Nov19)
Trap is also known as software interrupt. It is an instruction that explicitly generates an
exception condition. The processor immediately switches on to the supervisor mode to BL2
handle the trap when encountered. The ARM processor provides SWI
interrupt for software interrupts.
25. State the basic principles of basic compilation techniques.
1.Compilation combines translation and optimization 2.The high-level language
BL2
program is translated into lower-level form of instructions; optimizations try to generate
better instruction sequences 3.Compilation = Translation+ optimization.
26. How are traps Handled in ARM Processor? (Nov 17, Nov19)
Trap is also known as software interrupt. It is an instruction that explicitly generates an
exception condition. The processor immediately switches on to the supervisor mode to BL1
handle the trap when encountered. The ARM processor provides SWI
interrupt for software interrupts.
27. List the functions of ARM processor in supervisor mode.(May 18)(Nov 18)
BL1
Exception, Prioritization, Vectoring, Traps.
28. Differentiate big and little -endian byte ordering modes.
In big endian mode the lowest order byte is stored in the highest bit of the word whereas BL1
in little endian mode the lowest order byte is stored in the lowest bit of the word.
29. List the three different profiles of ARM cortex Processor? (May 21)
The ARM Cortex family includes processors based on the three distinct profiles of the
ARMv7 architecture; the A profile for sophisticated, high-end applications running open BL1
and complex operating systems; the R profile for real-time systems; and the M profile
optimized for cost-sensitive and microcontroller applications.
30. How power can be optimized at the program level? (Nov 17)
Power optimization is done at the program level by many ways. Some of the ways can
be given as avoiding power down mode, predictive shutdown. By avoiding power down BL2
mode much power gets saved. In predictive shutdown the power conservation is
achieved by turning down the blocks when not used.
31. List the types of Co-verification techniques. (May 17)
Co-Verification phase is about white box testing. Techniques include statement
coverage, condition coverage, and decision coverage. BL1
Demonstration: It is about black box testing. Techniques include error guessing,
boundary-value analysis, and equivalence partitioning.
32. Define compilation.
Compilation combines translation and optimization. The high-level language programis
BL1
translated into the lower-level form of instructions; optimizations try to generate better
instruction sequences.
9
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
33. Write note on assembler / interpreters for embedded systems. (May 19)
Assemblers translate high level language into machine language one by one
BL1
translation. Interpreter constantly runs and interprets source code as a set of
directives.
34. What is meant by testing?
Testing is the process of finding the errors and correcting error. Testing ensures that
BL2
whether the system will work based on constraints of design. Types: block box testing
and clear box testing.
35. What is meant by linking and loading? (May 19)
Linking is the process of stitching several smaller pieces of the program together
BL1
compiled by assembler to introduce modularity. Loading is the process of getting the
starting address of the compiled small portions of the program to run consecutively.
36. Define Program Execution Time
Program execution time is the time spent by the CPU in executing the program including
BL1
the time needed for getting the inputs, the pre-emption time and the time needed for
giving the output.
37. What are the four types of data transfer in USB?
Control transfer, Interrupt transfer, Bulk transfer, Isochronous transfer (sequence of BL1
data).
38. Mention the two ways used for performing input and output operations.
BL1
Using input and output, instructions, Memory mapped I/O
PART B – C309.2
1. Discuss in detail about the network based embedded system design. (Dec 16) BL3
2. How are the conceptual specifications and detailed specifications written in UML BL3
language to design the model train controller? (May 18) (Nov 17,18) (May 21)
3. Explain in detail about the quality assurance process taken place in the embedded BL2
computing system design .(May 17,18)(Nov 17)
4. Explain the various components and programing models used for developingembedded BL3
systems with an example in consumer electronics, explain the embedded system design
withcomputing platform. (Nov 17)
5. Illustrate how an embedded system design is done using IDE?(May 19) BL3
6. Assuming the design of model train controller, draw a state diagram for a behavior that BL3
sends the command bits on the track. The machine should generate the address, generate
the correct message type, include the parameters and generate the error correcting code
(ECC).(DEC 21)
7. How are the conceptual specification and detailed specification written in UML language BL3
to design the model train controller? (May 18) (Nov 17,18) (May 21)
8. Explain the function of ARM processor instructions. (Nov 17) (May 21) BL3
9. Analyze the preference of ARM processor instruction set over CISC process (May 19) BL1
10. With neat block diagram explain the architecture of the ARM9 CPU. (DEC 21) BL3
11. With neat block diagram explain the architecture of the ARM Cortex M3 CPU. BL4
12. (i)Explain in detail the testing process involved in developing an embedded system. BL4
(ii)Describe how embedded system is useful in competing with computing platform.
(Dec 16)
13. (i)Explain in detail about the compilation process in high level languages.(May 17) BL1
(Nov 17) (May 21)
(ii)What are the program level performance analysis of embedded computing system
design. (May 21)
10
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
14. (i)Explain in detail the testing process involved in developing an embedded system. BL2
(ii)Describe how embedded system is useful in competing with computing platform.
(Dec 16)
15. With a suitable example, explain how debugging is carried out using debuggers & BL1
compliers? (May ’13)
16. (i)Discuss in detail about the optimization of program size of an embedded BL2
system.(May17)
(ii)Discuss in detail various programming model? (May 17,May18)
17. Discuss briefly about Assembly and Linking.(May 18,Nov 19) BL1
Explain in brief about program Validation and testing? (May 19,Nov 19)
18. Describe about Basic compilation techniques (DEC 21) BL1
Explain the debugging process (Nov 18)
19. Discuss in detail about the various techniques used in “black box testing”. (DEC 21) BL2
Structure of a real – time system – Task Assignment and Scheduling – Multiple Tasks and Multiple
Processes – Multirate Systems – Pre emptive real – time Operating systems – Priority based scheduling –
Interprocess Communication Mechanisms – Distributed Embedded Systems – MPSoCs and Shared Memory
Multiprocessors – Design Example – Audio Player, Engine Control Unit and Video Accelerator.
PART A – C309.3
1. What are real-time systems?
Real-time systems are systems that are bounded to give the response within a predefined
BL1
period which is called as deadline. The deadline for the system is fixed considering the
responsivity and the constraints of the system.
2. What is Hard Real-Time?
Hard Real-time is applied in systems, where missing a deadline causes failure of the BL1
system. It is mainly followed in critical systems.
3. What is Soft Real-Time?
Soft Real-time is applied in systems, where missing a deadline causes degraded BL1
performance of the system. It is mainly followed in critical systems.
4. Define Sampling Period.
The length T of time between any two consecutive instants where samples are collected
from the incoming signals namely sensor data or any other electrical signal is called as BL2
sampling period. The sampling period plays a key role in the effective
functionality of the system
5. Define
5 Multirate Systems
Multi Rate systems are systems that have more than one degree of freedom. Its stateis
BL1
defined by multiple state variables. In multi rate systems multiple processes run at different
rates having different instantiation times and different deadlines.
6. What
6 is Dead-beat control? (May 17)
A discrete-time control scheme that has no continuous-time equivalence is deadbeat
BL1
control. In response to a step change in the reference input, a dead-beat controller brings
the system to desired state by exerting on the system a fixed number of control commands.
7. What
7 is a Deadline?
A deadline for a process is given as the time instant at which the process needs to be
BL1
completed with its execution. The deadline is fixed based on the execution time of the
process.
11
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
8. Define
8 Release Time.(Nov 16)
Release time of a process is given as the time instant at which the process becomes ready
BL1
for execution. The process can only be taken for execution when the release time is met.
Based on data dependencies further delay in execution of the process can happen.
9. What
9 is meant by response time for real time systems? (May 21)
The response time of a process is given as the length of time from the release time ofthe BL1
process to the instant when it gets completed.
10. Define
1 Relative Deadline.
The
0 maximum allowable response time of the process can be given as the relative deadline BL2
of the process. Relative deadline of a process is considered when multiple process
executions are happening simultaneously.
11. What is meant by tardiness of a job?
The tardiness of a job measures how late it completes respective to its deadline. Its BL1
tardiness is zero if the job completes 0at or before its deadline.
12. What are sporadic or aperiodic jobs?
The jobs which are triggered on the occurrence of external event are called assporadic or
BL2
aperiodic jobs. The release times of these jobs are not known until the
triggering event occurs.
13. Define Periodic Task Model
A periodic task model can be defined as the workload model whose occurrence is
BL1
deterministic in nature. The scheduling algorithms for these models have better
performance and well understood behavior.
14. Define criticality of jobs.
Criticality of jobs or importance of jobs can be given as the positive number that indicates
BL1
how critical the job is with respect to other jobs. More critical the job is the bigger the
criticality number of the job becomes.
15. What is called as a scheduler?
The model which executes the scheduling algorithms and resource access controls ofthe BL1
jobs is called as a scheduler.
16. Define miss rate & loss rate.
The miss rate of a system is given as the percentage of jobs executed but completed too
BL1
late. The loss rate of a system is given as the percentage of jobs that are discarded without
execution.
17. What is meant by Laxity?
Laxity can be given as the classification of the deadline of the job, whether it fallsinto BL1
a hard deadline system or a soft deadline system.
18. What is Priority driven Scheduling?
Priority driven scheduling is a method of scheduling the process based on the priority levels
BL1
assigned to each process. The priority maybe assigned to the process in static or dynamic
manner.
19. Difference between rate monotonic and Deadline monotonic scheduling.
Rate Monotonic Scheduling Deadline Monotonic Scheduling
• It is a Static or fixed priority based • It is a Static or fixed priority based
scheduling policy. scheduling policy.
BL2
• The priority to the process is assigned • The priority to the process is assigned
based on the periods of theprocess. based on the deadlines of the process.
• Process with short period gets the • Process with short deadline gets the
highest priority. highest priority.
12
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
13
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
33. What does a distributed embedded architecture give the block diagram? (Nov
17)(May 18)
In a distributed embedded system several processing elements are connected by a network
that allows them to communicate. More than one computer or group of computer and PEs
are connected via network that forms distributed embedded systems.
BL1
14
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
43. Compare the major functionalities of POSIX RTOS and Windows CE. (DEC 21)
The main difference between RTOS and OS is that RTOS stands for Real- Time Operating
BL3
System whereas OS stands for Operating System. RTOS are operating systems that are
used for highly specialized projects that involve as near-to-true-time responses as feasible.
44. What is the difference between the ready and waiting states of process
scheduling? (DEC 21) BL1
Ready: Process can continue. Wait: Process should wait some events and then continue.
PART B – C309.3
1. Explain with relevant diagrams the model of real-time systems. BL1
Explain in detail about Least Slack Time or Minimum Laxity First Algorithm, also with BL1
example give the scheduling of processes done by the algorithm.(May17,18)
2. Explain with a neat diagram inter process communication. (May 16,17,19)(Nov 17, 18) BL1
Explain the real time operating system called Windows CE and POSIX in detail. (Nov BL1
17, Nov18, Nov19)
3. Explain in detail earliest deadline first scheduling. (May 17) BL1
4. Discuss in detail multi-tasking and multi-processing. (Dec 16), (May 18) BL1
5. Discuss the various scheduling policies with example. (May 18), (June 16) BL1
6. Explain priority-based scheduling in detail. BL1
7. Explain how multiple processes are handled by Preemptive Realtime operating system. BL1
(Nov 17) (May 19)(Nov 19)
8. Write in detail about the embedded concepts in the design of video accelerator. (Dec16) BL1
(Nov 18,19) (May 19)
9. Explain the hardware and software design of engine control unit.(May 17,19)(Nov17,18) BL1
Expl
10. Explain the operation of the Audio Player in detail (Nov 17) (May 18) BL1
11. Discuss in detail about the network based embedded system design. (Dec 16) BL1
12. Write notes on internet enabled systems. (Nov 16),( May 16) BL1
13. Discuss in detail about several interconnected networks especially used for distributed BL1
embedded computing. (May 16,18)(Nov 18,19) (May 21)
14. Explain how the concepts of MPSoC and shared memory multiprocessors are used in BL1
embedded applications. (Nov 17,19) (May 19) (May 21)
15
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
16
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
Scalability: SNMP is designed for managing network devices, and it may not scale well for
large numbers of IoT devices. IoT systems can involve thousands or even millions of devices,
and SNMP's management overhead can become impractical.
Resource Intensive: SNMP can be resource-intensive, both in terms of network bandwidth and
processing power. IoT devices often have limited resources, and SNMP can strain these
resources, affecting the device's performance and battery life.
12. How IoT communications APIs are classified?
BL1
There are four common types of APIs: Public, Partner, Internal and Composite.
13. Tabulate the different levels of Machine-to-Machine communication.
• Device-to-Device (D2D) Communication
• Device-to-Gateway Communication
• Device-to-Platform Communication BL1
• Device-to-Device-to-Cloud Communication
• Machine-to-Data Center Communication
• Inter-Enterprise and Ecosystem Communication
14. Define XMPP
The Extensible Messaging and Presence Protocol (XMPP) was originally designed for real-
time human-to-human communication including instant messaging. This protocol has been BL1
adapted for machine-to-machine (M2M) communication to implement lightweight middleware
and for routing XML data. XMPP is primarily used with smart appliances.
15. Bring out the IOT enabling technologies.
The major enabling technologies and protocols of IoT are RFID, NFC, low-energy Bluetooth,
low-energy wireless, low-energy radio protocols, and LTE-A. These technologies support the BL1
specific networking functionality needed in an IoT system in contrast to a standard uniform
network of common systems.
16. Summarize the difference between IOT and M2M
Internet of Things Machine to Machine
• Devices have objects that are • Some degree of intelligence is observed in
responsible for decision making this.
• The connection is via Network and • The connection is a point to point
using various communication types. BL1
• Internet protocols are used such as • Traditional protocols and communication
HTTP, FTP, and Telnet. technology techniques are used
• Data is shared between other • Data is shared with only the
applications that are used to improve communicating parties.
the end-user experience.
17. Define MQTT.
Message Queue Telemetry Transport (MQTT) is a publish/subscribe-based messaging
BL1
protocol that was designed for use in low bandwidth situations, particularly for sensors and
mobile devices on unreliable networks.
18. What is the role of Modbus protocol?
Modbus and its variants are industrial protocols used to monitor and program remote devices
BL1
via a master/slave relationship. Modbus is also found in building management, transportation,
and energy applications.
19. Explain State of the art in Reference Architecture
Several Reference Architectures and Models exist both for M2M and IoT systems. The four
BL1
most popular ones from which the specific Reference Architecture and Model of this book
have borrowed concepts and functions.
17
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
The M2M system architectures are naturally more communication-oriented, while the IoT-
related reference architectures and models are more holistic in their scope.
20. Explain IoT domain model.
The domain model captures the basic attributes of the main concepts and the relationship
between these concepts. A domain model also serves as a tool for human communication BL1
between people working in the domain in question and between people who work across
different domains.
21. State Communication model.
The communication model for an IoT Reference Model consists of the identification of the
BL1
endpoints of interactions, traffic patterns (e.g., unicast vs. multicast), and general properties of
the underlying technologies used for enabling such interactions.
22. Define Reference model.
A reference model describes the domain using a number of sub-models. The domain model of BL1
an architecture model captures the main concepts or entities in the domain in application.
23. Explain IOT reference Architecture
IoT Reference Architecture is a starting point for generating concrete architectures and actual
systems. A concrete architecture addresses the concerns of multiple stakeholders of the actual
system. IoT reference architecture is typically presented as a series of views that address
different stakeholder concerns.
The stakeholders for a concrete IoT system are the people who use the system (Human Users); BL1
the people who design, build, and test the Resources, Services, Active Digital Artifacts, and
Applications; the people who deploy Devices and attach them to Physical Entities; the people
who integrate IoT capabilities of functions with an existing ICT system (e.g. of an enterprise);
the people who operate, maintain, and troubleshoot the Physical and Virtual Infrastructure; and
the people who buy and own an IoT system or parts (e.g. city authorities).
24. What are the applications of Smart Cities?
IoT applications for smart cities:
a). Smart Parking
b) Smart Lighting for Road
BL1
c). Smart Road
d). Structural Health Monitoring
e). Surveillance
f). Emergency Response
25. What are the applications of Smart Energy systems?
IoT applications for smart energy systems:
a)Smart Grid BL1
b)Renewable Energy Systems
c)Prognostics.
PART B – C309.4
1. (i)Explain physical design in detail with an example. BL1
(ii)Explain the IoT protocols with block diagram.
2. Write about the IoT enabling technologies. BL1
Explain the Categories of enabling technologies in detail.
3. Explain in Logical design of IOT? Illustrate with diagram. BL1
4. Explain Domain specific IoT with an example. BL1
5. Explain in detail about M2M. BL1
6. (i)Explain the application of M2M.(ii)Differentiate M2M and IOT. BL1
18
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
7. Explain with neat diagram of IoT Systems Management with NETCONF-YANG. BL1
8. What are the roles of big Data analysis, communication protocols and Embedded Systems BL1
9. What is the use of SDN and NFV for IOT? BL1
10. Describe how smart Irrigation IoT System with NETCONF- YANG BL2
11. Write detailed note on Managing Home Intrusion Detection IoT with NETCONF-YANG BL1
12. Explain about CANBUS AND BAC NET PROTOCOL BL1
19
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
20
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
15. What are the differences between Raspberry Pi models, and how do they affect
application development?
Raspberry -Pi models differ in processing power, memory capacity, connectivity options, and
physical size. The Raspberry- Pi 1 has a single-core processor and less RAM than later
models, limiting its ability to run complex applications. The Raspberry-Pi 2 introduced a
quad-core processor for improved multitasking. The Raspberry Pi 3 added built-in Wi-Fi and
BL2
Bluetooth, enabling IoT development without additional hardware. The Raspberry Pi 4
further increased performance with a faster processor, up to 8GB of RAM, and dual monitor
support. The Zero series is smaller and cheaper but lacks certain features like Ethernet ports.
These differences affect application development by determining the complexity of software
that can be run, the types of peripherals that can be connected, and the environments where
the device can be deployed.
16. Name any four services offered by Raspberry-Pi.
• Wireless print server.
• Media Usage.
BL1
• Game Servers
• Retro Gaming Machine.
• Robot Controller
17. Justify how a Linux OS is useful in IoT.
OpenWrt is a Linux distribution primarily used for routers and networking devices. It is also
BL2
popular in IoT gateways due to its lightweight nature, package management system,
extensive network protocols, and wireless communication support.
18. Differentiate Raspberry with Arduino.
Arduino Raspberry Pi
• In the year 2005, the classrooms of the • In the year 2012, Eben Upton first
Interactive Design Institute in Ivrea, Italy, introduced the Raspberry Pi device in
first introduced the Arduino board. February.
• Control unit of the Arduino is from the • The control unit of Raspberry Pi is from
Atmega family. the ARM family.
• Arduino is based on a microcontroller. • While Raspberry Pi is based on a
microprocessor.
• It is designed to control the electrical • While Raspberry Pi computes data and
components connected to the circuit board produces valuable outputs, and controls
in a system. components in a system based on the
outcome of its computation. BL2
19. What are the interfaces in Raspberry?
1. Camera — enable the Raspberry Pi Camera Module.
2. SSH — allow remote access to your Raspberry Pi from another computer using SSH.
3. VNC — allow remote access to the Raspberry Pi Desktop from another computer using VNC. BL1
4. SPI — enable the SPI GPIO pins.
5. I2C — enable the I2C GPIO pins.
21
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
24. Why is Raspberry Pi often used for IoT projects, and what makes it suitable for this
purpose?
Raspberry Pi is frequently used in IoT projects due to its affordability, versatility, and
accessibility. Its low cost makes it an attractive option for prototyping and deploying multiple BL2
devices. The Raspberry Pi supports various operating systems and programming languages,
making it adaptable to different project requirements. It also has a robust community
providing extensive resources and support.
25. How would you go about optimizing power consumption for a Raspberry Pi device in
an IoT context?
To optimize power consumption for a Raspberry Pi in an IoT context, consider these
strategies. Firstly, disable unnecessary components and services. For instance, if you’re not
using HDMI or audio jack, turn them off to save power. Secondly, use the ‘sleep’ mode when BL3
idle. This reduces power usage significantly as it puts the device into a low-power state.
Thirdly, choose peripherals wisely. Some peripherals consume more power than others, so
opt for energy-efficient ones. Fourthly, adjust CPU frequency. Lowering the CPU speed can
reduce power consumption. Lastly, use lightweight software.
PART B – C309.5
1. Describe the procedure of Building IoT with Raspberry-Pi. What are the physical devices and BL1
end points?
2. i)List the features in IoT systems BL1
ii)Describe Logical design using python in detail.
3. Explain the concepts involved in Raspberry-Pi. BL1
4. Evaluate the Raspberry -Pi board in detail with neat sketch. BL1
5. (i)Generalize the Linux on Raspberry-Pi. BL1
(ii)Design the functional building blocks in Raspberry- Pi Interfaces.
6. Discuss contrast scripting and compiled programming languages and their applications to the BL1
raspberry -Pi.
7. Classify the various types of programming languages for Raspberry-pi. Show how will it is BL1
used in IoT.
22
St. Joseph’s Institute of Technology
ET3491 Embedded Systems and IOT Design Department of ECE 2023-2024
23
St. Joseph’s Institute of Technology