Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

2015-10-21 - Arduino workshop

225 views

Published on

Arduino workshop for javaBin Vestfold

Published in: Devices & Hardware
  • Be the first to comment

  • Be the first to like this

2015-10-21 - Arduino workshop

  1. 1. Arduino Workshop oktober 2015
  2. 2. EDW
  3. 3. Exercise Driven Workshop
  4. 4. Exercise - Getting Started ● Download and install Arduino IDE ○ http://arduino.cc ● Unpack and plug in board ● Start IDE ○ File => Examples => 01. Basics => Blink ○ Sketch => Upload ● Your board should blink
  5. 5. Arduino UNO Pin Layout
  6. 6. ● IDE ● Physical design ● API ● Community ● A trademark What is Arduino?
  7. 7. Arduino IDE ... “IDE”
  8. 8. Kit ● Resistors ● Capacitors ● Led, single color and RGB ● Button ● Buzzer ● Jumper cables ● Breadboard
  9. 9. Breadboard
  10. 10. LED https://en.wikipedia.org/wiki/Light-emitting_diode
  11. 11. Exercise: 01.Basics => Blink (again)
  12. 12. const int buttonPin = 2; const int ledPin = 13; int buttonState = LOW; void setup() { pinMode(ledPin, OUTPUT); pinMode(buttonPin, INPUT); } void loop() { buttonState = digitalRead(buttonPin); if (buttonState == HIGH) digitalWrite(ledPin, HIGH); else digitalWrite(ledPin, LOW); }
  13. 13. Exercise: 02.Digital => Button
  14. 14. PWM - Pulse Width Modulation https://no.wikipedia.org/wiki/Puls-bredde_modulasjon http://www.ni.com/tutorial/2991/en/
  15. 15. Exercise: 01.Basics => Fade, Bonus: fade RGB LED
  16. 16. Exercise: 02.Digital => toneMelody
  17. 17. Can do Can’t do ● Ethernet ● Parse XML ● Low power ● Low latency ● Send SMS ● Radio ● Ethernet traffic ● Parse XML ● Graphics ● Computer Vision
  18. 18. What can you make with an Arduino ● Learn electronics ● Tweeting coffee makers ● Interactive art ● Create robots ● Monitor plants
  19. 19. Where is Arduino used? ● Schools ● Art installations ● Quadcopers ● 3D printers ● Commercial products
  20. 20. Accessories ● Servos ● EEPROM ● SD Cards (FAT as FS) ● GSM ● Firmata (+ apps) ● LCD display ● SPI / I2C ● WIFI
  21. 21. Technical references ● www.arduino.cc ● Sparkfun ● Adafruit Webshops ● Alibaba ● Ebay ● Banggood Projects ● hackaday.com ● hackster.io

×