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

IoT Lab Manual BEC657C

The document outlines the syllabus for the Internet of Things (IoT) Lab course (BEC657C) at Maratha Mandal's Engineering College, Belagavi, detailing course objectives, experiments, assessment criteria, and learning resources. Students will gain practical knowledge in IoT components and develop skills to create IoT-based projects using Arduino and Raspberry Pi. The evaluation comprises Continuous Internal Evaluation (CIE) and Semester End Examination (SEE), each contributing 50% to the final grade.

Uploaded by

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

IoT Lab Manual BEC657C

The document outlines the syllabus for the Internet of Things (IoT) Lab course (BEC657C) at Maratha Mandal's Engineering College, Belagavi, detailing course objectives, experiments, assessment criteria, and learning resources. Students will gain practical knowledge in IoT components and develop skills to create IoT-based projects using Arduino and Raspberry Pi. The evaluation comprises Continuous Internal Evaluation (CIE) and Semester End Examination (SEE), each contributing 50% to the final grade.

Uploaded by

kazirabiya785
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

MARATHA MANDAL’S ENGINEERING COLLEGE, BELAGAVI

Internet of Things (IoT) Lab


(Subject Code: BEC657C)

Prepared by-
Prof. Vaibhav Kakade
Assistant Professor

Department of Electronics &


Communication Engineering
Syllabus
IoT (Internet of Things) Lab Semester 6
Course Code BEC657C CIE Marks 50
Teaching Hours/Week (L:T:P: S) 0:0:2:0 SEE Marks 50
Credits 01 Exam Hours 3
Examination type (SEE) Practical
Course Objectives:
This course will enable students to
 To impart necessary and practical knowledge of components of the Internet of Things
 To develop skills required to build real-life IoT-based projects.
Sl.No. Experiments
1(i) To interface LED/Buzzer with Arduino /Raspberry Pi and write a program to „turn ON‟ LED
for 1 sec after every 2 seconds.
1(ii) To interface the Push button/Digital sensor (IR/LDR) with Arduino /Raspberry Pi and write
a program to „turn ON‟ LED when a push button is pressed or at sensor detection.
2 (i) To interface the DHT11 sensor with Arduino /Raspberry Pi and write a program to print
temperature and humidity readings.
2(ii) To interface OLED with Arduino /Raspberry Pi and write a program to print its temperature
and humidity readings.
3 To interface the motor using a relay with Arduino /Raspberry Pi and write a program to „turn
ON‟ the motor when a push button is pressed.
4(i) Write an Arduino/Raspberry Pi program to interface the Soil Moisture Sensor.
4(ii) Write an Arduino/Raspberry Pi program to interface the LDR/Photo Sensor.
5 Write a program to interface an Ultrasonic Sensor with Arduino /Raspberry Pi.
6 Write a program on Arduino/Raspberry Pi to upload temperature and humidity data
to thingspeak cloud.
7 Write a program on Arduino/Raspberry Pi to retrieve temperature and humidity data
from thingspeak cloud.
8 Write a program to interface LED using Telegram App.
9 Write a program on Arduino/Raspberry Pi to publish temperature data to the MQTT broker.
10 Write a program to create a UDP server on Arduino/Raspberry Pi and respond with humidity
data to the UDP client when requested.
11 Write a program to create a TCP server on Arduino /Raspberry Pi and respond with humidity
data to the TCP client when requested.
12 Write a program on Arduino / Raspberry Pi to subscribe to the MQTT broker for temperature
data and print it.
Course outcomes (Course Skill Set):
At the end of the course, the student will be able to:
 Explain the Internet of Things and its hardware and software components.
 Interface I/O devices, sensors & communication modules.
 Remotely monitor data and control devices.
 Develop real-life IoT-based projects.
Assessment Details (both CIE and SEE)
The weightage of Continuous Internal Evaluation (CIE) is 50% and for Semester End Exam (SEE) is 50%. The minimum
passing mark for the CIE is 40% of the maximum marks (20 marks out of 50) and for the SEE minimum passing mark is
35% of the maximum marks (18 out of 50 marks). A student shall be deemed to have satisfied the academic requirements
and earned the credits allotted to each subject/ course if the student secures a minimum of 40% (40 marks out of 100) in the
sum total of the CIE (Continuous Internal Evaluation) and SEE (Semester End Examination) taken together.
Continuous Internal Evaluation (CIE):
CIE marks for the practical course are 50 Marks.
The split-up of CIE marks for record/ journal and test are in the ratio 60:40.
 Each experiment will be evaluated for conduction with an observation sheet and record write-up. Rubrics for the
evaluation of the journal/write-up for hardware/software experiments are designed by the faculty who is handling the
laboratory session and are made known to students at the beginning of the practical session.
 The record should contain all the specified experiments in the syllabus and each experiment write-up will be
evaluated for 10 marks.
 The total marks scored by the students are scaled down to 30 marks (60% of maximum marks).
 Weightage is to be given for neatness and submission of record/write-up on time.
 The department shall conduct a test of 100 marks after the completion of all the experiments listed in the
syllabus.
 In a test, test write-up, conduction of experiment, acceptable result, and procedural knowledge will carry a
weightage of 60% and the rest 40% for viva-voce.
 The suitable rubrics can be designed to evaluate each student‟s performance and learning ability.
 The marks scored shall be scaled down to 20 marks (40% of the maximum marks).
The Sum of scaled-down marks scored in the report write-up/journal and marks of a test is the total CIE marks scored by
the student.
Semester End Evaluation (SEE):
 SEE marks for the practical course are 50 Marks.
 SEE shall be conducted jointly by the two examiners of the same institute, examiners are appointed by the
Head of the Institute.
 The examination schedule and names of examiners are informed to the university before the conduction of the
examination. These practical examinations are to be conducted within the schedule mentioned in the university's
academic calendar.
 All laboratory experiments are to be included for practical examination.
 (Rubrics) Breakup of marks and the instructions printed on the cover page of the answer script to be strictly
adhered to by the examiners. OR based on the course requirement evaluation rubrics shall be decided jointly by
examiners.
 Students can pick one question (experiment) from the questions lot prepared by the examiners jointly.
 Evaluation of test write-up/ conduction procedure and result/viva will be conducted jointly by examiners. General
rubrics suggested for SEE are mentioned here, writeup-20%, Conduction procedure and result in -60%, Viva-voce 20%
of maximum marks. SEE for practical shall be evaluated for 100 marks and scored marks shall be scaled down to 50
marks (however, based on course type, rubrics shall be decided by the examiners)
Change of experiment is allowed only once and 15% of Marks allotted to the procedure part are to be made
Zero
The minimum duration of SEE is 02 hours

Suggested Learning Resources:


• Vijay Madisetti, Arshdeep Bahga, Internet of Things. "A Hands-on Approach", University Press
• Dr. SRN Reddy, Rachit Thukral, and Manasi Mishra, "Introduction to Internet of Things: A Practical Approach",
ETI Labs
• Pethuru Raj and Anupama C Raman, "The Internet of Things: Enabling Technologies, Platforms, and Use Cases",
CRC Press
• Jeeva Jose, "Internet of Things", Khanna Publishing House, Delhi
• Adrian McEwen, "Designing the Internet of Things", Wiley
• Raj Kamal, "Internet of Things: Architecture and Design", McGraw Hill
Roll No USN 2 M M

MARATHA MANDAL’S

ENGINEERING COLLEGE,
BELAGAVI

Department of Electronics & Communication Engineering

This is to certify that Mr./Ms________________________________________________________

has satisfactorily completed the course the course of experiments in Internet of things (IoT)
th
(BEC657C) laboratory as partial fulfilment of the requirement of the 6 Semester
Bachelor of Engineering Degree prescribed by the Visvesvaraya Technological University
(V.T.U) Belagavi during the academic year 2024-25.

Continuous Internal Evaluation (CIE)

Journal Record Lab I.A LAB I.A Final C.I.E Student‟s


Write up scaled to (100M) scaled to Marks awarded Sign
(30M) (20M) (50M)
A B A+B
Write up & Viva-
Conduction Voce
(60M) (40M)

Total
(100M)

Signature of Lab In-charge Signature of H.O.D


USN 2 M M

INDEX
S.No Experiment Page Date Marks Staff
No Sign
1 (i) To interface LED/Buzzer with Arduino
/Raspberry Pi and write a program to „turn ON‟
LED for 1 sec after every 2 seconds.
1 (ii) To interface the Push button/Digital sensor
(IR/LDR) with Arduino /Raspberry Pi and write
a program to „turn ON‟ LED when a push button
is pressed or at sensor detection.
2 (i) To interface the DHT11 sensor with Arduino
/Raspberry Pi and write a program to print
temperature and humidity readings.
2 (ii) To interface OLED with Arduino /Raspberry Pi
and write a program to print its temperature and
humidity readings.
3 To interface the motor using a relay with
Arduino /Raspberry Pi and write a program to
„turn ON‟ the motor when a push button is
pressed.
4 (i) Write an Arduino/Raspberry Pi program to
interface the Soil Moisture Sensor.
4 (ii) Write an Arduino/Raspberry Pi program to
interface the LDR/Photo Sensor.
5 Write a program to interface an Ultrasonic
Sensor with Arduino /Raspberry Pi.
6 Write a program on Arduino/Raspberry Pi to
upload temperature and humidity data to
thingspeak cloud.
7 Write a program on Arduino/Raspberry Pi to
retrieve temperature and humidity data from
thingspeak cloud.
8 Write a program to interface LED using
Telegram App.
9 Write a program on Arduino/Raspberry Pi to
publish temperature data to the MQTT broker.
10 Write a program to create a UDP server on
Arduino/Raspberry Pi and respond with
humidity data to the UDP client when requested.
11 Write a program to create a TCP server on
Arduino /Raspberry Pi and respond with
humidity data to the TCP client when requested.
12 Write a program on Arduino / Raspberry Pi to
subscribe to the MQTT broker for temperature
data and print it.
Introduction to Arduino
Arduino UNO:
Arduino Uno is an open-source microcontroller board based on the ATmega328P
microcontroller. It is designed to be easy to use and is a popular choice for beginners in the
field of electronics and programming. The board has 14 digital input/output pins (of which 6
can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB
connection, a power jack, an ICSP header and a reset button. It contains everything needed to
support the microcontroller; simply connect it to a computer with a USB cable or power it
with a AC-to-DC adapter or battery to get started.

Arduino IDE

The Arduino IDE is an open-source software, which is used to write and upload
code to the Arduino boards. The IDE application is suitable for different operating
systems such as Windows, Mac OS X, and Linux. It supports the programming
languages C and C++. Here, IDE stands for Integrated Development Environment.

The program or code written in the Arduino IDE is often called as sketching. We
need to connect the Genuino and Arduino board with the IDE to upload the sketch written
in the Arduino IDE software. The sketch is saved with the extension '.ino.'

Installation steps for Arduino IDE


Here are the steps to install the Arduino IDE on your computer:

1. Go to the official Arduino website at https://www.arduino.cc/en/software.


Click on the download link for your operating system (Windows, Mac, or Linux).

2. Once the download is complete, run the installer file.Follow the


prompts to complete the installation.
3.
When the installation is finished, launch the Arduino IDE.
Sample Program to toggle LED in Arduino UNO
1. Go to Tools >> Board >> Arduino AVR Boards >> select Arduino Uno

2. Select the Port from Tools menu


3. Compile the code and click on upload to dump the code in Arduino Uno

4. Result
Node MCU ESP8266
The NodeMCU (Node Micro-Controller Unit) is an open-source software and hardware
development environment built around an inexpensive System-on-a-Chip (SoC) called the
ESP8266. The ESP8266, designed and manufactured by Espressif Systems, contains the
crucial elements of a computer: CPU, RAM, networking (WiFi), and even a modern
operating system and SDK. That makes it an excellent choice for Internet of Things (IoT)
projects of all kinds.

NodeMCU ESP8266 Specifications & Features and Pinout


 Microcontroller: Tensilica 32-bit RISC CPU Xtensa LX106
 Operating Voltage: 3.3V
 Input Voltage: 7-12V
 Digital I/O Pins (DIO): 16
 Analog Input Pins (ADC): 1
 UARTs: 1
 SPIs: 1
 I2Cs: 1
 Flash Memory: 4 MB
 SRAM: 64 KB
 Clock Speed: 80 MHz
 USB-TTL based on CP2102 is included onboard, Enabling Plug n Play
 PCB Antenna
 Small Sized module to fit smartly inside your IoT projects

PIN CODE
A0 A0
GPIO 16 D0
GPIO 5 D1
GPIO 4 D2
GPIO 0 D3
GPIO 2 D4
GPIO14 D5
GPIO 12 D6
GPIO 13 D7
GPIO 15 D8
GPIO 9 SD2
GPIO10 SD3
GPIO3 Rx
GPIO1 Tx
Steps to install Node MCU
1. Download and install Arduino IDE
2. Open the IDE and follow this path. File -> preferences -> Additional board
manager URL.
3. Now paste the URL in the dialog box :
http://arduino.esp8266.com/stable/package_esp8266com_index.json
4. Then, click the “OK” button.
5. Now follow this path. Tools -> Board -> Boards Manager
6. Search for ESP8266 and install the “ESP8266 by ESP8266 Community“
7. After this, restart your Arduino IDE.
8. Then, go to Tools > Board and check that you have ESP8266 boards available.
9. First, make sure you have an ESP8266 selected in Tools > Board. If you‟re using the
ESP8266-12E NodeMCU Kit as shown in previous pictures, select the NodeMCU 1.0
(ESP-12E Module) option.

You might also like