0% found this document useful (0 votes)
2 views

Tutorial-2 4BCA IoT

This document is a tutorial for a Bachelor of Computer Application course on the Fundamentals of IoT. It includes exercises on matching components with their functions, listing types of sensors and actuators, programming tasks for controlling LEDs and reading data from a DHT11 sensor, and creating a project in the Blynk Cloud IoT Platform. Additionally, it requires a diagram of an Embedded IoT System to be drawn and labeled.

Uploaded by

alaapjagdale.ee
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Tutorial-2 4BCA IoT

This document is a tutorial for a Bachelor of Computer Application course on the Fundamentals of IoT. It includes exercises on matching components with their functions, listing types of sensors and actuators, programming tasks for controlling LEDs and reading data from a DHT11 sensor, and creating a project in the Blynk Cloud IoT Platform. Additionally, it requires a diagram of an Embedded IoT System to be drawn and labeled.

Uploaded by

alaapjagdale.ee
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

SCHOOL OF TECHNOLOGY, DESIGN AND

COMPUTER APPLICATION
SILVER OAK COLLEGE OF COMPUTER APPLICATION
BACHELOR OF COMPUTER APPLICATION
FUNDAMENTALS OF IOT

Semester: 4 Academic
2024-25
Year:
Course Name: Fundamental Of IoT Course Code: 3040233240

Tutorial No: 2 [UNIT: 2]

1. Match the following components with their correct function:

Components: ESP32, Raspberry Pi, Sensors, Actuators, Cloud Platform, Bluetooth

a) Executes Linux-based operations and can be used for AI projects. --------------

b) Used to detect environmental changes and send signals. --------------------------

c) Controls physical processes like motors, relays, and LEDs. ----------------------

d) Connects wirelessly with short-range devices. -------------------------------------

e) Stores and processes IoT data remotely. --------------------------------------------

f) A microcontroller with inbuilt Wi-Fi and Bluetooth capabilities. ---------------

2. List out at least ten different types of Sensors.

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________
3. List out at least five different types of Actuators.

____________________________________________________________________________

____________________________________________________________________________

____________________________________________________________________________

____________________________________________________________________________

____________________________________________________________________________

4. Program Exercise:

i) Write a program/code to control 2 Led’s using 2 Pushbuttons.


ii) Arrange the program/code in the correct sequence. The program/code is to display the msg on
Arduino serial monitor “Object Detected” or “Object Not Detected” using IR sensor.
Note: Here IR sensor used work on reverse logic. i.e if object is detected output of sensor goes
low.

Incorrect Sequence: Correct Sequence:

pinMode(irSensorPin, INPUT);
void loop()
{
Serial.begin(115200);
const int irSensorPin = 04;
int sensorState = digitalRead(irSensorPin);
Serial.println("Object Detection Status:");
}

void setup()
{
Serial.println(“IR Sensor Test”);
else (sensorState == LOW)
{
Serial.println("Object Detected !!!");
}
if
{
delay(1000);
}
Serial.println(“Object Not Detected”);
}
iii) Write a program to read the value of temperature and humidity using DHT11 sensor, display the
value of temperature and humidity sensor on Arduino serial monitor and also if temperature is
equal to or below 25ᵒCelsius Green Led should turn on and if temperature goes above 25ᵒCelsius
then Red Led should turn on.
5. Fill the blocks with appropriate/correct words (given below in table) and in sequence for creating
a project in Blynk Cloud IoT Platform.
Note: Words in the box are not in sequence.

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

Table
Set Up Datastreams Add first Device → Get -Template ID,
Template Name & Auth-Token
Run/Test the Project. Developer Zone → Template → New
Template → Configure Template
Go to https://blynk.io/ and create an Upload the Code into ESP32 Board
account.
Set Up the Web Dashboard Hardware on Breadboard

Write a Code in Arduino IDE Set Up the Mobile Dashboard


6. Draw neat and clean diagram of Embedded IoT System with proper labelling..

---End---

You might also like