Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.4 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Internet of Things (IoT) Lab — Free Notes & Tutorial

Free IoT Lab practicals for BCA — Arduino, Raspberry Pi, sensor programs and IoT project exercises at SikshaSarovar.

This Internet of Things (IoT) Lab course is part of Siksha Sarovar and is 100% free for students in India — no sign-up required to read. It contains 10 structured lessons with examples, and pairs with our free online compiler and AI tutor.

What you will learn

  • Arduino
  • Sensors
  • Raspberry Pi
  • IoT lab programs

Course content (10 lessons)

  1. Practical 1: Study and Install IDE of Arduino — Program Statement Study and Install IDE of Arduino. CO Mapping CO1, CO2 Objective To understand the Arduino IDE environment and successfully install it on your system. Steps to…
  2. Practical 2: Add Libraries in Arduino and Setup Arduino IDE — Program Statement Write the steps to add libraries in Arduino and setup of Arduino IDE for programming. CO Mapping CO2, CO3 Objective To learn how to add external libraries to…
  3. Practical 3: Blink LED using Arduino — Program Statement Write a Program using Arduino for Blink LED. CO Mapping CO2, CO3 Objective To write and upload a program on Arduino to blink an LED connected to pin 13.…
  4. Practical 4: Temperature Monitoring using Arduino and LM35 — Program Statement Write a Program for monitoring Temperature using Arduino and LM35 Temperature Sensors. CO Mapping CO2, CO3 Objective To read analog temperature values from an…
  5. Practical 5: Controlling Raspberry Pi with WhatsApp — Program Statement Write a Program for Controlling Raspberry Pi with WhatsApp. Objective To control a Raspberry Pi device (e.g., turn an LED on/off) remotely by sending WhatsApp…
  6. Practical 6: Fade LED using analogWrite() — Program Statement Write a program to show how to fade an LED on pin 9 using the analogWrite() function. CO Mapping CO3, CO4 Objective To gradually increase and decrease LED…
  7. Practical 7: Add Blynk Libraries for NodeMCU and IFTTT Setup — Program Statement Write the steps to add Blynk libraries for NodeMCU and create an account on IFTTT for home automation. CO Mapping CO2, CO3, CO4 Objective To configure Arduino…
  8. Practical 8: Fade LED using NodeMCU (ESP8266) and Blynk App — Program Statement Write a program of Fade LED using NodeMCU (ESP8266) and Blynk app. CO Mapping CO2, CO3, CO4 Objective To control LED brightness remotely using a Slider widget in…
  9. Practical 9: Smart Dustbin using Ultrasonic Sensor and Servo Motor — Program Statement Write a program for Arduino by using Ultrasonic sensors and servo motor (HC-SR04), and make a smart dustbin. CO Mapping CO2, CO3, CO4 Objective To build an…
  10. Practical 10: Control Bulb ON/OFF using Blynk App — Program Statement Write a program for controlling bulb on/off by using Blynk app. CO Mapping CO2, CO3, CO4 Objective To remotely control a bulb (or relay-connected load) ON and…

Practical 1: Study and Install IDE of Arduino

Program Statement

Study and Install IDE of Arduino.

CO Mapping

CO1, CO2

Objective

To understand the Arduino IDE environment and successfully install it on your system.

Steps to Install Arduino IDE

Step 1: Download Arduino IDE

  1. Open a web browser and go to the official Arduino website: https://www.arduino.cc/en/software
  2. Under "Downloads", select the version suitable for your operating system (Windows, macOS, or Linux).
  3. For Windows, click on "Windows Win 10 and newer, 64 bits" to download the installer (.exe).

Step 2: Run the Installer

  1. Locate the downloaded .exe file in your Downloads folder.
  2. Double-click the installer to run it.
  3. Accept the License Agreement by clicking "I Agree".
  4. Choose components to install (keep all default options checked) and click "Next".
  5. Choose the installation folder (default is recommended) and click "Install".
  6. The installer may prompt you to install USB drivers — click "Install" to allow them.
  7. Click "Finish" once installation is complete.

Step 3: Launch and Explore the IDE

  1. Open Arduino IDE from the desktop shortcut or Start menu.
  2. The IDE opens with a default empty sketch (setup() and loop() functions).

Key Components of the Arduino IDE Interface

ComponentDescription
Verify (✓)Compiles the code to check for errors
Upload (→)Compiles and uploads code to the Arduino board
NewCreates a new blank sketch
OpenOpens a previously saved sketch
SaveSaves the current sketch
Serial MonitorOpens a terminal to communicate with the board
Sketch EditorMain area where you write your code

Important Menus

  • Tools > Board — Select your Arduino board (e.g., Arduino Uno, Nano, Mega)
  • Tools > Port — Select the COM port to which the Arduino is connected
  • File > Examples — Browse hundreds of built-in example programs
  • Sketch > Include Library — Add external libraries to your sketch

Minimum System Requirements

RequirementValue
OSWindows 10 / macOS 10.14+ / Linux
RAM2 GB minimum (4 GB recommended)
Storage500 MB free disk space
JavaBundled with IDE (no separate install needed)

Result

Arduino IDE has been successfully studied and installed on the system.

Practical 2: Add Libraries in Arduino and Setup Arduino IDE

Program Statement

Write the steps to add libraries in Arduino and setup of Arduino IDE for programming.

CO Mapping

CO2, CO3

Objective

To learn how to add external libraries to Arduino IDE and configure the IDE for programming a board.

Part A: Adding Libraries in Arduino IDE

There are three methods to add libraries:

---

Method 1: Using the Library Manager (Recommended)

  1. Open Arduino IDE.
  2. Go to Sketch > Include Library > Manage Libraries... (or press Ctrl + Shift + I).
  3. The Library Manager window opens.
  4. In the search box, type the name of the library (e.g., DHT sensor library).
  5. Select the desired library from the list.
  6. Click the "Install" button.
  7. Once installed, the library appears in Sketch > Include Library menu.

---

Method 2: Installing a .zip Library

  1. Download the library as a .zip file from GitHub or another source.
  2. In Arduino IDE, go to Sketch > Include Library > Add .ZIP Library...
  3. Browse to the downloaded .zip file and click "Open".
  4. The library is installed and available immediately.

---

Method 3: Manual Installation

  1. Download and extract the library folder.
  2. Copy the extracted folder to the Arduino libraries directory:
  • Windows: C:\Users\<YourName>\Documents\Arduino\libraries\
  • macOS/Linux: ~/Documents/Arduino/libraries/
  1. Restart the Arduino IDE.
  2. The library will now appear in Sketch > Include Library.

---

Part B: Arduino IDE Setup for Programming

Step 1: Connect the Arduino Board

  1. Connect the Arduino board to the computer using a USB cable.

Step 2: Select the Correct Board

  1. Go to Tools > Board > Arduino AVR Boards.
  2. Select your board (e.g., Arduino Uno).

Step 3: Select the Correct Port

  1. Go to Tools > Port.
  2. Select the COM port that corresponds to your Arduino (e.g., COM3 on Windows or /dev/ttyUSB0 on Linux).

Step 4: Verify a Test Sketch

  1. Go to File > Examples > 01.Basics > Blink.
  2. Click the Verify (✓) button to compile.
  3. Click the Upload (→) button to upload to the board.
  4. The onboard LED should start blinking — confirming the setup is correct.

Step 5: Use Serial Monitor

  1. Go to Tools > Serial Monitor (or press Ctrl + Shift + M).
  2. Set the baud rate to match Serial.begin(9600) in your code.
  3. Use it to print debug messages from your Arduino program.

Result

Libraries have been successfully added and Arduino IDE has been configured for programming.

Frequently asked questions

Is the Internet of Things (IoT) Lab course really free?

Yes. The entire Internet of Things (IoT) Lab course on Siksha Sarovar is free to read with no account required. You can optionally sign in with Google to save your progress.

Do I get a certificate for Internet of Things (IoT) Lab?

Yes — finish the lessons and pass the quiz to earn a free, verifiable certificate you can share on LinkedIn or with recruiters.

Can I run code while learning?

Yes. The built-in online compiler runs C, C++, Python, Java, PHP, JavaScript, C# and SQL directly in your browser — no installation needed.