SlideShare a Scribd company logo
1 of 14
Meeting 12 – 2/26/16
Week by Week
Arduino Schedule
Chapter 2: LEDs with Arduino
Questions, Problems,
Difficulties you encountered?
Chapter 2: Digital Inputs, Outputs, and
Pulse-Width Modulation
Chapter 2: Digital Inputs, Outputs, and Pulse-Width
Modulation
1.Turning on an LED—led.ino
2.LED with Changing Blink Rate—blink.ino
3.LED Fade Sketch—fade.ino
4.Simple LED Control with a Button—led_button.ino
5.Debounced Button Toggling—debounce.ino
6.Toggling LED Nightlight—rgb_nightlight.ino
Troubleshooting
Tips:
• Follow Red/Black, Positive/Negative conventions
• If something isn't going in, put in the jumper
cable a few time to make it smoother
When things aren't working:
• Check where current and ground are connect to
• Check orientation of LED
• Check everything is plugged in correctly
according to diagram
• Check everything is plugged in all the way
Anything else we can add?
Chapter 2: Digital Inputs, Outputs, and
Pulse-Width Modulation
Chapter 3: Reading Analog Sensors
Parts You'll Need
Chapter 3: Reading Analog Sensors
www.exploringarduino.com/content/ch3 .
Chapter 3: Reading Analog Sensors
1. Potentiometer Reading Sketch—pot.ino
2. Temperature Alert Sketch—tempalert.ino
3. Automatic Nightlight Sketch—nightlight.ino
Chapter 3: Reading Analog Sensors
www.exploringarduino.com/content/ch3 .
• A switch is a digital input—it has only two possible states: on or off, high or
low, 1 or 0, and so on.
• Analog signals are those that cannot be discretely classified; they vary
within a range, theoretically taking on an infinite number of possible
values within that range.
• Potentiometers are variable voltage dividers
• Potentiometers are symmetrical, so it doesn’t matter which side you
connect the 5V and ground to.
• As you turn the potentiometer, you vary the voltage that you are feeding
into analog input 0 between 0V and 5V
Chapter 3: Reading Analog Sensors
www.exploringarduino.com/content/ch3
Chapter 3: Reading Analog Sensors
https://youtu.be/OPz87IEEdIY
Chapter 3: Reading Analog Sensors
https://youtu.be/n82FtK023j8 https://youtu.be/KajitUqkoy0
Questions?
For next week:
• Read Chapter 3: Digital Inputs, Outputs, and Pulse-Width
Modulation
• Complete all three Chapter 3 projects
• *Additional: Watch the video tutorials -
https://www.youtube.com/watch?v=_LCCGFSMOr4&list=PLA567CE235D39FA84&index=2
Good luck with midterms! See you two week!

More Related Content

What's hot

Final Presentation - Edan&Itzik
Final Presentation - Edan&ItzikFinal Presentation - Edan&Itzik
Final Presentation - Edan&Itzik
itzik cohen
 
Energy saving using pir sensor
Energy saving using pir sensorEnergy saving using pir sensor
Energy saving using pir sensor
Himani Harbola
 
Temperature Sensor
Temperature SensorTemperature Sensor
Temperature Sensor
EnricVentosa
 

What's hot (20)

Automatic light control using PIR sensor
Automatic light control using PIR sensorAutomatic light control using PIR sensor
Automatic light control using PIR sensor
 
Auto Room Lighting System
Auto Room Lighting SystemAuto Room Lighting System
Auto Room Lighting System
 
#5 logic probe
#5 logic probe#5 logic probe
#5 logic probe
 
INTELLIGENT ROOM LIGHTING ON PERSON PRESENCE
INTELLIGENT ROOM LIGHTING ON PERSON PRESENCEINTELLIGENT ROOM LIGHTING ON PERSON PRESENCE
INTELLIGENT ROOM LIGHTING ON PERSON PRESENCE
 
Final Presentation - Edan&Itzik
Final Presentation - Edan&ItzikFinal Presentation - Edan&Itzik
Final Presentation - Edan&Itzik
 
Interface stepper motor through Arduino using LABVIEW.
Interface stepper motor through Arduino using LABVIEW.Interface stepper motor through Arduino using LABVIEW.
Interface stepper motor through Arduino using LABVIEW.
 
Energy saving using pir sensor
Energy saving using pir sensorEnergy saving using pir sensor
Energy saving using pir sensor
 
Node wireless sensor
Node wireless sensorNode wireless sensor
Node wireless sensor
 
Smart home arduino
Smart home   arduinoSmart home   arduino
Smart home arduino
 
How to set up two i2cs on Attiny841
How to set up two i2cs on Attiny841How to set up two i2cs on Attiny841
How to set up two i2cs on Attiny841
 
Physical prototyping lab5-complex_sensors
Physical prototyping lab5-complex_sensorsPhysical prototyping lab5-complex_sensors
Physical prototyping lab5-complex_sensors
 
Nokia 3315 lcd based temperature meter
Nokia 3315 lcd based temperature meterNokia 3315 lcd based temperature meter
Nokia 3315 lcd based temperature meter
 
Measurements upload
Measurements uploadMeasurements upload
Measurements upload
 
Arduino final ppt
Arduino final pptArduino final ppt
Arduino final ppt
 
DHT11 with Arduino
DHT11 with ArduinoDHT11 with Arduino
DHT11 with Arduino
 
Our arduino project
Our arduino projectOur arduino project
Our arduino project
 
IR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOIR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNO
 
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
 
Temperature Sensor
Temperature SensorTemperature Sensor
Temperature Sensor
 
2 Digit Object counter
2 Digit Object counter2 Digit Object counter
2 Digit Object counter
 

Viewers also liked (16)

Girls Can Code - 2/10/17
Girls Can Code - 2/10/17Girls Can Code - 2/10/17
Girls Can Code - 2/10/17
 
Gcc 4 22-16
Gcc 4 22-16Gcc 4 22-16
Gcc 4 22-16
 
GCC 10-9-15
GCC 10-9-15GCC 10-9-15
GCC 10-9-15
 
GCC 11-13-15
GCC 11-13-15GCC 11-13-15
GCC 11-13-15
 
GCC 10-2-15
GCC 10-2-15GCC 10-2-15
GCC 10-2-15
 
GCC 9-25-15
GCC 9-25-15GCC 9-25-15
GCC 9-25-15
 
GCC 4-1-16
GCC 4-1-16GCC 4-1-16
GCC 4-1-16
 
GCC 10-23-15
GCC 10-23-15GCC 10-23-15
GCC 10-23-15
 
Girls Can Code - 10/14/16
Girls Can Code - 10/14/16Girls Can Code - 10/14/16
Girls Can Code - 10/14/16
 
Girls Can Code - 10/7/16
Girls Can Code - 10/7/16Girls Can Code - 10/7/16
Girls Can Code - 10/7/16
 
Girls Can Code East Brunswick Workshop Notes
Girls Can Code East Brunswick Workshop NotesGirls Can Code East Brunswick Workshop Notes
Girls Can Code East Brunswick Workshop Notes
 
Girls Can Code - 11/18/16
Girls Can Code - 11/18/16Girls Can Code - 11/18/16
Girls Can Code - 11/18/16
 
Girls Can Code East Brunswick Workshop Slides
Girls Can Code East Brunswick Workshop SlidesGirls Can Code East Brunswick Workshop Slides
Girls Can Code East Brunswick Workshop Slides
 
Girls Can Code - 11/11/16
Girls Can Code - 11/11/16Girls Can Code - 11/11/16
Girls Can Code - 11/11/16
 
Girls Can Code - 1/27/17
Girls Can Code - 1/27/17Girls Can Code - 1/27/17
Girls Can Code - 1/27/17
 
Girls Can Code - 9/30/16
Girls Can Code - 9/30/16Girls Can Code - 9/30/16
Girls Can Code - 9/30/16
 

Similar to GCC 2-26-16

internship report and presentation for electronics students
internship report and presentation for electronics studentsinternship report and presentation for electronics students
internship report and presentation for electronics students
jaisivajaisiva0492
 
ArduinoSectionI-slides.ppt
ArduinoSectionI-slides.pptArduinoSectionI-slides.ppt
ArduinoSectionI-slides.ppt
Lam Hung
 
Week1&2 comm., for engineering technicians
Week1&2  comm.,  for engineering techniciansWeek1&2  comm.,  for engineering technicians
Week1&2 comm., for engineering technicians
Triza Kamel
 

Similar to GCC 2-26-16 (20)

PLC
PLCPLC
PLC
 
ORP Sensor Troubleshooting Guide
ORP Sensor Troubleshooting GuideORP Sensor Troubleshooting Guide
ORP Sensor Troubleshooting Guide
 
SCSA1407.pdf
SCSA1407.pdfSCSA1407.pdf
SCSA1407.pdf
 
internship report and presentation for electronics students
internship report and presentation for electronics studentsinternship report and presentation for electronics students
internship report and presentation for electronics students
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
LittleBitsChallange
LittleBitsChallangeLittleBitsChallange
LittleBitsChallange
 
Sensors.pptx
Sensors.pptxSensors.pptx
Sensors.pptx
 
FUNDAMENTAL OF ELECTRONICS AND HARDWARE
FUNDAMENTAL OF ELECTRONICS AND HARDWAREFUNDAMENTAL OF ELECTRONICS AND HARDWARE
FUNDAMENTAL OF ELECTRONICS AND HARDWARE
 
Lab2ppt
Lab2pptLab2ppt
Lab2ppt
 
Arduino interfacing with bluetooth.
Arduino interfacing with bluetooth.Arduino interfacing with bluetooth.
Arduino interfacing with bluetooth.
 
ArduinoSectionI-slides.ppt
ArduinoSectionI-slides.pptArduinoSectionI-slides.ppt
ArduinoSectionI-slides.ppt
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 
295889096 music-reactive-multicolor-led-lights
295889096 music-reactive-multicolor-led-lights295889096 music-reactive-multicolor-led-lights
295889096 music-reactive-multicolor-led-lights
 
Voice controlled home automation.pptx
Voice controlled home automation.pptxVoice controlled home automation.pptx
Voice controlled home automation.pptx
 
Intro_to_Arduino_-_v30.pptx
Intro_to_Arduino_-_v30.pptxIntro_to_Arduino_-_v30.pptx
Intro_to_Arduino_-_v30.pptx
 
Diode-based sensors
Diode-based sensorsDiode-based sensors
Diode-based sensors
 
Flow measurement
Flow measurementFlow measurement
Flow measurement
 
Summer training project
Summer training projectSummer training project
Summer training project
 
Week1&2 comm., for engineering technicians
Week1&2  comm.,  for engineering techniciansWeek1&2  comm.,  for engineering technicians
Week1&2 comm., for engineering technicians
 
MP Presentation1.pptx
MP Presentation1.pptxMP Presentation1.pptx
MP Presentation1.pptx
 

More from Kayla Leung

More from Kayla Leung (16)

Artificial Intelligence and Agency in the Classroom
Artificial Intelligence and Agency in the ClassroomArtificial Intelligence and Agency in the Classroom
Artificial Intelligence and Agency in the Classroom
 
Diversity of Friendships
Diversity of FriendshipsDiversity of Friendships
Diversity of Friendships
 
Philosophy of Probability
Philosophy of ProbabilityPhilosophy of Probability
Philosophy of Probability
 
Augmented Reality Ethics Futuring
Augmented Reality Ethics FuturingAugmented Reality Ethics Futuring
Augmented Reality Ethics Futuring
 
Sartre, Existentialism, and Metaethics
Sartre, Existentialism, and MetaethicsSartre, Existentialism, and Metaethics
Sartre, Existentialism, and Metaethics
 
Girls Can Code Mobile App Day 3
Girls Can Code Mobile App Day 3Girls Can Code Mobile App Day 3
Girls Can Code Mobile App Day 3
 
Girls Can Code Mobile App Day 2
Girls Can Code Mobile App Day 2Girls Can Code Mobile App Day 2
Girls Can Code Mobile App Day 2
 
Girls Can Code Mobile App Day 1
Girls Can Code Mobile App Day 1Girls Can Code Mobile App Day 1
Girls Can Code Mobile App Day 1
 
Girls Can Code - 4/7/17
Girls Can Code - 4/7/17Girls Can Code - 4/7/17
Girls Can Code - 4/7/17
 
Girls Can Code - 5/12/17
Girls Can Code - 5/12/17Girls Can Code - 5/12/17
Girls Can Code - 5/12/17
 
SaveBB #HouseOfCode Presentation
SaveBB #HouseOfCode PresentationSaveBB #HouseOfCode Presentation
SaveBB #HouseOfCode Presentation
 
SaveBB #HouseOfCode Presentation
SaveBB #HouseOfCode PresentationSaveBB #HouseOfCode Presentation
SaveBB #HouseOfCode Presentation
 
Girls Can Code - 2/3/17
Girls Can Code - 2/3/17Girls Can Code - 2/3/17
Girls Can Code - 2/3/17
 
Girls Can Code - 1/13/17
Girls Can Code - 1/13/17Girls Can Code - 1/13/17
Girls Can Code - 1/13/17
 
GCC 10-30-15
GCC 10-30-15GCC 10-30-15
GCC 10-30-15
 
GCC 11-13-15
GCC 11-13-15GCC 11-13-15
GCC 11-13-15
 

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
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
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
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
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
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
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
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.
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

GCC 2-26-16

  • 1. Meeting 12 – 2/26/16
  • 3. Chapter 2: LEDs with Arduino Questions, Problems, Difficulties you encountered?
  • 4. Chapter 2: Digital Inputs, Outputs, and Pulse-Width Modulation Chapter 2: Digital Inputs, Outputs, and Pulse-Width Modulation 1.Turning on an LED—led.ino 2.LED with Changing Blink Rate—blink.ino 3.LED Fade Sketch—fade.ino 4.Simple LED Control with a Button—led_button.ino 5.Debounced Button Toggling—debounce.ino 6.Toggling LED Nightlight—rgb_nightlight.ino
  • 5. Troubleshooting Tips: • Follow Red/Black, Positive/Negative conventions • If something isn't going in, put in the jumper cable a few time to make it smoother When things aren't working: • Check where current and ground are connect to • Check orientation of LED • Check everything is plugged in correctly according to diagram • Check everything is plugged in all the way Anything else we can add?
  • 6. Chapter 2: Digital Inputs, Outputs, and Pulse-Width Modulation
  • 7. Chapter 3: Reading Analog Sensors Parts You'll Need
  • 8. Chapter 3: Reading Analog Sensors www.exploringarduino.com/content/ch3 . Chapter 3: Reading Analog Sensors 1. Potentiometer Reading Sketch—pot.ino 2. Temperature Alert Sketch—tempalert.ino 3. Automatic Nightlight Sketch—nightlight.ino
  • 9. Chapter 3: Reading Analog Sensors www.exploringarduino.com/content/ch3 . • A switch is a digital input—it has only two possible states: on or off, high or low, 1 or 0, and so on. • Analog signals are those that cannot be discretely classified; they vary within a range, theoretically taking on an infinite number of possible values within that range. • Potentiometers are variable voltage dividers • Potentiometers are symmetrical, so it doesn’t matter which side you connect the 5V and ground to. • As you turn the potentiometer, you vary the voltage that you are feeding into analog input 0 between 0V and 5V
  • 10. Chapter 3: Reading Analog Sensors www.exploringarduino.com/content/ch3
  • 11. Chapter 3: Reading Analog Sensors https://youtu.be/OPz87IEEdIY
  • 12. Chapter 3: Reading Analog Sensors https://youtu.be/n82FtK023j8 https://youtu.be/KajitUqkoy0
  • 14. For next week: • Read Chapter 3: Digital Inputs, Outputs, and Pulse-Width Modulation • Complete all three Chapter 3 projects • *Additional: Watch the video tutorials - https://www.youtube.com/watch?v=_LCCGFSMOr4&list=PLA567CE235D39FA84&index=2 Good luck with midterms! See you two week!