SlideShare a Scribd company logo
1 of 48
THIRTY MINUTES TO 
MAKING: 
ARDUINO BASICS: THE BLINKING LED
PARTS!
PARTS! 
• Arduino
PARTS! 
• Arduino 
• Components (LEDs, resistors, etc.)
PARTS! 
• Arduino 
• Components (LEDs, resistors, etc.) 
Your brain
ARDUINO?
ARDUINO? 
• A programmable microcontroller
ARDUINO? 
• A programmable microcontroller 
• Can take digital or analog inputs, process 
them, and return digital or analog outputs.
ARDUINO? 
• A programmable microcontroller 
• Can take digital or analog inputs, process 
them, and return digital or analog outputs. 
• Get stuff, think about stuff, do stuff.
PROGRAMMING?
PROGRAMMING? 
• We’re making sentences.
PROGRAMMING? 
• We’re making sentences. 
• They have rules.
PROGRAMMING? 
• We’re making sentences. 
• They have rules. 
• They have to make sense.
PROGRAMMING? 
• We’re making sentences. 
• They have rules. 
• They have to make sense. 
• They end in a semicolon (not a period).
MORE SPECIFICALLY?
MORE SPECIFICALLY? 
Case-sensitive (capitals and lowercase are 
IMPORTANT).
MORE SPECIFICALLY? 
Case-sensitive (capitals and lowercase are 
IMPORTANT). 
• Certain words have specific meanings.
MORE SPECIFICALLY? 
Case-sensitive (capitals and lowercase are 
IMPORTANT). 
• Certain words have specific meanings. 
Read on some pins and write to other pins.
WHAT ARE PINS?
WHAT ARE PINS? 
• Little boxes at the top and bottom of the 
Arduino
WHAT ARE PINS? 
• Little boxes at the top and bottom of the 
Arduino 
• Allow the Arduino to read and write electrical 
signals.
WHAT ARE PINS? 
• Little boxes at the top and bottom of the 
Arduino 
• Allow the Arduino to read and write electrical 
signals. 
The program interprets their meaning.
SIGNALS? THINK OF WATER:
SIGNALS? THINK OF WATER: 
Faucets and drains
SIGNALS? THINK OF WATER: 
Faucets and drains 
• An OUTPUT is like a faucet.
SIGNALS? THINK OF WATER: 
Faucets and drains 
• An OUTPUT is like a faucet. 
• An INPUT is like a drain in your sink.
FAUCETS?
FAUCETS? 
• A faucet that is on is HIGH – water is running.
FAUCETS? 
• A faucet that is on is HIGH – water is running. 
• A faucet that is off is LOW – water is off.
FAUCETS? 
• A faucet that is on is HIGH – water is running. 
• A faucet that is off is LOW – water is off. 
• A pin set to OUTPUT and then given a ‘write 
HIGH’ command sends a signal out.
FAUCETS? 
• A faucet that is on is HIGH – water is running. 
• A faucet that is off is LOW – water is off. 
• A pin set to OUTPUT and then given a ‘write 
HIGH’ command sends a signal out. 
• That same pin, given a ‘write LOW’ command 
stops sending an electrical signal.
DRAINS?
DRAINS? 
• Signal goes in - water is going into it.
DRAINS? 
• Signal goes in - water is going into it. 
A pin set to INPUT and then given a read 
command allows the signal to come in.
GOING ON A ROAD TRIP?
GOING ON A ROAD TRIP? 
• Things to do before you get started.
GOING ON A ROAD TRIP? 
• Things to do before you get started. 
Get gas 
• Wash windows 
• Pack the car
GOING ON A ROAD TRIP? 
• Things to do before you get started. 
Get gas 
• Wash windows 
• Pack the car 
• Start the car
GOING ON A ROAD TRIP? 
• Things to do before you get started. 
Get gas 
• Wash windows 
• Pack the car 
• Start the car 
• Turn the key 
• Back it out of the driveway
GOING ON A ROAD TRIP? 
• Things to do before you get started. 
Get gas 
• Wash windows 
• Pack the car 
• Start the car 
• Turn the key 
• Back it out of the driveway 
Drive
GOING ON A ROAD TRIP? 
• Things to do before you get started. 
Get gas 
• Wash windows 
• Pack the car 
• Start the car 
• Turn the key 
• Back it out of the driveway 
Drive 
• Keep going until you stop.
THIS ISN’T A VACATION, SIR.
THIS ISN’T A VACATION, SIR. 
• Declarations 
int pin = 12;
THIS ISN’T A VACATION, SIR. 
• Declarations 
int pin = 12; 
• Start it up 
• void setup(){ stuff you do once goes here }
THIS ISN’T A VACATION, SIR. 
• Declarations 
int pin = 12; 
• Start it up 
• void setup(){ stuff you do once goes here } 
• Get driving 
void loop() { stuff you keep doing goes here }
SEE IT IN ACTION!
QUESTIONS?
NEXT SESSION: 
• Thirty Minutes To Making: Arduino Basics - 
Programming 
• November 12, 2014 at 12:15pm 
• http://uncg.libguides.com/workshops

More Related Content

What's hot

Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt main
eddy royappa
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
Wingston
 

What's hot (20)

Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
 
Arduino
ArduinoArduino
Arduino
 
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
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino Microcontroller
 
Home Automation Using Arduino Uno and HC-05
Home Automation Using Arduino Uno and HC-05Home Automation Using Arduino Uno and HC-05
Home Automation Using Arduino Uno and HC-05
 
Automated Plant Watering System
Automated Plant Watering SystemAutomated Plant Watering System
Automated Plant Watering System
 
Arduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYArduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIY
 
Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt main
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking system
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
 
IOT: Home Automation using Android Application
IOT: Home Automation using Android ApplicationIOT: Home Automation using Android Application
IOT: Home Automation using Android Application
 
Esp8266 NodeMCU
Esp8266 NodeMCUEsp8266 NodeMCU
Esp8266 NodeMCU
 
Arduino presentation
Arduino presentationArduino presentation
Arduino presentation
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and Programming
 
RFID based smart shopping cart and billing system
RFID based smart shopping cart and billing systemRFID based smart shopping cart and billing system
RFID based smart shopping cart and billing system
 
Ultrasonic sensor
Ultrasonic sensorUltrasonic sensor
Ultrasonic sensor
 

Viewers also liked

Why LUX dynamics LED
Why LUX dynamics LEDWhy LUX dynamics LED
Why LUX dynamics LED
luxdynamics
 
Getting Started with Arduino
Getting Started with ArduinoGetting Started with Arduino
Getting Started with Arduino
Wee Keat Chin
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduino
zvikapika
 
LED-Light Emitting Diode
LED-Light Emitting DiodeLED-Light Emitting Diode
LED-Light Emitting Diode
Aon Ali Jaffery
 

Viewers also liked (20)

Led presentation
Led presentationLed presentation
Led presentation
 
Why LUX dynamics LED
Why LUX dynamics LEDWhy LUX dynamics LED
Why LUX dynamics LED
 
Getting Started with Arduino
Getting Started with ArduinoGetting Started with Arduino
Getting Started with Arduino
 
DIY! Introduction to Arduino (Development Board)
DIY! Introduction to Arduino (Development Board) DIY! Introduction to Arduino (Development Board)
DIY! Introduction to Arduino (Development Board)
 
20150826 Introduction to Arduino
20150826 Introduction to Arduino20150826 Introduction to Arduino
20150826 Introduction to Arduino
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduino
 
Arduino Introduction Guide 1
Arduino Introduction Guide 1Arduino Introduction Guide 1
Arduino Introduction Guide 1
 
Getting started with arduino
Getting started with arduinoGetting started with arduino
Getting started with arduino
 
Intro arduino English
Intro arduino EnglishIntro arduino English
Intro arduino English
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
Arduino Robotics workshop day2
Arduino Robotics workshop day2Arduino Robotics workshop day2
Arduino Robotics workshop day2
 
Arduino Day 1 Presentation
Arduino Day 1 PresentationArduino Day 1 Presentation
Arduino Day 1 Presentation
 
Arduino Robotics workshop Day1
Arduino Robotics workshop Day1Arduino Robotics workshop Day1
Arduino Robotics workshop Day1
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Introduction to Arduino and Circuits
Introduction to Arduino and CircuitsIntroduction to Arduino and Circuits
Introduction to Arduino and Circuits
 
Introduction to arduino!
Introduction to arduino!Introduction to arduino!
Introduction to arduino!
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
LED-Light Emitting Diode
LED-Light Emitting DiodeLED-Light Emitting Diode
LED-Light Emitting Diode
 
Introduction to Arduino & Raspberry Pi
Introduction to Arduino & Raspberry PiIntroduction to Arduino & Raspberry Pi
Introduction to Arduino & Raspberry Pi
 
Introduction To Arduino
Introduction To ArduinoIntroduction To Arduino
Introduction To Arduino
 

Similar to Arduino Introduction (Blinking LED) Presentation (workshop #5) (7)

tinkercad-arduino031921.pptx
tinkercad-arduino031921.pptxtinkercad-arduino031921.pptx
tinkercad-arduino031921.pptx
 
Four Steps to End Encoder Problems
Four Steps to End Encoder Problems Four Steps to End Encoder Problems
Four Steps to End Encoder Problems
 
Four Steps to End Encoder Problems
Four Steps to End Encoder ProblemsFour Steps to End Encoder Problems
Four Steps to End Encoder Problems
 
13223971.ppt
13223971.ppt13223971.ppt
13223971.ppt
 
PLAN Tech Day 2016
PLAN Tech Day 2016PLAN Tech Day 2016
PLAN Tech Day 2016
 
Chicago Girls In Computing Arduino Workshop
Chicago Girls In Computing Arduino WorkshopChicago Girls In Computing Arduino Workshop
Chicago Girls In Computing Arduino Workshop
 
Rounding What Does the Equipment Say
Rounding   What Does the Equipment SayRounding   What Does the Equipment Say
Rounding What Does the Equipment Say
 

More from UNCG University Libraries

Makerspace @uncg libraries presentation for LIS688 (june 2014)
Makerspace @uncg libraries presentation for LIS688 (june 2014)Makerspace @uncg libraries presentation for LIS688 (june 2014)
Makerspace @uncg libraries presentation for LIS688 (june 2014)
UNCG University Libraries
 
NCLA 2013 Presentation by Mary Jane Conger "Three to Get Ready...Migration"
NCLA 2013 Presentation by Mary Jane Conger "Three to Get Ready...Migration"NCLA 2013 Presentation by Mary Jane Conger "Three to Get Ready...Migration"
NCLA 2013 Presentation by Mary Jane Conger "Three to Get Ready...Migration"
UNCG University Libraries
 

More from UNCG University Libraries (20)

Arduino Programming Basics - step by step screenshots (workshop #6)
Arduino Programming Basics - step by step screenshots (workshop #6) Arduino Programming Basics - step by step screenshots (workshop #6)
Arduino Programming Basics - step by step screenshots (workshop #6)
 
Arduino Programming Basics (workshop #6)
Arduino Programming Basics (workshop #6)Arduino Programming Basics (workshop #6)
Arduino Programming Basics (workshop #6)
 
Makerspace ehub workshops
Makerspace ehub workshops Makerspace ehub workshops
Makerspace ehub workshops
 
Arduino Introduction (Blinking LEDs) - step by step screenshots (workshop #5)
Arduino Introduction (Blinking LEDs) - step by step screenshots  (workshop #5)Arduino Introduction (Blinking LEDs) - step by step screenshots  (workshop #5)
Arduino Introduction (Blinking LEDs) - step by step screenshots (workshop #5)
 
A History of African Americans at UNCG
A History of African Americans at UNCGA History of African Americans at UNCG
A History of African Americans at UNCG
 
Circuit Basics (workshop #4)
Circuit Basics (workshop #4)Circuit Basics (workshop #4)
Circuit Basics (workshop #4)
 
3D Design Basics with inkscape and tinkercad (workshops #3)
3D Design Basics with inkscape and tinkercad (workshops #3)3D Design Basics with inkscape and tinkercad (workshops #3)
3D Design Basics with inkscape and tinkercad (workshops #3)
 
Makers, making, and makerspaces online workshop #1
Makers, making, and makerspaces online workshop #1  Makers, making, and makerspaces online workshop #1
Makers, making, and makerspaces online workshop #1
 
Makerspace @uncg libraries presentation for LIS688 (june 2014)
Makerspace @uncg libraries presentation for LIS688 (june 2014)Makerspace @uncg libraries presentation for LIS688 (june 2014)
Makerspace @uncg libraries presentation for LIS688 (june 2014)
 
Tech Tool Thursday: Quick and free visual tools in 30 minutes
Tech Tool Thursday:   Quick and free visual tools in 30 minutesTech Tool Thursday:   Quick and free visual tools in 30 minutes
Tech Tool Thursday: Quick and free visual tools in 30 minutes
 
Tech Trends & Tutorial Project (LIS 631)
Tech Trends & Tutorial Project (LIS 631)Tech Trends & Tutorial Project (LIS 631)
Tech Trends & Tutorial Project (LIS 631)
 
Tech Tool Thursday: Pinterest in 30 minutes
Tech Tool Thursday: Pinterest in 30 minutesTech Tool Thursday: Pinterest in 30 minutes
Tech Tool Thursday: Pinterest in 30 minutes
 
Tech Tool Thursday: Free Visual Tools online workshop
Tech Tool Thursday: Free Visual Tools online workshopTech Tool Thursday: Free Visual Tools online workshop
Tech Tool Thursday: Free Visual Tools online workshop
 
NCLA 2013 Presentation by Mary Jane Conger "Three to Get Ready...Migration"
NCLA 2013 Presentation by Mary Jane Conger "Three to Get Ready...Migration"NCLA 2013 Presentation by Mary Jane Conger "Three to Get Ready...Migration"
NCLA 2013 Presentation by Mary Jane Conger "Three to Get Ready...Migration"
 
Teaching Music Librarianship Online
Teaching Music Librarianship OnlineTeaching Music Librarianship Online
Teaching Music Librarianship Online
 
Records Management at UNCG
Records Management at UNCGRecords Management at UNCG
Records Management at UNCG
 
Neo Black Society History Presentation
Neo Black Society History PresentationNeo Black Society History Presentation
Neo Black Society History Presentation
 
Campus life in 1913
Campus life in 1913Campus life in 1913
Campus life in 1913
 
Beyond power point
Beyond power pointBeyond power point
Beyond power point
 
Assessment101
Assessment101 Assessment101
Assessment101
 

Recently uploaded

Recently uploaded (20)

How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 

Arduino Introduction (Blinking LED) Presentation (workshop #5)

  • 1. THIRTY MINUTES TO MAKING: ARDUINO BASICS: THE BLINKING LED
  • 4. PARTS! • Arduino • Components (LEDs, resistors, etc.)
  • 5. PARTS! • Arduino • Components (LEDs, resistors, etc.) Your brain
  • 7. ARDUINO? • A programmable microcontroller
  • 8. ARDUINO? • A programmable microcontroller • Can take digital or analog inputs, process them, and return digital or analog outputs.
  • 9. ARDUINO? • A programmable microcontroller • Can take digital or analog inputs, process them, and return digital or analog outputs. • Get stuff, think about stuff, do stuff.
  • 11. PROGRAMMING? • We’re making sentences.
  • 12. PROGRAMMING? • We’re making sentences. • They have rules.
  • 13. PROGRAMMING? • We’re making sentences. • They have rules. • They have to make sense.
  • 14. PROGRAMMING? • We’re making sentences. • They have rules. • They have to make sense. • They end in a semicolon (not a period).
  • 16. MORE SPECIFICALLY? Case-sensitive (capitals and lowercase are IMPORTANT).
  • 17. MORE SPECIFICALLY? Case-sensitive (capitals and lowercase are IMPORTANT). • Certain words have specific meanings.
  • 18. MORE SPECIFICALLY? Case-sensitive (capitals and lowercase are IMPORTANT). • Certain words have specific meanings. Read on some pins and write to other pins.
  • 20. WHAT ARE PINS? • Little boxes at the top and bottom of the Arduino
  • 21. WHAT ARE PINS? • Little boxes at the top and bottom of the Arduino • Allow the Arduino to read and write electrical signals.
  • 22. WHAT ARE PINS? • Little boxes at the top and bottom of the Arduino • Allow the Arduino to read and write electrical signals. The program interprets their meaning.
  • 24. SIGNALS? THINK OF WATER: Faucets and drains
  • 25. SIGNALS? THINK OF WATER: Faucets and drains • An OUTPUT is like a faucet.
  • 26. SIGNALS? THINK OF WATER: Faucets and drains • An OUTPUT is like a faucet. • An INPUT is like a drain in your sink.
  • 28. FAUCETS? • A faucet that is on is HIGH – water is running.
  • 29. FAUCETS? • A faucet that is on is HIGH – water is running. • A faucet that is off is LOW – water is off.
  • 30. FAUCETS? • A faucet that is on is HIGH – water is running. • A faucet that is off is LOW – water is off. • A pin set to OUTPUT and then given a ‘write HIGH’ command sends a signal out.
  • 31. FAUCETS? • A faucet that is on is HIGH – water is running. • A faucet that is off is LOW – water is off. • A pin set to OUTPUT and then given a ‘write HIGH’ command sends a signal out. • That same pin, given a ‘write LOW’ command stops sending an electrical signal.
  • 33. DRAINS? • Signal goes in - water is going into it.
  • 34. DRAINS? • Signal goes in - water is going into it. A pin set to INPUT and then given a read command allows the signal to come in.
  • 35. GOING ON A ROAD TRIP?
  • 36. GOING ON A ROAD TRIP? • Things to do before you get started.
  • 37. GOING ON A ROAD TRIP? • Things to do before you get started. Get gas • Wash windows • Pack the car
  • 38. GOING ON A ROAD TRIP? • Things to do before you get started. Get gas • Wash windows • Pack the car • Start the car
  • 39. GOING ON A ROAD TRIP? • Things to do before you get started. Get gas • Wash windows • Pack the car • Start the car • Turn the key • Back it out of the driveway
  • 40. GOING ON A ROAD TRIP? • Things to do before you get started. Get gas • Wash windows • Pack the car • Start the car • Turn the key • Back it out of the driveway Drive
  • 41. GOING ON A ROAD TRIP? • Things to do before you get started. Get gas • Wash windows • Pack the car • Start the car • Turn the key • Back it out of the driveway Drive • Keep going until you stop.
  • 42. THIS ISN’T A VACATION, SIR.
  • 43. THIS ISN’T A VACATION, SIR. • Declarations int pin = 12;
  • 44. THIS ISN’T A VACATION, SIR. • Declarations int pin = 12; • Start it up • void setup(){ stuff you do once goes here }
  • 45. THIS ISN’T A VACATION, SIR. • Declarations int pin = 12; • Start it up • void setup(){ stuff you do once goes here } • Get driving void loop() { stuff you keep doing goes here }
  • 46. SEE IT IN ACTION!
  • 48. NEXT SESSION: • Thirty Minutes To Making: Arduino Basics - Programming • November 12, 2014 at 12:15pm • http://uncg.libguides.com/workshops