0% found this document useful (0 votes)
32 views7 pages

Experiment 1.1 - DT-2 - 21BCS1295

The document describes an experiment using an ESP32 microcontroller board to blink an LED. The student's objectives were to introduce themselves to open-source IoT platforms and basic interfacing. They used an ESP32 board, LED, resistor, breadboard, and Arduino IDE. The code uploaded to the ESP32 board turned the LED on and off with a 1 second delay between states. By running the code, the student observed the LED blinking and learned how to program and interface the ESP32 board. They concluded the experiment was successfully completed.

Uploaded by

Praveen Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views7 pages

Experiment 1.1 - DT-2 - 21BCS1295

The document describes an experiment using an ESP32 microcontroller board to blink an LED. The student's objectives were to introduce themselves to open-source IoT platforms and basic interfacing. They used an ESP32 board, LED, resistor, breadboard, and Arduino IDE. The code uploaded to the ESP32 board turned the LED on and off with a 1 second delay between states. By running the code, the student observed the LED blinking and learned how to program and interface the ESP32 board. They concluded the experiment was successfully completed.

Uploaded by

Praveen Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

University Institute of Engineering

Department of Computer Science & Engineering

Experiment No.: 1

Student Name: Mohit kumar chaudhary UID: 21BCS1295


Branch: Computer Science & Engineering Section/Group: 418 A

Semester: 2nd Performance Date:15/03/22

Subject Name: Disruptive Technology-2

Subject Code: 22E-21ECH-103

1. Aim of the practical:


Introduction to open-source IoT Platform and basic interfacing Hands-on.

2. Tool Used:
ESP32, LED, Resistor, Breadboard, Arduino.

3. Basic Concept/ Command Description:

The ESP32 boards can be programmed using many different programming


languages. For example, you can program your ESP32 board in C++ language
(like the Arduino) or Micro Python And to make use of all of the ESP32 features
Espress if has officially provided the Espress if IoT Development Framework.
And Arduino IDE is the easiest way to get started in programming the ESP32 board.
4. Code:
Step 1: #include<WiFi.h>

Step 2: #define LED 2

Step 3: #define WIFISSID "WiFi Name"

Step 4: #define PASSWORD "WiFi Password"

Step 5: void setup()

Step 6: Serial.begin(9600);

Step 7: Serial.println("Init... T1_Intro");

Step 8: pinMode(LED, OUTPUT);

Step 9: Serial.print("\n\nConnecting to");

Step 11: WiFi.begin(WIFISSID,PASSWORD);

Step 12: while (WiFi.status() != WL_CONNECTED)

{ delay(500);

Serial.print("."); }

Step 13: Serial.println("WiFi connected.IP address:");

Step 14: Serial.println(WiFi.localIP())

Step 15: void loop()

Step16: digitalWrite(LED, HIGH);

Serial.println("HIGH");

delay(1000);

digitalWrite(LED, LOW);

Serial.println("LOW");

delay(1000);
CIRCUIT DIAGRAM:

5. Snap of Code:

6. Observations/ Simulation Screen Shots and Discussions:


Step 1: Verify the code.
University Institute of Engineering

Department of Computer Science & Engineering

STEP 2: Upload the Code

STEP 3: LED TURNS OFF FOR TIME DELAY OF 500 MILLISECONDS.


University Institute of Engineering

Department of Computer Science & Engineering

STEP4: LED TURNS ON AFTER TIME DELAY OF 1000 MILLISECONDS.

7. Result and Summary:


In this LED Blink experiment , we write the code for the program called sketch and is
uploaded the same to the circuit using USB the circuit works and as a result we see the LED
light blinking after the time delay (of 1000ms) we have set in the code. And successfully
completed the experiment.
University Institute of Engineering

Department of Computer Science & Engineering

8. Additional Creative Inputs (If Any):

Learning outcomes (What I have learnt):

1. What is IOT and it’s applications.

2. How to Remotely Access the LAB’s PC to perform experiment.

3. Verify and upload the code to the circuit.

4. How to program and modify the code.

5. The components of ESP32 AND ARDUINO UNO.

Evaluation Grid (To be filled by Faculty):


Sr. Parameters Marks Obtained Maximum
No. Marks
1. Worksheet completion including 10
writinglearning objectives/Outcomes.
(To besubmitted
at the end of the day)
2. Post Lab Quiz Result. 5
3. Student Engagement in 5
Simulation/Demonstration/Performance
and Controls/Pre-Lab Questions.
Signature of Faculty (with Date): Total Marks 20
Obtained:
University Institute of Engineering
Department of Computer Science & Engineering

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy