ANNA UNIVERSITY CHENNAI-25
BE/B.Tech PRACTICAL END SEMESTER EXAMINATION-NOV/DEC 2024
VII semester
OCS352- IOT Concepts and Application
(Regulation 2021)
Time:3Hours Answer any one Question Max.Marks:100
(To be filled by the Question Paper Setter)
Aim/Principle/Apparatus Program/Drawing Results Viva- Record Total
required/Procedure voce
20 30 30 10 10 100
1. Write an Arduino program to blink an LED connected to pin 12 on the Arduino Uno. The
LED should blink every 1 second (ON for 1 second, OFF for 1 second).
2. Write a program to read an analog sensor value connected to an analog pin and print the
value to the serial monitor.
3. Write a program to use of digital and analog pins on the Arduino board.
4. Write a program to establish communication between two Arduino boards using Zigbee.
One board should send data and the other should receive and display the data.
5. Implementation a ZigBee communication between two Arduino boards and exchange data.
6. Connect the Zigbee module to the Arduino and configure the settings (e.g., baud rate, PAN
ID, etc.). Provide a schematic diagram of the setup.
7. Write a program to send and receive data between the two Zigbee modules using Arduino
code.
8. Write a program to send an SMS when a specific sensor detects an event.
9. Write a program to send an SMS from the Arduino to a mobile phone using the GSM
module.
10. Connect the GSM module to the Arduino and explain the connections (TX, RX, GND,
VCC, etc.). Provide a wiring diagram.
11. Write the required code to send the SMS using AT commands and explain how the GSM
module is configured.
12. Connect the Bluetooth module to send sensor data (e.g., temperature or light intensity) to
a smartphone. Write the program to send the data over Bluetooth.
13. Write the program to send the data over Bluetooth Arduino and explain the connections
(TX, RX, GND, VCC, etc.). Provide a schematic of the setup.
14. Interface a Light-dependent Resistor (LDR) to the Raspberry Pi and write a Python
program to read the sensor’s analog value.
15. Interface a Ultrasonic sensor (HC-SR04) with the Raspberry Pi and write a Python program
to measure the distance and display the result on the terminal.
16. Interface an HC-05 Bluetooth module with Arduino and set up communication with the
Raspberry Pi.
17. Write a Python program to detect motion and toggle an LED when motion is detected.
18. Write a Python script on the Raspberry Pi to send and receive data via a Wi-Fi connection.
19. Implement an API-based solution to upload the data to the cloud platform.
20. Implement security measures for the IoT system, such as encrypted communication with
the cloud, secure device authentication, and password protection for remote access.