9
Meeting 14 – 4/1/16

GCC 4-1-16

Embed Size (px)

Citation preview

Page 1: GCC 4-1-16

Meeting 14 – 4/1/16

Page 2: GCC 4-1-16

Reading Temperature Sensor

Page 3: GCC 4-1-16

Reading Temperature Sensor

Page 4: GCC 4-1-16

• Instead of output to the RGB LED, either use analogWrite to control the intensity of an LED OR output the reading to the Arduino IDE's Serial Monitor software running on your computer • Using the command Serial.println() prints that value over

serial to the computer’sserial terminal.• Code on p. 45 Reading a Potentiometer.

Reading Temperature Sensor

Page 5: GCC 4-1-16

Reading Distance Sensor

https://www.sparkfun.com/products/8733

Project Options• Serial Print input from Distance Sensor.• Program 1 LED to indicate Distance Change.• Program 4 LEDs to indicate Distance Change.

Page 6: GCC 4-1-16

• Old Broken Headphones?

• Change Resistors values manually to replace potentiometer

Making Sound

Page 7: GCC 4-1-16

Chapter 7: Shift Registers

Page 9: GCC 4-1-16

For next time... (4/8) • IR Distance Sensor • or Speaker Making Sound • or Shift Register • or http://girlscancode.net/

•Pulse Sensor (plan for 4/15, 4/22)