Академический Документы
Профессиональный Документы
Культура Документы
1. Microcontrollers
• Introduction to microcontrollers
• Arduino microcontroller kit
2. Sensors and Signals
• Analog / Digital sensors
• Data acquisition
• Data processing and visualization
3. GPS and Data Logging
• GPS receiver and shield
• Data logging
• Visualization of data
4. Motor Control
• Motors
• Encoders
• Position control
9/14/2009 OETL 2
Why Arduino
• Popular
• Open source
• Low cost
• Large user community
• Easy to use development environment
http://todbot.com/
9/14/2009 OETL Courtesy of Tod E. Kurt. Used with permission. 4
Arduino Duemilanove Microcontroller
Microcontroller 8-bit ATmega328 (by ATMEL)
http://www.arduino.cc/
Operating Voltage 5V
9/14/2009 OETL 5
Arduino Components
Test LED
(Pin 13) Digital I/O and PWM Output Pins
USB to Serial
UART Interface 16 MHz Clock
USB
Interface Reset Button
In-Circuit
Serial Programming
TX/RX LEDs
External
Power ATmega328
Courtesy of Arduino.cc. Used with permission. Power Pins Analog Input Pins
9/14/2009 OETL 6
Arduino Circuit Diagram
http://www.arduino.cc/
I/O tasks
9/14/2009 OETL 8
Courtesy of Arduino.cc. Used with permission.
Resources
• http://arduino.cc/
• http://ladyada.net/learn/arduino/
• http://todbot.com/blog/category/arduino/
• http://freeduino.org/
• http://adafruit.com/
• http://sparkfun.com/
• Books:
– “Arduino Programming Notebook”, Brian W. Evans
– “Physical Computing”, Dan O’Sullivan & Tom Igoe
– “Making Things Talk”, Tom Igoe
– “Hacking Roomba”, Tod E. Kurt
9/14/2009 OETL 9
Labs 1& 2: The Arduio Kit Experiments
9/14/2009 OETL 10
Resistor Color Code Chart
1st-band 2nd-band 3rd-band 4th-band
Color Digit Digit Digit Digit
Black 0 0 0
10 - 1
Brown 1 1 101 - 10 1%
Red 2 2 102 - 100 2%
Red Green Brown Gold Orange 3 3 103 - 1000 3%
250 Ω 5%
Yellow 4 4 104 - 10000 4%
Green 5 5 105 - 100000
Blue 6 6 106 - 1000000
Violet 7 7 107 - 10000000
Gray 0 0 108 - 100000000
1st Significant Digit Tolerance
White 9 9 109 - 1000000000
2nd Significant Digit Multiplier
Gold 5%
Silver 10%
None 20%
9/14/2009 OETL 11
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.