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

More Related Content

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

What's hot

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

Viewers also liked

PPTX
Arduino Introduction (Blinking LED) Presentation (workshop #5)
PDF
Introducing... Arduino
PPTX
DIY! Introduction to Arduino (Development Board)
PPT
Getting started with arduino
PPTX
Uss module 4 chpt 4 Electrcity
PDF
Getting Started with Arduino
PPTX
Uss module 4 chpt 5 Sources of Electricity
PPTX
module 4 chpt 3 Effects of Forces
PPTX
Lss module 2 chpt 6 water, solution, suspension
PPTX
Uss module 5 chpt 8 Food Health and Safety
PPTX
Module 4 chpt 2 Energy Transfer through Waves
PPTX
Lss module 3 chpt 9 cells
PPTX
Lss module 3 chpt 10 nutrients an food
PPTX
Uss module 5 chpt 6 Sources of Food
PPT
Chapter 6 6_1_running_water_and_groundwater[1][1]
 
PPTX
module 4 chpt 1 Energy and Its Uses
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)
Getting started with arduino
Uss module 4 chpt 4 Electrcity
Getting Started with Arduino
Uss module 4 chpt 5 Sources of Electricity
module 4 chpt 3 Effects of Forces
Lss module 2 chpt 6 water, solution, suspension
Uss module 5 chpt 8 Food Health and Safety
Module 4 chpt 2 Energy Transfer through Waves
Lss module 3 chpt 9 cells
Lss module 3 chpt 10 nutrients an food
Uss module 5 chpt 6 Sources of Food
Chapter 6 6_1_running_water_and_groundwater[1][1]
 
module 4 chpt 1 Energy and Its Uses
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
PPTX
Introduction To Arduino-converted for s.pptx
 
PPT
ArduinoPart1gfhfhbbbbbbbbbbbjjjjjhhbb.ppt
PDF
arduinoworkshop-160204051621.pdf
PPT
ArduinoPart1 containing basics of arduino
PDF
introductiontoarduino-111120102058-phpapp02.pdf
PPTX
Robotics Session day 1
PPT
Arduino Uno and micro controller atmega328p
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
Introduction To Arduino-converted for s.pptx
 
ArduinoPart1gfhfhbbbbbbbbbbbjjjjjhhbb.ppt
arduinoworkshop-160204051621.pdf
ArduinoPart1 containing basics of arduino
introductiontoarduino-111120102058-phpapp02.pdf
Robotics Session day 1
Arduino Uno and micro controller atmega328p
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 1 chpt 3 investigating heat
PPTX
Uss module 5 chpt 7 Food Chemistry
PPTX
Uss module 6 chpt 10 Breathing
PPTX
Lss module 1 chpt 1 investigating forces
PPTX
Lss module 3 chpt 12 taking good care of my body
PPTX
Lss module 1 chpt 2 investigating energy
PPTX
Lss module 2 chpt 8 air pollution
PPTX
Uss module 6 chpt 11 Fitness and Cardiac Health
PPTX
Lss module 2 chpt 7 water pollution
PPTX
Lss module 3 chpt 11 human reproduction
PPTX
Uss module 6 chpt 9 Digestion
PPTX
Lss module 2 chpt 5 properties of matter
PPTX
Uss module 6 chpt 12 Staying Healthy
PPT
Concept Cartoon Character
Lss module 1 chpt 4 investigating electricity
Lss module 1 chpt 3 investigating heat
Uss module 5 chpt 7 Food Chemistry
Uss module 6 chpt 10 Breathing
Lss module 1 chpt 1 investigating forces
Lss module 3 chpt 12 taking good care of my body
Lss module 1 chpt 2 investigating energy
Lss module 2 chpt 8 air pollution
Uss module 6 chpt 11 Fitness and Cardiac Health
Lss module 2 chpt 7 water pollution
Lss module 3 chpt 11 human reproduction
Uss module 6 chpt 9 Digestion
Lss module 2 chpt 5 properties of matter
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
Details of Muscular-and-Nervous-Tissues.pptx
PPTX
How to use search_read method in Odoo 18
PPTX
AI_in_Daily_Life_Presentation and more.pptx
PDF
Analyzing the data of your initial survey
PPTX
How to Manage Package Reservation in Odoo 18 Inventory
PDF
1ST APPLICATION FOR ANNULMENT (4)8787666.pdf
PDF
Current Electricity for first year physiotherapy
PPTX
How to Manage Line Discounts in Odoo 18 POS
PPTX
Limpitlaw "Licensing: From Mindset to Milestones"
PPTX
Basics in Phytochemistry, Extraction, Isolation methods, Characterisation etc.
PPTX
Unit I — Introduction to Anatomical Terms and Organization of the Human Body
PDF
Projecte de la porta d'i5B: Els animals marins
PPTX
Cost of Capital - Cost of Equity, Cost of debenture, Cost of Preference share...
PPTX
The Cell & Cell Cycle-detailed structure and function of organelles.pptx
PDF
Scalable-MADDPG-Based Cooperative Target Invasion for a Multi-USV System.pdf
PDF
All Students Workshop 25 Yoga Wellness by LDMMIA
PPTX
York "Collaboration for Research Support at U-M Library"
PPTX
extracting significant information to formulate sound judgement
PPTX
Semester 6 unit 2 Atopic dermatitis.pptx
The Drift Principle: When Information Accelerates Faster Than Minds Can Compress
Details of Muscular-and-Nervous-Tissues.pptx
How to use search_read method in Odoo 18
AI_in_Daily_Life_Presentation and more.pptx
Analyzing the data of your initial survey
How to Manage Package Reservation in Odoo 18 Inventory
1ST APPLICATION FOR ANNULMENT (4)8787666.pdf
Current Electricity for first year physiotherapy
How to Manage Line Discounts in Odoo 18 POS
Limpitlaw "Licensing: From Mindset to Milestones"
Basics in Phytochemistry, Extraction, Isolation methods, Characterisation etc.
Unit I — Introduction to Anatomical Terms and Organization of the Human Body
Projecte de la porta d'i5B: Els animals marins
Cost of Capital - Cost of Equity, Cost of debenture, Cost of Preference share...
The Cell & Cell Cycle-detailed structure and function of organelles.pptx
Scalable-MADDPG-Based Cooperative Target Invasion for a Multi-USV System.pdf
All Students Workshop 25 Yoga Wellness by LDMMIA
York "Collaboration for Research Support at U-M Library"
extracting significant information to formulate sound judgement
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