User Tools

Site Tools


courses:2009.11.30.intro_prototyping

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

courses:2009.11.30.intro_prototyping [2009/11/29 02:03]
camille created
courses:2009.11.30.intro_prototyping [2009/11/30 22:30] (current)
camille added presentation PDF
Line 1: Line 1:
 +====== nov 30: Arduino: what it is, writing code, blinking LED, pushbuttons ======
 +
 +Presentation file: {{:​courses:​2009.11.30.arduino_part1.pdf|pdf}}
 +
 +==== What is Arduino? ====
 +
 +  * microcontroller (ATmega168 or newer)
 +  * flash memory
 +  * digital vs analog pins
 +  * coding/​programming
 +  * debugging via serial communication
 +
 +
 +==== Digital Output: blinking a LED ====
 +
 +  * http://​arduino.cc/​en/​Tutorial/​Blink
 +  * [[http://​arduino.cc/​en/​Reference/​PinMode|PinMode]](pin,​ mode); is required/​crucial
 +  * [[http://​arduino.cc/​en/​Reference/​DigitalWrite|digitalWrite]](pin,​value);​
 +  * [[http://​arduino.cc/​en/​Reference/​Delay|delay]](ms);​
 +
 +
 +==== Digital Input: sensing a push button ====
 +
 +  * Build circuit with push button + resistor
 +  * http://​arduino.cc/​en/​Tutorial/​Button
 +  * http://​arduino.cc/​en/​Tutorial/​ButtonStateChange
 +  * http://​arduino.cc/​en/​Tutorial/​Debounce
 +
 +
 +==== Analog Output: dimming a LED ====
 +  * PWM: Pulse Width Modulation, why it is useful [analog from digital]
 +  * http://​arduino.cc/​en/​Tutorial/​Fading
 +  * [[http://​arduino.cc/​en/​Reference/​analogWrite|analogWrite]](pin,​ value); ​ 0 - 255
 +
 +
 +==== Analog Input: reading a sensor value ====
 +
 +  * Build circuit with a potentiometer
 +  * http://​arduino.cc/​en/​Tutorial/​AnalogInput
 +
 +
  
courses/2009.11.30.intro_prototyping.txt · Last modified: 2009/11/30 22:30 by camille