Zed-King Institute
    All Notes

    O Level · Practical Assignments with Solution

    M4-R5.1 Practical Marathon — Assignments with Solution

    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

    87-page practical marathon — Arduino UNO, breadboard and sensors, with the wiring and code for every assignment.

    This is part of the free O Level PR-4 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
    PR4 — PR-4: M4-R5.1 Internet of Things (IoT) — Practical
    Section
    Practical Assignments with Solution
    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.

    M4-R5.1 Practical Marathon Introduction to Internet of Things and It’s Application Basic Components

    1. Arduino UNO R3:

    Microcontroller ATmega328P Operating Voltage 5V Input Voltage (recommended) 7-12V Input Voltage (limit) 6-20V Digital I/O Pins 14 (of which 6 provide PWM output)

    PWM Digital I/O Pins 6 Analogue Input Pins 6 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

    2. Breadboard:

    A breadboard (sometimes called protoboard) is essentially the foundation to construct and prototype electronics. A breadboard allows for easy and quick creation of temporary electronic circuits or to carry out experiments with circuit design. Breadboards enable developers to easily connect components or wires.

    3. Jumper Wires:

    Jumper wires are simply wires that have connector pins at each end, allowing them to be used to connect two points to each other without soldering. Jumper wires are typically used with breadboards and other prototyping tools in order to make it easy to change a circuit as needed.

    Types of Jumper Wires Jumper wires typically come in three versions: male-to-male, male-to-female and female-to- female. The difference between each is in the end point of the wire.

    4. Registers:

    A passive electrical component with two terminals that are used for either limiting or regulating the flow of electric current in electrical circuits. The main purpose of resistor is to reduce the current flow and to lower the voltage in any particular portion of the circuit.

    5. LED:

    The LED, also known as a Light Emitting Diode, is a component that emits light. The Grove Red LED module is a digital component that uses only the output, not the input.

    Male to Male Female to Female Male to Female Practical -1 Write a program to Blink default Light Emitting Diode(LED)

    on Arduino board with the delay of 2 sec.

    2. LED

    3. Resistor Connect the Resistor and LED:

    Insert one end of the resistor into the same row as the LED's anode.

    Insert the other end of the resistor into a GND (ground) row on the breadboard.

    Connect to Arduino:

    Insert a jumper wire from the Arduino's digital pin 13 (or any other digital pin) to the same row as the LED's anode.

    Insert a jumper wire from the GND pin on the Arduino to a GND row on the breadboard.

    / Blink an LED connected to pin 13, with a 2-second delay.

    const int ledPin = 13; // the number of the LED pin / initialize the digital pin as an output.

    digitalWrite(ledPin, HIGH); // turn the LED on (HIGH is the voltage level)

    delay(1000); // wait for a second digitalWrite(ledPin, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second Practical -2 Object Code: Write a program to interface LEDs on pin no.

    10,11,12,13 and blink alternatively at the delay of 1 sec.

    2. LED

    3. Resistor Connect the LEDs:

    Connect the anode (longer leg) of each LED to the corresponding pin (10, 11, 12, 13) on the Arduino.

    Connect the cathode (shorter leg) of each LED to a 220-ohm resistor.

    Connect the other end of each resistor to ground on the pinMode(10, OUTPUT); pinMode(11, OUTPUT); pinMode(12, OUTPUT); pinMode(13, OUTPUT); digitalWrite(13, HIGH); Practical -3 Object Code:-Write a program to run pattern(s) on LEDs connect at pins 10,11,12,13. Pattern example:

    2. LEDs

    3. Resistor Connect the LEDs:

    Connect the anode (longer leg) of each LED to the corresponding pin (10, 11, 12, 13) on the Arduino.

    Connect the cathode (shorter leg) of each LED to a 220-ohm resistor.

    Connect the other end of each resistor to ground on the pinMode(10, OUTPUT); pinMode(11, OUTPUT); pinMode(12, OUTPUT); pinMode(13, OUTPUT); digitalWrite(13, HIGH); digitalWrite(13, HIGH); Practical - 4 Write a program to run traffic light system on LEDs connect at pins with the delay of 1 min.

    5. Arduino Uno

    6. LEDs

    7. Resistor

    8. Breadboard and jumper wires Connect the LEDs:

    Connect the anode (longer leg) of each LED to the corresponding pin (8,9,10) on the Arduino.

    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!