Tutorial-2 4BCA IoT
Tutorial-2 4BCA IoT
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
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
3. List out at least five different types of Actuators.
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
____________________________________________________________________________
4. Program Exercise:
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
---End---