2. Who am I
• Developer working in the Air Transporation
Sector
• Playing with Arduino since early 2009
• Organiser of Sheffield Arduino Hackers
Network (SHACKNET)
3. What is Arduino
• Arduino is Lego turned up to 11
• Open Source hardware platform
• Open Source software and libraries
• Physical Computing, allowing interaction with
the environment
• Build anything from a flashing light to robots
4. What is an Arduino
14 Digital Pins (6 PWM)
Reset
USB Connector
External
Power
Supply
Power Pins 6 Analog Inputs
Power LED
ATmega AVR
TX/RX LED
6. Other flavours of Arduino
Arduino Mini
Arduino Nano
Arduino Lilypad
Arduino Pro
Arduino Pro Mini
Arduino Mega
Arduino Fio
Arduino Bluetooth
And many Clones
7. Arduino Shields
• Shields are boards that can be plugged in to
provide additional capabilities
• Examples
Xbee – Wireless connectivity
DMX – Control lights
Ethernet, GPS, Bluetooth
• Shieldlist.org
8. Programming Arduino
• Language based on C/C++ linked to AVR-libc
library
http://www.nongnu.org/avr-libc
• Open Source Libraries (LCD, string)
• Official IDE written in Java
• Runs on Windows, Linux
and MacOS
9. Programming Arduino
• Uses other editors such as Eclipse with
Arduino Plugin
• RAD – Ruby Arduino Development
10. Hello World
int ledPin = 13; // LED connected to digital pin 13
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
}