Movatterモバイル変換


[0]ホーム

URL:


Betsy Eng, profile picture
Uploaded byBetsy Eng
PPTX, PDF3,021 views

Lesson sample introduction to arduino

This document introduces Arduino by defining what it is, the parts of an Arduino board, and how to program it. An Arduino is a microcontroller board that can be used to develop interactive objects by taking various inputs (e.g. sensors) and controlling physical outputs (e.g. lights, motors). It explains the basic components of an Arduino board and how Arduino code is uploaded and run. A simple example is provided to blink an LED using Arduino code and by changing the delay times, the blinking speed can be adjusted. Keywords like Arduino board, sketch, and LED are also defined.

Embed presentation

Downloaded 127 times
Introduction toArduinoSeng Kang Secondary SchoolApplied Learning Programme (ALP)
Lesson Objective• What is Arduino• Parts of Arduino board• Programming codes / ArduinoSoftware
What is an Arduino?• Microcontroller board• Arduino can be used to develop interactive objects,taking INPUTS (eg. Switches or sensors) and controllingphysical OUTPUTS (eg. Lights or motors)• The boards can be assembled by hand or purchasedpreassembled
Power inUSB (tocomputer)Digital IOPWM(3, 5, 6, 9, 10, 11)RESETPOWER5V / 3.3V / GNDAnalogINPUTSArduino
How Arduino works?Human inputsEyeEarNoseTongueSkinOutputexamplesActivate armsActivate legsActivate mouthHuman brainOutputexamplesActivate LEDsActivate ServoActivate buzzerArduino inputsLight SensorsHeart Rate sensorsTemperature sensorsOther inputsArduino Board
How Arduino works?Arduino boardblinks the LEDComputeruploads blinkingLED code toArduino boardTeacher showshow to connectthe ArduinocomponentsStudent connectsthe ArduinocomponentsStudent’s brainArduino Board
Digital Pins vs Analog Pins• Digital Pin– There is two modes(eg: ON/OFF)• Analog Pins– Variable range(eg: dimming the light,different intensity)
Arduino Software(Sketch)
Light Emitting Diode(LED)√ Polarity
Examples of LED
Activity: Blinking LED
AssembleNegative leg LED  GNDPositive leg LED Pin 13
Codes• Step 1: Double click the iconto OPEN up the IDE• Step 2: TYPE the code into thespace below.• Step 3: Click on to VERIFY thecodes.• Step 4: Click on to UPLOADthe codes to the board.
What does the codesmeans?
What do you observeafter the codes areuploaded?
End with a semi-colon ( ; )const int led = 13;void setup (){pinMode (led, OUTPUT);}void loop (){digitalWrite (led, HIGH);delay(1000);digitalWrite (led, LOW);Delay (1000);}DeclarationSetup function(Preparation)Loop function(Execution)Open and close with curlybrackets { }Let’s Decode!!!
const int led = 13;void setup (){pinMode(led, OUTPUT);}void loop (){digitalWrite (led, HIGH);delay(1000);digitalWrite (led, LOW);delay(1000);}Declare LED as pin 13Define LED as OUTPUTHIGH  LED OnLOW  LED OffDuration between blinks(In millisecond)
void loop ( ){digitalWrite (led, HIGH) ;delay(1000);digitalWrite (led, LOW);delay(1000);}void loop ( ){digitalWrite (led, HIGH) ;delay(500);digitalWrite (led, LOW);delay(500);}What do you observe after thecodes are changed?
Keywords• Arduino Board: Physical programmable circuit board(also known as microcontroller)• Sketch: The name that Arduino uses for a program. It iswhere the program codes are written.• LED: Light Emitting Diode. Is an output.

Recommended

PPTX
Introduction to arduino
PPTX
Basics of arduino uno
PPT
Arduino presentation by_warishusain
PPTX
Introduction to the Arduino
PPT
Intro to Arduino
PPS
What is Arduino ?
PPTX
Arduino Microcontroller
PPTX
Ardui no
PPTX
Introduction to Arduino
PPTX
Introduction to Arduino Hardware and Programming
PPTX
Arduino Workshop
PDF
Arduino Workshop Day 2 - Advance Arduino & DIY
 
PPTX
Introduction to Arduino
PPT
Arduino
ODP
Introduction to Arduino
PDF
Arduino Workshop Day 1 - Basic Arduino
 
PPTX
Introduction to Arduino
PPTX
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
PPTX
Arduino course
PPTX
Introduction to Arduino.pptx
PDF
Introduction to Arduino Programming
PPTX
Introduction to Arduino
 
PDF
Arduino presentation
PDF
Arduino Lecture 1 - Introducing the Arduino
PPTX
Arduino
PDF
Introduction to arduino
PPTX
PPT ON Arduino
PPTX
Introduction to arduino ppt main
PPTX
Module 4 chpt 2 Energy Transfer through Waves
PPTX
Uss module 5 chpt 6 Sources of Food

More Related Content

PPTX
Introduction to arduino
PPTX
Basics of arduino uno
PPT
Arduino presentation by_warishusain
PPTX
Introduction to the Arduino
PPT
Intro to Arduino
PPS
What is Arduino ?
PPTX
Arduino Microcontroller
PPTX
Ardui no
Introduction to arduino
Basics of arduino uno
Arduino presentation by_warishusain
Introduction to the Arduino
Intro to Arduino
What is Arduino ?
Arduino Microcontroller
Ardui no

What's hot

PPTX
Introduction to Arduino
PPTX
Introduction to Arduino Hardware and Programming
PPTX
Arduino Workshop
PDF
Arduino Workshop Day 2 - Advance Arduino & DIY
 
PPTX
Introduction to Arduino
PPT
Arduino
ODP
Introduction to Arduino
PDF
Arduino Workshop Day 1 - Basic Arduino
 
PPTX
Introduction to Arduino
PPTX
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
PPTX
Arduino course
PPTX
Introduction to Arduino.pptx
PDF
Introduction to Arduino Programming
PPTX
Introduction to Arduino
 
PDF
Arduino presentation
PDF
Arduino Lecture 1 - Introducing the Arduino
PPTX
Arduino
PDF
Introduction to arduino
PPTX
PPT ON Arduino
PPTX
Introduction to arduino ppt main
Introduction to Arduino
Introduction to Arduino Hardware and Programming
Arduino Workshop
Arduino Workshop Day 2 - Advance Arduino & DIY
 
Introduction to Arduino
Arduino
Introduction to Arduino
Arduino Workshop Day 1 - Basic Arduino
 
Introduction to Arduino
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino course
Introduction to Arduino.pptx
Introduction to Arduino Programming
Introduction to Arduino
 
Arduino presentation
Arduino Lecture 1 - Introducing the Arduino
Arduino
Introduction to arduino
PPT ON Arduino
Introduction to arduino ppt main

Viewers also liked

PPTX
Module 4 chpt 2 Energy Transfer through Waves
PPTX
Uss module 5 chpt 6 Sources of Food
PPTX
module 4 chpt 1 Energy and Its Uses
PPTX
Uss module 4 chpt 4 Electrcity
PPTX
module 4 chpt 3 Effects of Forces
PPTX
Lss module 3 chpt 10 nutrients an food
PDF
Getting Started with Arduino
PPTX
DIY! Introduction to Arduino (Development Board)
PPTX
20150826 Introduction to Arduino
PPTX
Uss module 4 chpt 5 Sources of Electricity
PDF
Introducing... Arduino
PPTX
Arduino Introduction Guide 1
PPTX
Arduino Introduction (Blinking LED) Presentation (workshop #5)
PPT
Getting started with arduino
PPTX
Uss module 5 chpt 8 Food Health and Safety
PPT
Chapter 6 6_1_running_water_and_groundwater[1][1]
 
PPT
Bio 100 Chapter 39
 
PPTX
Lss module 2 chpt 6 water, solution, suspension
PPTX
Lss module 3 chpt 9 cells
PPT
Bio 105 Chapter 13
 
Module 4 chpt 2 Energy Transfer through Waves
Uss module 5 chpt 6 Sources of Food
module 4 chpt 1 Energy and Its Uses
Uss module 4 chpt 4 Electrcity
module 4 chpt 3 Effects of Forces
Lss module 3 chpt 10 nutrients an food
Getting Started with Arduino
DIY! Introduction to Arduino (Development Board)
20150826 Introduction to Arduino
Uss module 4 chpt 5 Sources of Electricity
Introducing... Arduino
Arduino Introduction Guide 1
Arduino Introduction (Blinking LED) Presentation (workshop #5)
Getting started with arduino
Uss module 5 chpt 8 Food Health and Safety
Chapter 6 6_1_running_water_and_groundwater[1][1]
 
Bio 100 Chapter 39
 
Lss module 2 chpt 6 water, solution, suspension
Lss module 3 chpt 9 cells
Bio 105 Chapter 13
 

Similar to Lesson sample introduction to arduino

PPT
13223971.ppt
PPTX
Introduction to Arduino focuses on how arduino can be learned easily
PPTX
Robotics Session day 1
PPTX
Arduino Slides With Neopixels
PPT
Arduino_CSE ece ppt for working and principal of arduino.ppt
PDF
Arduino spooky projects_class1
PPTX
Arduino slides
PPTX
Arduino Workshop Slides
PDF
arduinoworkshop-160204051621.pdf
PPTX
Arduino programming
PPTX
Introduction To Arduino-converted for s.pptx
 
PPT
Introduction to Arduino - Basics programming
PDF
Syed IoT - module 5
PDF
introductiontoarduino-111120102058-phpapp02.pdf
PPTX
Arduino_Beginner.pptx
PPT
Arduino Uno and micro controller atmega328p
PPT
ArduinoPart1 containing basics of arduino
PPT
ArduinoPart1gfhfhbbbbbbbbbbbjjjjjhhbb.ppt
13223971.ppt
Introduction to Arduino focuses on how arduino can be learned easily
Robotics Session day 1
Arduino Slides With Neopixels
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino spooky projects_class1
Arduino slides
Arduino Workshop Slides
arduinoworkshop-160204051621.pdf
Arduino programming
Introduction To Arduino-converted for s.pptx
 
Introduction to Arduino - Basics programming
Syed IoT - module 5
introductiontoarduino-111120102058-phpapp02.pdf
Arduino_Beginner.pptx
Arduino Uno and micro controller atmega328p
ArduinoPart1 containing basics of arduino
ArduinoPart1gfhfhbbbbbbbbbbbjjjjjhhbb.ppt

More from Betsy Eng

PPTX
Lss module 1 chpt 1 investigating forces
PPTX
Lss module 1 chpt 2 investigating energy
PPTX
Lss module 1 chpt 3 investigating heat
PPTX
Lss module 1 chpt 4 investigating electricity
PPTX
Lss module 2 chpt 5 properties of matter
PPTX
Lss module 2 chpt 7 water pollution
PPTX
Lss module 2 chpt 8 air pollution
PPTX
Lss module 3 chpt 11 human reproduction
PPTX
Lss module 3 chpt 12 taking good care of my body
PPTX
Uss module 6 chpt 12 Staying Healthy
PPTX
Uss module 6 chpt 11 Fitness and Cardiac Health
PPTX
Uss module 6 chpt 10 Breathing
PPTX
Uss module 6 chpt 9 Digestion
PPTX
Uss module 5 chpt 7 Food Chemistry
PPT
Concept Cartoon Character
Lss module 1 chpt 1 investigating forces
Lss module 1 chpt 2 investigating energy
Lss module 1 chpt 3 investigating heat
Lss module 1 chpt 4 investigating electricity
Lss module 2 chpt 5 properties of matter
Lss module 2 chpt 7 water pollution
Lss module 2 chpt 8 air pollution
Lss module 3 chpt 11 human reproduction
Lss module 3 chpt 12 taking good care of my body
Uss module 6 chpt 12 Staying Healthy
Uss module 6 chpt 11 Fitness and Cardiac Health
Uss module 6 chpt 10 Breathing
Uss module 6 chpt 9 Digestion
Uss module 5 chpt 7 Food Chemistry
Concept Cartoon Character

Recently uploaded

PDF
Toward Massive, Ultrareliable, and Low-Latency Wireless Communication With Sh...
PPTX
How to use search_read method in Odoo 18
PPTX
Searching in PubMed andCochrane_Practical Presentation.pptx
PDF
Projecte de la porta de la classe de primer A: Mar i cel.
PPTX
Introduction-to-Anatomy-and-Physiology.pptx
PPTX
Details of Muscular-and-Nervous-Tissues.pptx
PDF
Analyzing the data of your initial survey
PDF
IMANI Africa files RTI request seeking full disclosure on 2026 SIM registrati...
PDF
FAMILY ASSESSMENT FORMAT - CHN practical
PPTX
AI_in_Daily_Life_Presentation and more.pptx
PPTX
ELEMENTS OF COMMUNICATION (UNIT 2) .pptx
PPTX
How to Configure Push & Pull Rule in Odoo 18 Inventory
PPTX
The Cell & Cell Cycle-detailed structure and function of organelles.pptx
PPTX
Pain. definition, causes, factor influencing pain & pain assessment.pptx
PDF
The Drift Principle: When Information Accelerates Faster Than Minds Can Compress
PPTX
ICH Harmonization A Global Pathway to Unified Drug Regulation.pptx
PPTX
Pig- piggy bank in Big Data Analytics.ppt.pptx
PDF
Projecte de la porta d'i5B: Els animals marins
PPTX
PURPOSIVE SAMPLING IN EDUCATIONAL RESEARCH RACHITHRA RK.pptx
PDF
All Students Workshop 25 Yoga Wellness by LDMMIA
Toward Massive, Ultrareliable, and Low-Latency Wireless Communication With Sh...
How to use search_read method in Odoo 18
Searching in PubMed andCochrane_Practical Presentation.pptx
Projecte de la porta de la classe de primer A: Mar i cel.
Introduction-to-Anatomy-and-Physiology.pptx
Details of Muscular-and-Nervous-Tissues.pptx
Analyzing the data of your initial survey
IMANI Africa files RTI request seeking full disclosure on 2026 SIM registrati...
FAMILY ASSESSMENT FORMAT - CHN practical
AI_in_Daily_Life_Presentation and more.pptx
ELEMENTS OF COMMUNICATION (UNIT 2) .pptx
How to Configure Push & Pull Rule in Odoo 18 Inventory
The Cell & Cell Cycle-detailed structure and function of organelles.pptx
Pain. definition, causes, factor influencing pain & pain assessment.pptx
The Drift Principle: When Information Accelerates Faster Than Minds Can Compress
ICH Harmonization A Global Pathway to Unified Drug Regulation.pptx
Pig- piggy bank in Big Data Analytics.ppt.pptx
Projecte de la porta d'i5B: Els animals marins
PURPOSIVE SAMPLING IN EDUCATIONAL RESEARCH RACHITHRA RK.pptx
All Students Workshop 25 Yoga Wellness by LDMMIA

Lesson sample introduction to arduino

  • 1.
    Introduction toArduinoSeng KangSecondary SchoolApplied Learning Programme (ALP)
  • 2.
    Lesson Objective• Whatis Arduino• Parts of Arduino board• Programming codes / ArduinoSoftware
  • 3.
    What is anArduino?• Microcontroller board• Arduino can be used to develop interactive objects,taking INPUTS (eg. Switches or sensors) and controllingphysical OUTPUTS (eg. Lights or motors)• The boards can be assembled by hand or purchasedpreassembled
  • 4.
    Power inUSB (tocomputer)DigitalIOPWM(3, 5, 6, 9, 10, 11)RESETPOWER5V / 3.3V / GNDAnalogINPUTSArduino
  • 5.
    How Arduino works?HumaninputsEyeEarNoseTongueSkinOutputexamplesActivate armsActivate legsActivate mouthHuman brainOutputexamplesActivate LEDsActivate ServoActivate buzzerArduino inputsLight SensorsHeart Rate sensorsTemperature sensorsOther inputsArduino Board
  • 6.
    How Arduino works?Arduinoboardblinks the LEDComputeruploads blinkingLED code toArduino boardTeacher showshow to connectthe ArduinocomponentsStudent connectsthe ArduinocomponentsStudent’s brainArduino Board
  • 7.
    Digital Pins vsAnalog Pins• Digital Pin– There is two modes(eg: ON/OFF)• Analog Pins– Variable range(eg: dimming the light,different intensity)
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
    AssembleNegative leg LED GNDPositive leg LED Pin 13
  • 13.
    Codes• Step 1:Double click the iconto OPEN up the IDE• Step 2: TYPE the code into thespace below.• Step 3: Click on to VERIFY thecodes.• Step 4: Click on to UPLOADthe codes to the board.
  • 14.
    What does thecodesmeans?
  • 15.
    What do youobserveafter the codes areuploaded?
  • 16.
    End with asemi-colon ( ; )const int led = 13;void setup (){pinMode (led, OUTPUT);}void loop (){digitalWrite (led, HIGH);delay(1000);digitalWrite (led, LOW);Delay (1000);}DeclarationSetup function(Preparation)Loop function(Execution)Open and close with curlybrackets { }Let’s Decode!!!
  • 17.
    const int led= 13;void setup (){pinMode(led, OUTPUT);}void loop (){digitalWrite (led, HIGH);delay(1000);digitalWrite (led, LOW);delay(1000);}Declare LED as pin 13Define LED as OUTPUTHIGH  LED OnLOW  LED OffDuration between blinks(In millisecond)
  • 18.
    void loop (){digitalWrite (led, HIGH) ;delay(1000);digitalWrite (led, LOW);delay(1000);}void loop ( ){digitalWrite (led, HIGH) ;delay(500);digitalWrite (led, LOW);delay(500);}What do you observe after thecodes are changed?
  • 19.
    Keywords• Arduino Board:Physical programmable circuit board(also known as microcontroller)• Sketch: The name that Arduino uses for a program. It iswhere the program codes are written.• LED: Light Emitting Diode. Is an output.

Editor's Notes

  • #3 Activity 1 – LED CircuitActivity 2 – 2 LED CircuitActivity 3 – Infinite Blink
  • #9 IDE - Integrated Development Environment. Software to write and upload programming codes to Arduino board.
  • #14 Step 1: Double click the icon to OPEN up the IDEStep 2: TYPE the code into the space below.Step 3: Click on to VERIFY the codes.Check for errors in the code.Step 4: Click on to UPLOAD the codes to the board.Check for errors in the code

[8]ページ先頭

©2009-2025 Movatter.jp