SRM TRP Engineering College
Samayapuram, Irungalur-621105
COMMON TO CSE AND AI&DS
Course Code : CS3691 Course Name : Embedded Systems and IoT
Programme : B.E-CSE& Regulations : 2021
B.Tech –
AI&DS
Academic Year: 2024-2025 Faculty incharge : Ms.K.Aiswarya , Mrs Shiny Pershiya
A, Mr. M Vijay, Mrs. GA. Nivedaa
Year/Sem : III / VI Batch : 2022-2026
Important Questions
Unit -I : 8-BIT EMBEDDED PROCESSOR
1. Describe the architecture of 8051 with neat sketch. (Architecture – 7 marks,
Description – 6marks)
2. List the various addressing modes and describe each in brief. (Addressing
mode definition – 2 mark, description - 11 marks)
3. Explain all the instruction formats in 8051 microcontrollers with examples.
(Each format -3 marks)
4. Write an ALP to transmit the data “HELLO” using serial communication with
9600 baud rate. (Program – 11 marks, Result – 2 marks)
5. Write a program for generation of unipolar square waveform of 1KHZ
frequency using Timer 0 of 8051 in mode 0. Consider the system frequency
as 12MHZ. (Program – 11 marks, Results – 2 marks)
6. Describe modes of timer with neat sketch.( sketch-5 marks, description- 8
marks)
7. Explain the serial communication with neat diagram.(diagram- 4 marks,
description- 9 marks).
Unit -II: EMBEDDED C PROGRAMMING
1. Write about the external program memory interfacing and external data memory
interfacing with 8051 microcontroller. (external program memory interfacing –
7 marks, external data memory interfacing – 8 marks)
2. Write an ALP to display the keyword 16*2 LCD display using 8051 microcontroller. (Scheduling definition - 3 marks, types and
explanation – 12 marks)
3. Identify the row and column of the pressed key for each of the following using 4*4 matrix keyboard.
A. D3–D0=1110 for the row, D3–D0= 1011 for the column
B. D3 – D0 = 1101 for the row, D3 – D0 = 0111 for the column.
(Keyboard sketch – 2 marks, row and column identification- 3
marks)
4. Write an ALP to detect and identify the key pressed in 8051
microcontroller. (Keyboard Sketch– 1 marks,ASCII value-1 mark,
Program – 7 marks, Result – 1 mark)
5. What is meant by scheduling? Explain various types of scheduling
methods. (Scheduling definition - 3 marks, types and explanation –
12 marks)
6. Describe the need of operationg system. Specify the need of RTOS.
(Operating system definition-3 markis, Need of OS- 4 marks, Need
of RTOS- 6 marks)
Unit -III : IOT AND ARDUINO PROGRAMMING
1. Construct with a neat sketch about the functional components of typical IoT systems
and its architecture
(Definition and Features of IoT – 3 marks, Architecture diagram – 3 marks,
Component description – 4 marks)
2. Explain the function of Arduino. Discuss the types of Arduino board and sketch
structure with pin structures.
(Arduino definition and functions – 3 marks, Types -4 marks, Arduino pin
structure and explanation -3 marks)
3. Explain the functionality of the Ethernet Shield for Arduino and how it enables network connectivity. Describe its key components and discuss
two real-world applications where it can be used to enhance IoT projects.
(Arduino shields -3 marks, Diagram -3 marks, key components and its applications – 4
marks)
4. Describe the use of digital and analog I/O functions in Arduino programming. Explain the differences between digitalWrite(), digitalRead(),
analogRead(), and analogWrite(), and discuss one application where these functions are used together.
(Arduino programming – 2 marks, Explanation of functions – 4 marks,
Example-4 marks)
Unit-IV : IOT COMMUNICATION AND OPEN PLATFORMS
1. Outline the architecture of Zigbee in detail
(Zigbee features – 3 marks, Architecture – 3 marks, Description-4 marks)
2. Explain Raspberry Pi architecture and discuss how RPi used for IoT application
(Raspberry Pi architecture – 3 marks, Description – 4 marks, usage in IoT –
3 marks)
3. Model the GSM architecture with the neat diagram and explore the working of GSM modules
(GSM and its features – 3 marks, diagram – 3 marks, description-4 marks)
4. Design a WiFi-based smart home system using an ESP8266 module to control a relay module via HTTP requests. Explain how the ESP8266
acts as a web server to toggle the relay based on user input from a browser. Provide a sample Arduino code snippet for the ESP8266 to
demonstrate the implementation.
(Wifi and its diagram – 3 marks, description using HTTP – 3 marks,
sample code with output – 4 marks)
Unit-V : APPLICATIONS DEVELOPMENT
1. Design an IoT-based smart home system using MQTT protocol to control
lighting and temperature. Explain how you would implement the publish-
subscribe model to ensure real-time communication between devices and a
central server. Provide a flowchart or block diagram to illustrate the system.
(key features – 2 marks, diagram-2 marks, description-3 marks, publish
and subscribe protocol and its relevance with flowchart -3 marks)
2. Identify the role and necessity of IoT in health care and explain with any one real
time example?
(Smart Healthcare diagram – 3 marks, description – 4 marks, relevance to
one Eg. -3 marks)
3. Apply CoAP protocol to design a constrained IoT network for a smart agriculture system. Describe how you would use CoAP’s lightweight
features to monitor soil moisture levels and control irrigation. Include a sequence diagram to show the interaction between the sensor nodes
and the gateway.
(smart agriculture and its features – 3 marks, diagram – 3 marks, sensor
diagram and sample code – 4 marks)
4. Apply RESTful APIs to implement a smart parking system in an urban area. Explain how IoT-enabled parking sensors can send availability
data to a cloud server, which driver’s access via a mobile app. Provide a sample API call structure and describe the steps to ensure real-time
updates.
(Smart parking system – 3 marks, diagram – 2 marks, description-2 marks,
sample code -3 marks).