gcc 2-19-16

14
Meeting 11 – 2/19/16

Upload: kayla-leung

Post on 14-Apr-2017

531 views

Category:

Education


0 download

TRANSCRIPT

Page 1: GCC 2-19-16

Meeting 11 – 2/19/16

Page 2: GCC 2-19-16

Week by Week Semester Schedule

Page 3: GCC 2-19-16

Chapter 1 & 2: Blinking and LEDs with Arduino

Questions, Problems, Difficulties you encountered?

Page 4: GCC 2-19-16

TroubleshootingTips:• 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?

Page 5: GCC 2-19-16

Chapter 2: Digital Inputs, Outputs, and Pulse-Width Modulation

Chapter 2: Digital Inputs, Outputs, and Pulse-Width Modulation

1.Turning on an LED—led.ino2.LED with Changing Blink Rate—blink.ino3.LED Fade Sketch—fade.ino4.Simple LED Control with a Button—led_button.ino5.Debounced Button Toggling—debounce.ino6.Toggling LED Nightlight—rgb_nightlight.ino

Page 6: GCC 2-19-16

Chapter 2: Digital Inputs, Outputs, and Pulse-Width Modulation

Page 7: GCC 2-19-16

Chapter 2: Digital Inputs, Outputs, and Pulse-Width Modulation

Page 8: GCC 2-19-16

Chapter 2: Digital Inputs, Outputs, and Pulse-Width Modulation

LED button

Page 9: GCC 2-19-16

Chapter 2: Digital Inputs, Outputs, and Pulse-Width Modulation

Page 10: GCC 2-19-16

Chapter 2: Digital Inputs, Outputs, and Pulse-Width Modulation

Page 11: GCC 2-19-16

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

Page 12: GCC 2-19-16

Chapter 3: Reading Analog SensorsParts You'll Need

Page 13: GCC 2-19-16

Questions?

Page 14: GCC 2-19-16

For next week:• Read Chapter 3: Digital Inputs, Outputs, and Pulse-Width

Modulation

• Complete all six Ch 2 projects

• *Additional: Watch the video tutorials - https://www.youtube.com/watch?v=_LCCGFSMOr4&list=PLA567CE235D39FA84&index=2

See you next week!