Zed-King Institute
    All Notes

    O Level · Chapterwise Notes

    Chapter 4: Building IoT Applications

    Zed-King Study app · Free

    O Level students across India practise here, free

    Daily M1–M4 quizFull 100-question mocksAll-India rank
    Open the free app

    Google login · no Play Store needed

    🏆 Free All-India Sunday Mock · Sun, 29 Nov, 11 AM · CCC + O LevelRegister

    About this PDF

    M4 Chapter 4 notes (English, slide-style), the whole chapter in one file — Arduino and the Arduino IDE, writing sketches, digital output such as LEDs, reading sensors and building IoT applications.

    This is part of the free O Level M4-R5.1 study material in the Zed-King Study Zone. You can read every page above in your browser, or download the file and study offline. Zed-King Group of Institute is a NIELIT Study Centre in Kaithal, Haryana, and all of this material follows the current NIELIT syllabus.

    Course
    O Level — NIELIT Foundation Diploma
    Module
    M4 — M4-R5.1: Internet of Things (IoT) and its Applications
    Section
    Chapterwise Notes
    Format
    PDF — read online or download
    Price
    Free, no sign-up required

    Text from this PDF

    The opening pages as plain text — open the reader above for tables, diagrams and the full file.

    O-Level (M4-R5.1)

    Ms.Maffi IOT Instructor Zed-King Group of Institutions Kaithal Internet of Things and its Applications Video Tutorial O-Level M4-R5.1 Full Video Playlist Available on YouTube Channel Zed-King Computer Institute Kaithal IOT Complete Crash Course on Zed-King App (100 % Pass Guarantee )

    For free PDF Notes Class-1 What is Arduino?

    • Arduino is an open-source electronics platform based on easy-to-use hardware and software. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. To do so you use the Arduino programming language (based on Wiring), and the Arduino Software (IDE), based on Processing.

    • Arduino was created in the year 2005 by two Italian engineers David Cuartielles and Massimo Banzi.

    • "Uno" means one in Italian and was chosen to mark the release of Arduino Software (IDE) 1.0.

    Types of Arduino Boards There are 8 types of Arduino boards:

    1. Arduino UNO

    2. Arduino Mega’

    3. Arduino Leonardo

    4. Arduino Micro

    5. Lilypad Arduino Board

    6. Arduino Red Board

    7. Arduino Shields

    8. Arduino Zero Arduino UNO Hardware Component Explanation

    • ATmega328 Microcontroller- It is a single chip Microcontroller of the ATmel family. The processor code inside it is of 8-bit. It combines Memory (SRAM, EEPROM, and Flash), Analog to Digital Converter, SPI serial ports, I/O lines, registers, timer, external and internal interrupts, and oscillator.

    • ICSP pin - The In-Circuit Serial Programming pin allows the user to program using the firmware of the Arduino board.

    • Power LED Indicator- The ON status of LED shows the power is activated.

    When the power is OFF, the LED will not light up.

    • Digital I/O pins- The digital pins have the value HIGH or LOW. The pins numbered from D0 to D13 are digital pins.

    • TX and RX LED's- The successful flow of data is represented by the lighting of these LED's.

    • AREF- The Analog Reference (AREF) pin is used to feed a reference voltage to the Arduino UNO board from the external power supply.

    • Reset button- It is used to add a Reset button to the connection.

    • USB- It allows the board to connect to the computer. It is essential for the programming of the Arduino UNO board.

    • Crystal Oscillator- The Crystal oscillator has a frequency of 16MHz, which makes the Arduino UNO a powerful board.

    • Voltage Regulator- The voltage regulator converts the input voltage to 5V.

    • GND- Ground pins. The ground pin acts as a pin with zero voltage.

    • Vin- It is the input voltage.

    • Analog Pins- The pins numbered from A0 to A5 are analog pins. It can also act as GPIO (General Purpose Input Output) pins.

    Hardware Key Points Microcontroller ATmega328P (8-bit)(pico- power)

    Operating Voltage 5V Input Voltage (recommended) 7-12V Input Voltage (limit) 6-20V Digital I/O Pins 14 (of which 6 provide PWM output) (0-13)(0-RX)(1-TX)

    PWM Digital I/O Pins 6 (3,5,6,9,10,11)

    Analog Input Pins 6 (A0-A5)

    DC Current per I/O Pin 20 mA DC Current for 3.3V Pin 50 mA Flash Memory 32 KB (ATmega328P) of which 0.5 KB used by bootloader SRAM 2 KB (ATmega328P)

    EEPROM 1 KB (ATmega328P)

    Clock Speed 16 MHz LED_BUILTIN 13 Length 68.6 mm Width 53.4 mm Weight 25 g Class-2 Arduino IDE (Software)

    • The Arduino IDE is an open-source software, which is used to write and upload code to the Arduino boards. Here, IDE stands for Integrated Development Environment.It supports the programming languages C and

    • The program or code written in the Arduino IDE is often called as sketch.

    • We need to connect the Arduino board with the IDE to upload the sketch written in the Arduino IDE software. The sketch is saved with the extension '.ino‘ Menu Bar

    • There are File, Edit, Sketch, Tools, Help menus present in this bar.

    File Menu:

    When you click on the File option in the Menu bar, you will observe the following list of options:

    • New: The New button is used to open the new window.

    • Open: This option is used for opening an already existing file.

    • Open Recent: This button is used to display the sketch files that were opened recently.

    More chapterwise notes for M4-R5.1

    Run these Arduino sketches on a virtual board — free

    No kit needed: wire a virtual Arduino Uno in the simulator and watch the LEDs, LCD and sensors respond to your sketch. Each explained project gives the code and the wiring.

    Prepare for O Level with expert guidance

    Classroom training, practical labs and exam registration at Zed-King Institute, Kaithal.

    Drag me!