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