Meeting 4: Week 2, Long day (Thursday February 6 2:40 – 5:20)

Announcements
  • Give Waad a working Redboard 
  • Sign up for tool training here

Review

  • Arduino IDE
  • Concept of I/O pins
  • Blink example: pinMode(), digitalWrite(), delay(), setup(), loop()
  • Solderless breadboard, LED, resistor
  • Circuits
  • Schematics 

Arduino!

Lecture: Physical Computing
 
  • Sensors convert various properties (heat, sound, light, pressure, gas) into electricity
  • Actuators convert electricity into various properties (heat, sound, light, pressure, motion)
  • How do you control the behavior of your circuit? How do you dictate how the actuators should react to various sensor input)
  • Arduino!
  • Arduino is a tiny computer. In order to control the behavior of your circuit you have to write a program which implements the desired behavior.
  • Your circuit determines how things are connected to the Arduino
  • Your program in Arduino determines the behavior
    • As long as your program is in agreement with your circuit
  • We’ll get into this in more detail next week
  • Introduction
  • Verify installation
  • Solderless breadboard
  • Variables

Activity

  • Digital Output
  • Digital input
    • serial.println()
  • Why are the numbers bouncing?
    • Floating input
  • Momentary switch
    • Pulldown resistor

Assignment due Tuesday February 11

  1. Make a circuit and write a program using Arduino that combines multiple digital inputs and outputs. Document your project in your Github repository:
    1. Create a new folder called “february11”
    2. Upload your program into the “february11” folder
    3. Create a new file called “readme.md”. In the file, describe briefly what your project does.
    4. Draw a schematic of your circuit and include it in readme.md
  2. Read about analog output and analog Input