Introduction To Arduino

4,091 views
3,993 views

Published on

Richard Rixham's presentation introducing open source hardware hacking with Arduino.

Presented at unsheffield 2009.
http://unsheffield.net

Published in: Education
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,091
On SlideShare
0
From Embeds
0
Number of Embeds
85
Actions
Shares
0
Downloads
317
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Introduction To Arduino

  1. 1. Introduction to Arduino Richard Rixham Twitter @richardrixham
  2. 2. What is an Arduino? <ul><li>Lego Technic turned up to 11. </li></ul><ul><li>Physical Computing allowing interaction with the environment </li></ul><ul><li>Build anything from flashing light to robots that can interact with the internet </li></ul><ul><li>Add Shields to provide functionality </li></ul><ul><li>Open Source </li></ul><ul><li>Inexpensive and FUN  </li></ul>
  3. 3. Different flavours of Arduino D Diecimila Lilypad Nano Mini
  4. 4. Sample Arduino Projects
  5. 5. Programming Arduino <ul><li>Integrated Development Environment (IDE) </li></ul><ul><ul><li>Windows </li></ul></ul><ul><ul><li>Mac </li></ul></ul><ul><ul><li>Linux </li></ul></ul><ul><li>C derived language </li></ul><ul><li>Active community of users for support, advice and ideas </li></ul>
  6. 6. Hello World <ul><li>int ledPin = 13; // LED connected to digital pin 13 </li></ul><ul><li>void setup() // run once, when the sketch starts </li></ul><ul><li>{ </li></ul><ul><li>pinMode(ledPin, OUTPUT); // sets the digital pin as output </li></ul><ul><li>} </li></ul><ul><li>void loop() // run over and over again </li></ul><ul><li>{ </li></ul><ul><li>digitalWrite(ledPin, HIGH); // sets the LED on </li></ul><ul><li>delay(1000); // waits for a second </li></ul><ul><li>digitalWrite(ledPin, LOW); // sets the LED off </li></ul><ul><li>delay(1000); // waits for a second </li></ul><ul><li>} </li></ul>
  7. 7. Example Project <ul><li>Temperature readings posted to a website </li></ul><ul><li>Website displays temperature readings as user refreshed the page </li></ul>
  8. 8. Learning Arduino <ul><li>Arduino Website </li></ul><ul><li>Ladyada.net </li></ul><ul><li>Other Online resources </li></ul><ul><li>Books </li></ul>
  9. 9. Next Steps – Hands on Workshop <ul><li>Simple first projects: </li></ul><ul><ul><li>Blinking LED </li></ul></ul><ul><ul><li>Using Buttons </li></ul></ul><ul><ul><li>Potentiometers </li></ul></ul><ul><ul><li>Sensors </li></ul></ul><ul><li>More sophisticated projects </li></ul><ul><ul><li>Internet connectivity </li></ul></ul><ul><ul><li>Driving motors </li></ul></ul>

×