Arduino Part 1
Topics:
Microcontrollers
Programming Basics: structure and variables
Digital Output
Analog to Digital Conversion
What is a Microcontroller
www.mikroe.com/chapters/view/1
What is a Development Board
The Arduino Development Board
Making-robots-with-arduino.pdf
The Arduino Microcontroller: Atmel ARV Atmega 328
Making-robots-with-arduino.pdf
What is the Arduino
todbot.com/blog/bionicarduino
Getting Started
Try It: Connect the USB Cable
todbot.com/blog/bionicarduino
Arduino IDE
See: http://arduino.cc/en/Guide/Environment for more information
Select Serial Port and Board
Status Messages
todbot.com/blog/bionicarduino
todbot.com/blog/bionicarduino
Add an External LED to pin 13
www.instructables.com
A Little Bit About Programming
Our First Program
Terminology
Digital I/0
pinMode(pin, mode)
Sets pin to either INPUT or OUTPUT
digitalRead(pin)
Reads HIGH or LOW from a pin
digitalWrite(pin, value)
Writes HIGH or LOW to a pin
Electronic stuff
Output pins can provide 40 mA of current
Writing HIGH to an input pin installs a 20KΩ pullup
www.mikroe.com/chapters/view/1
Arduino Timing
Digital? Analog?
todbot.com/blog/bionicarduino
Bits and Bytes
Variables
www3.ntu.edu.sg
Putting It Together
www.ladyada.net/learn/arduino
Good References