Movatterモバイル変換


[0]ホーム

URL:


Uploaded bysanamateen65
PPTX, PDF5 views

Blinking a LED in ARDUINO UNO IOT TUTORIAL

BLINKING LED ARDUINO

Embed presentation

Download to read offline
Blinking a LED inARDUINO UNOBYSANA MATEEN
LED- A light-emitting diodeA light-emitting diode (LED) is a semiconductor device that emits light when anelectric current flows through it.LEDs allow the current to flow in the forward direction and blocks the current in thereverse direction.LEDs have a wide range of applications ranging from your mobile phone to largeadvertising billboards. They mostly find applications in devices that show the timeand display different types of data.
Sketches are compiled by avr-gcc / avr-g++1. avr-gcc:It converts high-level C code into machine code that the microcontroller can execute.2. avr-g++:It compiles C++ code into machine code for the AVR architectureAvr microcontrollers:It is named in the honor of its developers, Alf-Egil Bogen and Vegard Wollan– It is based on C/C++ programming language• So, the program syntax is almost similar to C/C++◦ – Supported data types◦ – Variables◦ – Constants◦ – Control structure◦ – Looping structure◦ – Arrays◦ – Strings◦ – Function
A sketch consists of two mandatory functions:• setup( ) -- it is executed once• loop( ) -- it is executed repeatedlySetup( ) is used for• initialization of serial communication• defining pinMode• declaring variablesLoop( ) is used for• writing the main code which has to execute continuously.• e.g. reading inputs from the sensors, triggering outputs to• the external device, etcpinMode (pin, mode) – It configures the specified pin to behave either as input or as output– By default the digital pins in Arduino function as input.– pin: is the number of the pin whose mode needs to be set– mode: can be INPUT, OUTPUT, INPUT_PULLUP.
digitalWrite(pin, value)– Used for output by using the LOW/HIGH logic level(i.e. 0V / 5V)– value: LOW / HIGHdelay(ms) – Pause the program for the amount of time(in millisecond) specified by ms
Blinking a LED in ARDUINO UNO IOT TUTORIAL

Recommended

PPTX
Programming with arduino
PDF
Arduino lab 1_0
DOCX
Arduino and Circuits.docx
PDF
02 Sensors and Actuators Understand .pdf
PPT
Introduction to Arduino - Basics programming
PDF
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
PPTX
Arduino Foundations
PDF
Introduction of Arduino Uno
PPTX
Arduino Slides With Neopixels
PDF
Arduino microcontroller ins and outs with pin diagram
PPTX
IOT-UNIT 3.pptxaaaasasasasasasaasasasasas
PPTX
Arduino_Beginner.pptx
PPT
Introduction to Arduino 16822775 (2).ppt
PPTX
Introduction to Arduino Microcontroller
PPTX
Arduino_Beginner.pptx
KEY
Hello Arduino.
PPTX
arduino and its introduction deep dive ppt.pptx
PDF
Lab 2_ Programming an Arduino.pdf
PPTX
Introduction To Arduino-converted for s.pptx
 
PPSX
Arduino by yogesh t s'
PPTX
INTODUCTION OF IOT AND INTERFACING WITH ARDUINO UNO
DOCX
embedded manual for students to learn and do
PPT
01 Intro to the Arduino and it's basics.ppt
PPTX
Microcontroller Programming & Hardware Introduction
PPTX
Understanding Arduino Uno Code(simple coding).pptx
PPTX
Ch_2_8,9,10.pptx
PPTX
Power point presentation on introduction of software engineering
PDF
Surveillance_Partner_Product_Training_20240120_KSA.pdf

More Related Content

PPTX
Programming with arduino
PDF
Arduino lab 1_0
DOCX
Arduino and Circuits.docx
PDF
02 Sensors and Actuators Understand .pdf
PPT
Introduction to Arduino - Basics programming
PDF
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
PPTX
Arduino Foundations
Programming with arduino
Arduino lab 1_0
Arduino and Circuits.docx
02 Sensors and Actuators Understand .pdf
Introduction to Arduino - Basics programming
4 IOT 18ISDE712 MODULE 4 IoT Physical Devices and End Point-Aurdino Uno.pdf
Arduino Foundations

Similar to Blinking a LED in ARDUINO UNO IOT TUTORIAL

PDF
Introduction of Arduino Uno
PPTX
Arduino Slides With Neopixels
PDF
Arduino microcontroller ins and outs with pin diagram
PPTX
IOT-UNIT 3.pptxaaaasasasasasasaasasasasas
PPTX
Arduino_Beginner.pptx
PPT
Introduction to Arduino 16822775 (2).ppt
PPTX
Introduction to Arduino Microcontroller
PPTX
Arduino_Beginner.pptx
KEY
Hello Arduino.
PPTX
arduino and its introduction deep dive ppt.pptx
PDF
Lab 2_ Programming an Arduino.pdf
PPTX
Introduction To Arduino-converted for s.pptx
 
PPSX
Arduino by yogesh t s'
PPTX
INTODUCTION OF IOT AND INTERFACING WITH ARDUINO UNO
DOCX
embedded manual for students to learn and do
PPT
01 Intro to the Arduino and it's basics.ppt
PPTX
Microcontroller Programming & Hardware Introduction
PPTX
Understanding Arduino Uno Code(simple coding).pptx
PPTX
Ch_2_8,9,10.pptx
Introduction of Arduino Uno
Arduino Slides With Neopixels
Arduino microcontroller ins and outs with pin diagram
IOT-UNIT 3.pptxaaaasasasasasasaasasasasas
Arduino_Beginner.pptx
Introduction to Arduino 16822775 (2).ppt
Introduction to Arduino Microcontroller
Arduino_Beginner.pptx
Hello Arduino.
arduino and its introduction deep dive ppt.pptx
Lab 2_ Programming an Arduino.pdf
Introduction To Arduino-converted for s.pptx
 
Arduino by yogesh t s'
INTODUCTION OF IOT AND INTERFACING WITH ARDUINO UNO
embedded manual for students to learn and do
01 Intro to the Arduino and it's basics.ppt
Microcontroller Programming & Hardware Introduction
Understanding Arduino Uno Code(simple coding).pptx
Ch_2_8,9,10.pptx

Recently uploaded

PPTX
Power point presentation on introduction of software engineering
PDF
Surveillance_Partner_Product_Training_20240120_KSA.pdf
PDF
IPEC Presentation - Partial discharge Pro .pdf
PPTX
Track & Monitor Preventive Maintenance — Best Practices with MaintWiz CMMS
PPTX
Best CMMS for IoT Integration: Real-Time Asset Intelligence & Smart Maintenan...
PPTX
22304_BCO_CO3_LO4_PPT MSBTE Building construction.pptx
PDF
ACI 318-2205_American Concrete Institute.pdf
PPTX
How to Create an Effective Monthly Maintenance Plan for Reliable Plant Operat...
PPTX
TPM Metrics & Measurement: Drive Performance Excellence with TPM | MaintWiz
PPTX
Optimizing Plant Maintenance — Key Elements of a Successful Maintenance Plan ...
PPTX
Cloud vs On-Premises CMMS — Which Maintenance Platform Is Better for Your Plant?
PPTX
Vertical turbine pump explains installed in power plants
PPTX
firewall Selection in production life pptx
PPTX
Optimizing Operations: Key Elements of a Successful Plant Maintenance Plan — ...
PDF
Narrows Planning Collective Transportation Capstone.pdf
 
PPTX
How to Select the Right CMMS Software for Your Organization — A Complete Buye...
PPTX
Plant Performance Strategies: Enhanced Reliability & Operational Efficiency w...
PPTX
Emerging Trends and Research Frontiers in Chemical Engineering for Green and ...
PDF
Handheld_Laser_Welding_Presentation 2.pdf
PPTX
ISO 14224 Compliance & CMMS Software — A Comprehensive Guide for Reliable Mai...
Power point presentation on introduction of software engineering
Surveillance_Partner_Product_Training_20240120_KSA.pdf
IPEC Presentation - Partial discharge Pro .pdf
Track & Monitor Preventive Maintenance — Best Practices with MaintWiz CMMS
Best CMMS for IoT Integration: Real-Time Asset Intelligence & Smart Maintenan...
22304_BCO_CO3_LO4_PPT MSBTE Building construction.pptx
ACI 318-2205_American Concrete Institute.pdf
How to Create an Effective Monthly Maintenance Plan for Reliable Plant Operat...
TPM Metrics & Measurement: Drive Performance Excellence with TPM | MaintWiz
Optimizing Plant Maintenance — Key Elements of a Successful Maintenance Plan ...
Cloud vs On-Premises CMMS — Which Maintenance Platform Is Better for Your Plant?
Vertical turbine pump explains installed in power plants
firewall Selection in production life pptx
Optimizing Operations: Key Elements of a Successful Plant Maintenance Plan — ...
Narrows Planning Collective Transportation Capstone.pdf
 
How to Select the Right CMMS Software for Your Organization — A Complete Buye...
Plant Performance Strategies: Enhanced Reliability & Operational Efficiency w...
Emerging Trends and Research Frontiers in Chemical Engineering for Green and ...
Handheld_Laser_Welding_Presentation 2.pdf
ISO 14224 Compliance & CMMS Software — A Comprehensive Guide for Reliable Mai...

Blinking a LED in ARDUINO UNO IOT TUTORIAL

  • 1.
    Blinking a LEDinARDUINO UNOBYSANA MATEEN
  • 2.
    LED- A light-emittingdiodeA light-emitting diode (LED) is a semiconductor device that emits light when anelectric current flows through it.LEDs allow the current to flow in the forward direction and blocks the current in thereverse direction.LEDs have a wide range of applications ranging from your mobile phone to largeadvertising billboards. They mostly find applications in devices that show the timeand display different types of data.
  • 3.
    Sketches are compiledby avr-gcc / avr-g++1. avr-gcc:It converts high-level C code into machine code that the microcontroller can execute.2. avr-g++:It compiles C++ code into machine code for the AVR architectureAvr microcontrollers:It is named in the honor of its developers, Alf-Egil Bogen and Vegard Wollan– It is based on C/C++ programming language• So, the program syntax is almost similar to C/C++◦ – Supported data types◦ – Variables◦ – Constants◦ – Control structure◦ – Looping structure◦ – Arrays◦ – Strings◦ – Function
  • 6.
    A sketch consistsof two mandatory functions:• setup( ) -- it is executed once• loop( ) -- it is executed repeatedlySetup( ) is used for• initialization of serial communication• defining pinMode• declaring variablesLoop( ) is used for• writing the main code which has to execute continuously.• e.g. reading inputs from the sensors, triggering outputs to• the external device, etcpinMode (pin, mode) – It configures the specified pin to behave either as input or as output– By default the digital pins in Arduino function as input.– pin: is the number of the pin whose mode needs to be set– mode: can be INPUT, OUTPUT, INPUT_PULLUP.
  • 7.
    digitalWrite(pin, value)– Usedfor output by using the LOW/HIGH logic level(i.e. 0V / 5V)– value: LOW / HIGHdelay(ms) – Pause the program for the amount of time(in millisecond) specified by ms

[8]ページ先頭

©2009-2025 Movatter.jp