Arduino talk by Toon Nelissen

817 views

Published on

Talk from Toon Nelissen at TIII one-day conference. Visit www.appsaloon.be and www.arduino-jam.org to learn more about Toon.

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

  • Be the first to like this

No Downloads
Views
Total views
817
On SlideShare
0
From Embeds
0
Number of Embeds
66
Actions
Shares
0
Downloads
44
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Arduino talk by Toon Nelissen

  1. 1. Arduino Developing some interactive interfaces fast & cheapdinsdag 11 september 12
  2. 2. Toon Nelissen co-owner of AppSaloon a Web-site/app development company Maker 5 years of experience with the Arduino platform Founder of the Arduino-jamdinsdag 11 september 12
  3. 3. Arduino projects some small projects Bicycle POV wheel display Flashing psychedelic goggles Electrofried a shocking game Capacitance touch sensor, a button without a knob helped friend and people online to improve there codedinsdag 11 september 12
  4. 4. Arduino projects CM interactive stress game wire loop game on time if you touch the wire you get a time penaltydinsdag 11 september 12
  5. 5. Arduino projects Domotica controller with online interfacedinsdag 11 september 12
  6. 6. Arduino Jam 20 Arduino enthusiasts one big brainstorm starting from 2 themes forming +/- 8 teams developing documenting this all within 48 hoursdinsdag 11 september 12
  7. 7. Do you want to know the magic of Arduino?dinsdag 11 september 12
  8. 8. Arduino the basics USB 14 I/O pins (20 on leonardo) 6 Analog input pins (12 on leonardo) 6 PWM out (7 on leonardo ) 32 KB Flash memory 4 KB used by bootloaderdinsdag 11 september 12
  9. 9. Why the Arduino? Based on existing languages: Wiring, processing (C-syntax) Bootloader easy to compile and upload a sketch Easy to use software Good documentation Big Community Open Source = improved through community Cheapdinsdag 11 september 12
  10. 10. Its easy to use! 5V Wifi shield Motor shield Accepts 7 to 12V of input Overcurrent protection Lots of shields Lots of librariesdinsdag 11 september 12
  11. 11. How to start? Download Arduino IDE Plug your Arduino in Select your Arduino Board Open a sketch Hit rundinsdag 11 september 12
  12. 12. It‘s really that easy!dinsdag 11 september 12
  13. 13. What has a blinking light to do with Interactive interfaces ?dinsdag 11 september 12
  14. 14. Arduino as a bridge Sensors Reads out sensors Collecting data PC Communicate with Data Mac devices Linux Internetdinsdag 11 september 12
  15. 15. Servo Arduino as stand-alone Motor Reads out sensors Led Sensors Collecting data Communicate with Lcd Data devices Process data character display Internet Internet ...dinsdag 11 september 12
  16. 16. Lets get our hands dirty!dinsdag 11 september 12
  17. 17. Arduino Sketch global variable declaration void setup() void loop()dinsdag 11 september 12
  18. 18. Digital In and Output (I/O) pinMode(#, OUTPUT); pinMode(#, INPUT); digitalWrite(#, HIGH); Set a pin state: HIGH or LOW digitalRead(#); Read out a pin state: HIGH or LOWdinsdag 11 september 12
  19. 19. Analog to digital 0 to 5V = resolution of 0 to 1023 analogRead(A#);dinsdag 11 september 12
  20. 20. AnalogOut ? Lets use PWM PWM or Pulse Width Modulation analogWrite(#,value); Value: 0(0%) to 255 (100%) Use : dimming leds, generate audio waves, controlling servo and speed of motorsdinsdag 11 september 12
  21. 21. Communication Serial connection to computer, 7 segment displays SPI ethernet shield, SD-card I2C sensors, eeprom, slave arduinodinsdag 11 september 12
  22. 22. Arduino Interupt magic Do something when you where doing something else, controlled by a input Hardware interrupts on pin 2 & 3dinsdag 11 september 12
  23. 23. Arduino the Limitations Program size is limited to 28KB Limited amount of pins 16 MHz clockspeeddinsdag 11 september 12
  24. 24. User casesdinsdag 11 september 12
  25. 25. CM stressgame 60 leds 3 IO inputs 1 analog potentiometer Sound outdinsdag 11 september 12
  26. 26. Solutions 60 leds in a matrix with shift registers 2 interrupts to detect touch 1 analog read of potentiometer ( linear ) second arduino for sounddinsdag 11 september 12
  27. 27. Electrofried shocking game 2 buttons 10.000 volt shockdinsdag 11 september 12
  28. 28. OfficeDuino ethernet connection Power control 3 PWM signals 2 on/off states Current sensor temperature sensordinsdag 11 september 12
  29. 29. Arduino Jam: Nipkow discdinsdag 11 september 12
  30. 30. Arduino Jam: Reversed GeoCachdinsdag 11 september 12
  31. 31. So prototyping some Interactive Interfaces with Arduino? YES It’s cheap Easy to learn Prototyping can be done very fast And it can flydinsdag 11 september 12
  32. 32. Thanks for listeningdinsdag 11 september 12
  33. 33. ARDUINO JAM 21 - 23 sept 2012 @ timelab Ghent www.arduino-jam.orgdinsdag 11 september 12

×