SlideShare a Scribd company logo
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
Experiment 1.4
Student Name: UID:
Branch: CSE Section/Group:703/B
Semester: 6th Subject Code:20CSP358
Subject Name: IOT Lab
1. Aim/Overview of the practical:
Program to interface the Arduino/Raspberry Pi with LED and blinking application.
2. Apparatus / Simulator Used:
Components Required:
• You will need the following components −
1 × Breadboard
• 1 × Arduino Uno R3 1 × LED 1 × 330Ω Resistor
• 2 × Jumper
3. Objective:
1. Learn about interfacing. 2.
Learn about IoT programming.
4. Theory:
LEDs are small, powerful lights that are used in many different applications. To start, we will work
on blinking an LED, the Hello World of micro controllers.
It is as simple as turning a light on and off. Establishing this important baseline will give you a solid
foundation as we work towards experiments that are more complex.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
Arduino is a project, open-source hardware, and software platform used to design and build electronic
devices. It designs and manufactures microcontroller kits and singleboard interfaces for building
electronics projects.
The Arduino boards were initially created to help the students with the non-technical background.
The designs of Arduino boards use a variety of controllers and microprocessors.
The Arduino board consists of sets of analog and digital I/O (Input / Output) pins, which are further
interfaced to breadboard, expansion boards, and other circuits.
Such boards feature the model, Universal Serial Bus (USB), and serial communication interfaces,
which are used for loading programs from the computers.
Step 1: Start a new sketch in the Arduino IDE. Start a new sketch in the Arduino IDE:
Step 2: Set the pin Mode for Pin 3. ...
Step 3: Set Pin 3 HIGH. ...
Step 4: Compile the code. ...
Step 5: Upload the code to Arduino.
Code
int ledPin=8; //definition digital 8 pins as pin to control the LED void setup()
{
pinMode(ledPin,OUTPUT); //Set the digital 8 port mode, OUTPUT: Output mode
}
void loop()
{ digitalWrite(ledPin,HIGH); //HIGH is set to about 5V PIN8
delay(1000);
//Set the delay time, 1000 = 1S digitalWrite(ledPin,LOW); //LOW is set to
about 5V PIN8 delay(1000); //Set the delay time, 1000 = 1S }
Output :
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING

More Related Content

Similar to IOT WORKSHEET 1.4.pdf

Arduino
ArduinoArduino
Arduino
Jerin John
 
Arduino 123
Arduino 123Arduino 123
Arduino 123
GOPI KRISHNA
 
Rdl esp32 development board trainer kit
Rdl esp32 development board trainer kitRdl esp32 development board trainer kit
Rdl esp32 development board trainer kit
Research Design Lab
 
Overview of Arduino by Bamidele Samuel Office.pptx
Overview of Arduino by Bamidele Samuel Office.pptxOverview of Arduino by Bamidele Samuel Office.pptx
Overview of Arduino by Bamidele Samuel Office.pptx
SAMTECH ELECTRONICS CONCEPT
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docx
RashidFaridChishti
 
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pptxARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pptx
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
menchc1207
 
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pdf
 ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pdf ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pdf
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pdf
Ruby Hermano
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
Green Moon Solutions
 
Embedded system application
Embedded system applicationEmbedded system application
Embedded system application
Dhruwank Vankawala
 
Chapter 5 Arduino Microcontroller Systems .pptx
Chapter 5 Arduino Microcontroller Systems .pptxChapter 5 Arduino Microcontroller Systems .pptx
Chapter 5 Arduino Microcontroller Systems .pptx
khgh7
 
Neno Project.docx
Neno Project.docxNeno Project.docx
Neno Project.docx
AditiBhushan3
 
1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptx1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptx
Mohamed Essam
 
Intro arduino
Intro arduinoIntro arduino
Intro arduino
MaLcom MooNwalker
 
Digital home automation with arduino bluetooth
Digital home automation with arduino bluetoothDigital home automation with arduino bluetooth
Digital home automation with arduino bluetooth
Shishupal03012015
 
Aurdino presentation
Aurdino presentationAurdino presentation
Aurdino presentation
C.Vamsi Krishna
 
What are the different types of arduino boards
What are the different types of arduino boardsWhat are the different types of arduino boards
What are the different types of arduino boards
elprocus
 
Introduction to Arduino
Introduction to Arduino Introduction to Arduino
Introduction to Arduino
Dennis Espiritu
 
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
AkshetPatel
 
Arduino_UNO _tutorial_For_Beginners.pptx
Arduino_UNO _tutorial_For_Beginners.pptxArduino_UNO _tutorial_For_Beginners.pptx
Arduino_UNO _tutorial_For_Beginners.pptx
ANIKDUTTA25
 
IoT Arduino UNO, RaspberryPi with Python, RaspberryPi Programming using Pytho...
IoT Arduino UNO, RaspberryPi with Python, RaspberryPi Programming using Pytho...IoT Arduino UNO, RaspberryPi with Python, RaspberryPi Programming using Pytho...
IoT Arduino UNO, RaspberryPi with Python, RaspberryPi Programming using Pytho...
Jayanthi Kannan MK
 

Similar to IOT WORKSHEET 1.4.pdf (20)

Arduino
ArduinoArduino
Arduino
 
Arduino 123
Arduino 123Arduino 123
Arduino 123
 
Rdl esp32 development board trainer kit
Rdl esp32 development board trainer kitRdl esp32 development board trainer kit
Rdl esp32 development board trainer kit
 
Overview of Arduino by Bamidele Samuel Office.pptx
Overview of Arduino by Bamidele Samuel Office.pptxOverview of Arduino by Bamidele Samuel Office.pptx
Overview of Arduino by Bamidele Samuel Office.pptx
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docx
 
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pptxARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pptx
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
 
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pdf
 ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pdf ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pdf
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pdf
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Embedded system application
Embedded system applicationEmbedded system application
Embedded system application
 
Chapter 5 Arduino Microcontroller Systems .pptx
Chapter 5 Arduino Microcontroller Systems .pptxChapter 5 Arduino Microcontroller Systems .pptx
Chapter 5 Arduino Microcontroller Systems .pptx
 
Neno Project.docx
Neno Project.docxNeno Project.docx
Neno Project.docx
 
1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptx1.Arduino Ecosystem.pptx
1.Arduino Ecosystem.pptx
 
Intro arduino
Intro arduinoIntro arduino
Intro arduino
 
Digital home automation with arduino bluetooth
Digital home automation with arduino bluetoothDigital home automation with arduino bluetooth
Digital home automation with arduino bluetooth
 
Aurdino presentation
Aurdino presentationAurdino presentation
Aurdino presentation
 
What are the different types of arduino boards
What are the different types of arduino boardsWhat are the different types of arduino boards
What are the different types of arduino boards
 
Introduction to Arduino
Introduction to Arduino Introduction to Arduino
Introduction to Arduino
 
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
 
Arduino_UNO _tutorial_For_Beginners.pptx
Arduino_UNO _tutorial_For_Beginners.pptxArduino_UNO _tutorial_For_Beginners.pptx
Arduino_UNO _tutorial_For_Beginners.pptx
 
IoT Arduino UNO, RaspberryPi with Python, RaspberryPi Programming using Pytho...
IoT Arduino UNO, RaspberryPi with Python, RaspberryPi Programming using Pytho...IoT Arduino UNO, RaspberryPi with Python, RaspberryPi Programming using Pytho...
IoT Arduino UNO, RaspberryPi with Python, RaspberryPi Programming using Pytho...
 

Recently uploaded

Cyber Sequrity.pptx is life of cyber security
Cyber Sequrity.pptx is life of cyber securityCyber Sequrity.pptx is life of cyber security
Cyber Sequrity.pptx is life of cyber security
perweeng31
 
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
kywwoyk
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
kywwoyk
 
Drugs used in parkinsonism and other movement disorders.pptx
Drugs used in parkinsonism and other movement disorders.pptxDrugs used in parkinsonism and other movement disorders.pptx
Drugs used in parkinsonism and other movement disorders.pptx
ThalapathyVijay15
 
F5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptxF5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptx
ArjunJain44
 
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
PinkySharma900491
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
eemet
 
web-tech-lab-manual-final-abhas.pdf. Jer
web-tech-lab-manual-final-abhas.pdf. Jerweb-tech-lab-manual-final-abhas.pdf. Jer
web-tech-lab-manual-final-abhas.pdf. Jer
freshgammer09
 
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
Amil baba
 

Recently uploaded (9)

Cyber Sequrity.pptx is life of cyber security
Cyber Sequrity.pptx is life of cyber securityCyber Sequrity.pptx is life of cyber security
Cyber Sequrity.pptx is life of cyber security
 
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
 
Drugs used in parkinsonism and other movement disorders.pptx
Drugs used in parkinsonism and other movement disorders.pptxDrugs used in parkinsonism and other movement disorders.pptx
Drugs used in parkinsonism and other movement disorders.pptx
 
F5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptxF5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptx
 
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
 
web-tech-lab-manual-final-abhas.pdf. Jer
web-tech-lab-manual-final-abhas.pdf. Jerweb-tech-lab-manual-final-abhas.pdf. Jer
web-tech-lab-manual-final-abhas.pdf. Jer
 
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
 

IOT WORKSHEET 1.4.pdf

  • 1. DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Experiment 1.4 Student Name: UID: Branch: CSE Section/Group:703/B Semester: 6th Subject Code:20CSP358 Subject Name: IOT Lab 1. Aim/Overview of the practical: Program to interface the Arduino/Raspberry Pi with LED and blinking application. 2. Apparatus / Simulator Used: Components Required: • You will need the following components − 1 × Breadboard • 1 × Arduino Uno R3 1 × LED 1 × 330Ω Resistor • 2 × Jumper 3. Objective: 1. Learn about interfacing. 2. Learn about IoT programming. 4. Theory: LEDs are small, powerful lights that are used in many different applications. To start, we will work on blinking an LED, the Hello World of micro controllers. It is as simple as turning a light on and off. Establishing this important baseline will give you a solid foundation as we work towards experiments that are more complex.
  • 2. DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Arduino is a project, open-source hardware, and software platform used to design and build electronic devices. It designs and manufactures microcontroller kits and singleboard interfaces for building electronics projects. The Arduino boards were initially created to help the students with the non-technical background. The designs of Arduino boards use a variety of controllers and microprocessors. The Arduino board consists of sets of analog and digital I/O (Input / Output) pins, which are further interfaced to breadboard, expansion boards, and other circuits. Such boards feature the model, Universal Serial Bus (USB), and serial communication interfaces, which are used for loading programs from the computers. Step 1: Start a new sketch in the Arduino IDE. Start a new sketch in the Arduino IDE: Step 2: Set the pin Mode for Pin 3. ... Step 3: Set Pin 3 HIGH. ... Step 4: Compile the code. ... Step 5: Upload the code to Arduino. Code int ledPin=8; //definition digital 8 pins as pin to control the LED void setup() { pinMode(ledPin,OUTPUT); //Set the digital 8 port mode, OUTPUT: Output mode } void loop() { digitalWrite(ledPin,HIGH); //HIGH is set to about 5V PIN8 delay(1000); //Set the delay time, 1000 = 1S digitalWrite(ledPin,LOW); //LOW is set to about 5V PIN8 delay(1000); //Set the delay time, 1000 = 1S } Output :