Arduino is an open-source hardware platform for building interactive electronic projects. It consists of both a physical programmable circuit board (or microcontroller) and a piece of software, or IDE that runs on your computer, used to write and upload computer code to the physical board. Arduino boards can sense the environment by receiving inputs from sensors and can affect the physical world by controlling lights, motors and other physical devices. The microcontroller on the board is programmed using the Arduino programming language and the Arduino development environment to read and write to various components like LEDs, sensors, and other actuators. Common examples of Arduino projects include thermostats, traffic lights, home alarms, and robots.
1 of 23
More Related Content
Coscup
1. Arduino
MAOWu,2009.8.12
Tuesday, August 3, 2010
7. Arduino
Arduino Diecimila Arduino Mini LilyPad
Arduino BT Freeduino Bare Bones
Boduino DIY
* Product images from Arduino.cc / Adafruit.com / SparkFun.com / Tinkerlog
Tuesday, August 3, 2010
8. Arduino
Microcontroller ATmega 168/ Atmega 328 Flash Memory 16KB (ATmage168) or 32KB (ATmage328) of which 2KB for bootloader
Operating Voltage 5V SRAM 1KB (ATmage168) or 2KB (ATmage328)
Input Voltage 7~12V (recommended) EEPROM 512bytes (ATmage168) or 1KB (ATmage328)
DC Current per I/O Pin 40mA Clock Speed 16MHz
DC Current per 3.3v Pin 50mA
Tuesday, August 3, 2010
9. Arduino
14 鐔 Digital Pins 0-13 Reset - S1
Digital Pins 0-1/Serial In/Out - TX/RX
- Serial port Pin 0,1. Jumper USB DC (Duemilanove )
6 鐔 Analog Input Pins 0-5 USB
Analog Output * (Digital Pins 3,5,6,9,10,11) Vin, 5V, 3.3V(Diecimila )
Tuesday, August 3, 2010
10. Arduino
int ledPin = 13; // LED connected to digital pin 3
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
}
void loop()
{
digitalWrite(ledPin, HIGH); // sets the LED on
delay(1000); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
delay(1000); // waits for a second
}
Tuesday, August 3, 2010