SlideShare a Scribd company logo
Introduction to Arduino




    Kids & Technology Meetup
           April 6, 2013
         Washington, DC
What is the Arduino?
 • A microcontroller
 • Hardware + software
 • You can program it, make projects with it
                                   Inputs/Sensors
                                   • Light
                                   • Motion
                                   • GPS
                    Arduino
                                    Outputs: Make things happen
                                    • Light up LEDs
Your program                        • Move wheels
   (sketch)                         • Tweet

                                                         2
The Arduino’s Parts
                          Digital Pins (0 – 13) inputs & outputs




USB
- sketch
- power



                                                          Micro-
                                                          processor


  External
  Power                                                     Analog
  (battery)                                                 Inputs
                Power                                       (0-5)
                                                              3
                Sockets
Some Components



LEDs – light emitting
diodes




     Resistors
                            Breadboard   4
Programming
    3 main
    sketch
     areas
                             A Processing “Sketch”


Variables


Setup
– runs once


Loop
– main
program that
repeats



                                               5
Basic Processing Structure
// this is a comment - make notes to yourself and to others

int led = 13;   // we will connect an LED to pin # 13 – and 13 is an integer
                // end lines with semicolons

void setup () // place things here that need to be set up at the beginning
{             // curly braces { } define blocks of code

    pinMode(led, OUTPUT); // digital pin 13 will be an output – OUTPUT is a key word
}

void loop()      // main sketch code goes here. It will repeat until the board is turned off.
{
   digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) – HIGH = key word
   delay(1000);               // wait for one second
   digitalWrite(led, LOW); // turn the LED off by making the voltage LOW – LOW = key word
   delay(1000);              // wait for one second
}
                                                                                         6
Processing Language Basic
             Interactive Functions
pinMode(pin, mode): set a digital pin to input or output mode (INPUT or OUTPUT).

digitalRead(pin): returns the value of a digital pin, either LOW or HIGH

digitalWrite(pin, value): writes LOW or HIGH to a digital pin.

analogRead(pin): returns the value of an analog input (from 0 to 1023).

analogWrite(pin, value): writes an analog value (PWM wave) to a digital pin that
supports it (pins 3, 5, 6, 9, 10, and 11); value should be from 0 (always off) to 255
(always on).

delay(time in milliseconds): pauses the code for the amount of time in milliseconds
(1 second = 1000 milliseconds)

More terms, syntax, functions: http://arduino.cc/en/Reference/HomePage
                                                                                        7
ArduBlocks
• It is a tool to use block programming with
  Arduino
It is similar to Scratch
The classic blink script
Project Demonstrations
• We will demonstrate several projects
  – Interactive game (Simon Says)
  – ArduBlocks
  – Light sensor input
  – Arduino + Scratch
  – Drawbot – a drawing robot




                                         11
Videos of Other Projects for Inspiration
• LED cube:
  – http://www.youtube.com/watch?v=GUcX41pokZY

• Turn signal cycling jacket:
  – http://www.youtube.com/watch?v=ZtNEPkwCfxA

• Robot controlled by iPhone:
  – http://www.youtube.com/watch?v=ZgMHxu6gS40

• Quadcopter:
  – https://www.youtube.com/watch?v=eKWboJ0RJtQ




                          Search for other ideas!

                                                    12
Links
• Start here: http://arduino.cc/
• We have compiled links for:
   –   Project ideas – lists and videos
   –   How to program
   –   The videos of the demos projects
   –   Places to learn
        • HacDC http://www.meetup.com/hac-dc/
        • Nova Labs http://www.meetup.com/NOVA-Makers/
   – Places to buy Arduinos and components

• All of these links will be posted at the Kids Tech Meetup
  site (http://www.meetup.com/Kids-and-Technology/) and this public
  EverNote notebook: https://www.evernote.com/pub/greenmoonart/arduino
                                                                         13
Raffle
• We have a few prizes to give away
  – Arduinos
  – Breadboards
  – Patches




                                      14
Questions?
• Feel free to contact us
  – John Dukovich – twitter: @JohnDukovich
  – Hugo Estrada – Google+
  – Phil Shapiro – twitter: @PhilShapiro


• Stay in touch with the MeetUp:
  – http://www.meetup.com/Kids-and-Technology/


                                                 15

More Related Content

What's hot

Ardui no
Ardui no Ardui no
Ardui no
Amol Sakhalkar
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
Rahat Sood
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshop
atuline
 
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriArduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Gaurav Pandey
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
avikdhupar
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the ArduinoWingston
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and Programming
Emmanuel Obot
 
Aurdino presentation
Aurdino presentationAurdino presentation
Aurdino presentation
C.Vamsi Krishna
 
Arduino Uno Pin Description
Arduino Uno Pin DescriptionArduino Uno Pin Description
Arduino Uno Pin Description
Niket Chandrawanshi
 
PPT ON Arduino
PPT ON Arduino PPT ON Arduino
PPT ON Arduino
Ravi Phadtare
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
student
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
Richard Rixham
 
Arduino
ArduinoArduino
Arduino
vipin7vj
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
Md. Nahidul Islam
 
Arduino uno
Arduino unoArduino uno
Arduino uno
creatjet3d labs
 
Esp8266 basics
Esp8266 basicsEsp8266 basics
Esp8266 basics
Eueung Mulyana
 
arduino
 arduino arduino
arduino
jhcid
 
Arduino presentation
Arduino presentationArduino presentation
Arduino presentation
Michael Senkow
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the Arduino
Charles A B Jr
 

What's hot (20)

Ardui no
Ardui no Ardui no
Ardui no
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshop
 
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriArduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and Programming
 
Aurdino presentation
Aurdino presentationAurdino presentation
Aurdino presentation
 
Arduino Uno Pin Description
Arduino Uno Pin DescriptionArduino Uno Pin Description
Arduino Uno Pin Description
 
PPT ON Arduino
PPT ON Arduino PPT ON Arduino
PPT ON Arduino
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino
ArduinoArduino
Arduino
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
 
Arduino uno
Arduino unoArduino uno
Arduino uno
 
Esp8266 basics
Esp8266 basicsEsp8266 basics
Esp8266 basics
 
arduino
 arduino arduino
arduino
 
Arduino
ArduinoArduino
Arduino
 
Arduino presentation
Arduino presentationArduino presentation
Arduino presentation
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the Arduino
 

Viewers also liked

Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduinoAhmed Sakr
 
Arduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the ArduinoArduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the Arduino
Eoin Brazil
 
T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini
T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMiniT21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini
T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini
Brian Huang
 
Scratch Eguna: From Scratch Day to Scratch every day
Scratch Eguna: From Scratch Day to Scratch every dayScratch Eguna: From Scratch Day to Scratch every day
Scratch Eguna: From Scratch Day to Scratch every day
Pablo Garaizar
 
SHARED GEOMETRY TANGIBLE DIGITAL ENVIRONMENT
SHARED GEOMETRY TANGIBLE DIGITAL ENVIRONMENTSHARED GEOMETRY TANGIBLE DIGITAL ENVIRONMENT
SHARED GEOMETRY TANGIBLE DIGITAL ENVIRONMENT
Joan Terres
 
Introduction to Processing
Introduction to ProcessingIntroduction to Processing
Introduction to Processing
Green Moon Solutions
 
Connecting Arduino and Android
Connecting Arduino and AndroidConnecting Arduino and Android
Connecting Arduino and Android
Michał Tuszyński
 
Arduino + Android
Arduino + AndroidArduino + Android
Arduino + Android
bincangteknologi
 
Workshop Arduino + Scratch
Workshop Arduino + ScratchWorkshop Arduino + Scratch
Workshop Arduino + Scratch
Ana Carneirinho
 
Introduction to Arduino Microcontroller
Introduction to Arduino MicrocontrollerIntroduction to Arduino Microcontroller
Introduction to Arduino Microcontroller
Mujahid Hussain
 
Arduino Full Tutorial
Arduino Full TutorialArduino Full Tutorial
Arduino Full TutorialAkshay Sharma
 

Viewers also liked (11)

Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
Arduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the ArduinoArduino Lecture 1 - Introducing the Arduino
Arduino Lecture 1 - Introducing the Arduino
 
T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini
T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMiniT21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini
T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini
 
Scratch Eguna: From Scratch Day to Scratch every day
Scratch Eguna: From Scratch Day to Scratch every dayScratch Eguna: From Scratch Day to Scratch every day
Scratch Eguna: From Scratch Day to Scratch every day
 
SHARED GEOMETRY TANGIBLE DIGITAL ENVIRONMENT
SHARED GEOMETRY TANGIBLE DIGITAL ENVIRONMENTSHARED GEOMETRY TANGIBLE DIGITAL ENVIRONMENT
SHARED GEOMETRY TANGIBLE DIGITAL ENVIRONMENT
 
Introduction to Processing
Introduction to ProcessingIntroduction to Processing
Introduction to Processing
 
Connecting Arduino and Android
Connecting Arduino and AndroidConnecting Arduino and Android
Connecting Arduino and Android
 
Arduino + Android
Arduino + AndroidArduino + Android
Arduino + Android
 
Workshop Arduino + Scratch
Workshop Arduino + ScratchWorkshop Arduino + Scratch
Workshop Arduino + Scratch
 
Introduction to Arduino Microcontroller
Introduction to Arduino MicrocontrollerIntroduction to Arduino Microcontroller
Introduction to Arduino Microcontroller
 
Arduino Full Tutorial
Arduino Full TutorialArduino Full Tutorial
Arduino Full Tutorial
 

Similar to Introduction to Arduino

IOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdfIOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdf
MayuRana1
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1
Felipe Belarmino
 
Arduino workshop
Arduino workshopArduino workshop
Arduino workshop
mayur1432
 
NSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and ArduinoNSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and Arduino
Brian Huang
 
IOTC08 The Arduino Platform
IOTC08 The Arduino PlatformIOTC08 The Arduino Platform
IOTC08 The Arduino Platform
Eoin Brazil
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
Niket Chandrawanshi
 
Building Connected IoT Gadgets with Particle.io & Azure
Building Connected IoT Gadgets with Particle.io & AzureBuilding Connected IoT Gadgets with Particle.io & Azure
Building Connected IoT Gadgets with Particle.io & Azure
Nick Landry
 
arduinoSimon.ppt
arduinoSimon.pptarduinoSimon.ppt
arduinoSimon.ppt
Kishor Mhaske
 
arduinoSimon.ppt
arduinoSimon.pptarduinoSimon.ppt
arduinoSimon.ppt
ZainIslam20
 
arduinoSimon.ppt
arduinoSimon.pptarduinoSimon.ppt
arduinoSimon.ppt
AkhandPratapSingh86
 
Getting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and ArduinoGetting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and Arduino
Chad Mairn
 
teststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptxteststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptx
ethannguyen1618
 
Multi Sensory Communication 1/2
Multi Sensory Communication 1/2Multi Sensory Communication 1/2
Multi Sensory Communication 1/2
Satoru Tokuhisa
 
arduinoedit.pptx
arduinoedit.pptxarduinoedit.pptx
arduinoedit.pptx
rajalakshmi769433
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
sdcharle
 
Build cool stuff with arduino for sci camp 16 dec13
Build cool stuff with arduino for sci camp 16 dec13Build cool stuff with arduino for sci camp 16 dec13
Build cool stuff with arduino for sci camp 16 dec13
Singapore Makers Association
 
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
 
Introduction to Arduino
Introduction to Arduino Introduction to Arduino
Introduction to Arduino
Dennis Espiritu
 
SKAD Electronics Training Manual.pdf
SKAD Electronics Training Manual.pdfSKAD Electronics Training Manual.pdf
SKAD Electronics Training Manual.pdf
KadiriIbrahim2
 
Fundamentals of programming Arduino-Wk2.ppt
Fundamentals of programming Arduino-Wk2.pptFundamentals of programming Arduino-Wk2.ppt
Fundamentals of programming Arduino-Wk2.ppt
ansariparveen06
 

Similar to Introduction to Arduino (20)

IOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdfIOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdf
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1
 
Arduino workshop
Arduino workshopArduino workshop
Arduino workshop
 
NSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and ArduinoNSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and Arduino
 
IOTC08 The Arduino Platform
IOTC08 The Arduino PlatformIOTC08 The Arduino Platform
IOTC08 The Arduino Platform
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
Building Connected IoT Gadgets with Particle.io & Azure
Building Connected IoT Gadgets with Particle.io & AzureBuilding Connected IoT Gadgets with Particle.io & Azure
Building Connected IoT Gadgets with Particle.io & Azure
 
arduinoSimon.ppt
arduinoSimon.pptarduinoSimon.ppt
arduinoSimon.ppt
 
arduinoSimon.ppt
arduinoSimon.pptarduinoSimon.ppt
arduinoSimon.ppt
 
arduinoSimon.ppt
arduinoSimon.pptarduinoSimon.ppt
arduinoSimon.ppt
 
Getting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and ArduinoGetting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and Arduino
 
teststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptxteststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptx
 
Multi Sensory Communication 1/2
Multi Sensory Communication 1/2Multi Sensory Communication 1/2
Multi Sensory Communication 1/2
 
arduinoedit.pptx
arduinoedit.pptxarduinoedit.pptx
arduinoedit.pptx
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
 
Build cool stuff with arduino for sci camp 16 dec13
Build cool stuff with arduino for sci camp 16 dec13Build cool stuff with arduino for sci camp 16 dec13
Build cool stuff with arduino for sci camp 16 dec13
 
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...
 
Introduction to Arduino
Introduction to Arduino Introduction to Arduino
Introduction to Arduino
 
SKAD Electronics Training Manual.pdf
SKAD Electronics Training Manual.pdfSKAD Electronics Training Manual.pdf
SKAD Electronics Training Manual.pdf
 
Fundamentals of programming Arduino-Wk2.ppt
Fundamentals of programming Arduino-Wk2.pptFundamentals of programming Arduino-Wk2.ppt
Fundamentals of programming Arduino-Wk2.ppt
 

Recently uploaded

"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 

Recently uploaded (20)

"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 

Introduction to Arduino

  • 1. Introduction to Arduino Kids & Technology Meetup April 6, 2013 Washington, DC
  • 2. What is the Arduino? • A microcontroller • Hardware + software • You can program it, make projects with it Inputs/Sensors • Light • Motion • GPS Arduino Outputs: Make things happen • Light up LEDs Your program • Move wheels (sketch) • Tweet 2
  • 3. The Arduino’s Parts Digital Pins (0 – 13) inputs & outputs USB - sketch - power Micro- processor External Power Analog (battery) Inputs Power (0-5) 3 Sockets
  • 4. Some Components LEDs – light emitting diodes Resistors Breadboard 4
  • 5. Programming 3 main sketch areas A Processing “Sketch” Variables Setup – runs once Loop – main program that repeats 5
  • 6. Basic Processing Structure // this is a comment - make notes to yourself and to others int led = 13; // we will connect an LED to pin # 13 – and 13 is an integer // end lines with semicolons void setup () // place things here that need to be set up at the beginning { // curly braces { } define blocks of code pinMode(led, OUTPUT); // digital pin 13 will be an output – OUTPUT is a key word } void loop() // main sketch code goes here. It will repeat until the board is turned off. { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) – HIGH = key word delay(1000); // wait for one second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW – LOW = key word delay(1000); // wait for one second } 6
  • 7. Processing Language Basic Interactive Functions pinMode(pin, mode): set a digital pin to input or output mode (INPUT or OUTPUT). digitalRead(pin): returns the value of a digital pin, either LOW or HIGH digitalWrite(pin, value): writes LOW or HIGH to a digital pin. analogRead(pin): returns the value of an analog input (from 0 to 1023). analogWrite(pin, value): writes an analog value (PWM wave) to a digital pin that supports it (pins 3, 5, 6, 9, 10, and 11); value should be from 0 (always off) to 255 (always on). delay(time in milliseconds): pauses the code for the amount of time in milliseconds (1 second = 1000 milliseconds) More terms, syntax, functions: http://arduino.cc/en/Reference/HomePage 7
  • 8. ArduBlocks • It is a tool to use block programming with Arduino
  • 9. It is similar to Scratch
  • 11. Project Demonstrations • We will demonstrate several projects – Interactive game (Simon Says) – ArduBlocks – Light sensor input – Arduino + Scratch – Drawbot – a drawing robot 11
  • 12. Videos of Other Projects for Inspiration • LED cube: – http://www.youtube.com/watch?v=GUcX41pokZY • Turn signal cycling jacket: – http://www.youtube.com/watch?v=ZtNEPkwCfxA • Robot controlled by iPhone: – http://www.youtube.com/watch?v=ZgMHxu6gS40 • Quadcopter: – https://www.youtube.com/watch?v=eKWboJ0RJtQ Search for other ideas! 12
  • 13. Links • Start here: http://arduino.cc/ • We have compiled links for: – Project ideas – lists and videos – How to program – The videos of the demos projects – Places to learn • HacDC http://www.meetup.com/hac-dc/ • Nova Labs http://www.meetup.com/NOVA-Makers/ – Places to buy Arduinos and components • All of these links will be posted at the Kids Tech Meetup site (http://www.meetup.com/Kids-and-Technology/) and this public EverNote notebook: https://www.evernote.com/pub/greenmoonart/arduino 13
  • 14. Raffle • We have a few prizes to give away – Arduinos – Breadboards – Patches 14
  • 15. Questions? • Feel free to contact us – John Dukovich – twitter: @JohnDukovich – Hugo Estrada – Google+ – Phil Shapiro – twitter: @PhilShapiro • Stay in touch with the MeetUp: – http://www.meetup.com/Kids-and-Technology/ 15