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

PPT
Intro to Arduino
PPTX
Basics of arduino uno
PPTX
Arduino Microcontroller
PPTX
Ardui no
PPS
What is Arduino ?
PPT
Arduino presentation by_warishusain
PPTX
Introduction to the Arduino
PPTX
Introduction to arduino
PPTX
Introduction to Arduino Hardware and Programming
PPTX
Introduction to Arduino
PPTX
Introduction to Arduino
PDF
Arduino Workshop Day 1 - Basic Arduino
 
PPTX
Arduino course
PDF
Introduction to arduino
PPTX
Introduction to Arduino.pptx
PPTX
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
PPTX
Arduino Workshop
PDF
Arduino Workshop Day 2 - Advance Arduino & DIY
 
PDF
Introduction to Arduino Programming
PPTX
PPT ON Arduino
ODP
Introduction to Arduino
PPTX
Introduction to arduino ppt main
PDF
Arduino Lecture 1 - Introducing the Arduino
PPT
Arduino
PPTX
Introduction to Arduino
 
PPTX
Introduction to Arduino
PPTX
Arduino
PDF
Arduino presentation
PPTX
Arduino Introduction (Blinking LED) Presentation (workshop #5)
PDF
Introducing... Arduino

More Related Content

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

What's hot

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

Viewers also liked

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

Similar to Lesson sample introduction to arduino

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

More from Betsy Eng

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

Recently uploaded

PDF
The Drift Principle: When Information Accelerates Faster Than Minds Can Compress
PPTX
Pig- piggy bank in Big Data Analytics.ppt.pptx
PPTX
The Art Pastor's Guide to the Liturgical Calendar
PDF
Models of Teaching - TNTEU - B.Ed I Semester - Teaching and Learning - BD1TL ...
PPTX
Accounting Skills Paper-II (Registers of PACs and Credit Co-operative Societies)
PPTX
How to Manage Reception Report in Odoo 18 Inventory
PPTX
Pain. definition, causes, factor influencing pain & pain assessment.pptx
PPTX
How to Manage Line Discounts in Odoo 18 POS
PPTX
Unit I — Introduction to Anatomical Terms and Organization of the Human Body
PDF
UKSG Forum 2025 - They asked for everything - The Case of the Systematic Revi...
PDF
The Pity of War: Form, Fragment, and the Artificial Echo | Understanding War ...
PDF
Projecte de la porta d'i5B: Els animals marins
PDF
Projecte de la porta de primer B: L'antic Egipte
PDF
The Tale of Melon City poem ppt by Sahasra
PDF
APM Wessex Network: DEIB Policy into Practice
PPTX
TAMIS & TEMS - HOW, WHY and THE STEPS IN PROCTOLOGY
PDF
DHA/HAAD/MOH/DOH OPTOMETRY MCQ PYQ. .pdf
PPTX
ICH Harmonization A Global Pathway to Unified Drug Regulation.pptx
PPTX
ELEMENTS OF COMMUNICATION (UNIT 2) .pptx
PPTX
Semester 6 unit 2 Atopic dermatitis.pptx
The Drift Principle: When Information Accelerates Faster Than Minds Can Compress
Pig- piggy bank in Big Data Analytics.ppt.pptx
The Art Pastor's Guide to the Liturgical Calendar
Models of Teaching - TNTEU - B.Ed I Semester - Teaching and Learning - BD1TL ...
Accounting Skills Paper-II (Registers of PACs and Credit Co-operative Societies)
How to Manage Reception Report in Odoo 18 Inventory
Pain. definition, causes, factor influencing pain & pain assessment.pptx
How to Manage Line Discounts in Odoo 18 POS
Unit I — Introduction to Anatomical Terms and Organization of the Human Body
UKSG Forum 2025 - They asked for everything - The Case of the Systematic Revi...
The Pity of War: Form, Fragment, and the Artificial Echo | Understanding War ...
Projecte de la porta d'i5B: Els animals marins
Projecte de la porta de primer B: L'antic Egipte
The Tale of Melon City poem ppt by Sahasra
APM Wessex Network: DEIB Policy into Practice
TAMIS & TEMS - HOW, WHY and THE STEPS IN PROCTOLOGY
DHA/HAAD/MOH/DOH OPTOMETRY MCQ PYQ. .pdf
ICH Harmonization A Global Pathway to Unified Drug Regulation.pptx
ELEMENTS OF COMMUNICATION (UNIT 2) .pptx
Semester 6 unit 2 Atopic dermatitis.pptx

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