Slide 1

Slide 1 text

hello world ! with Arduino ! Patrick Mulder! @mulpat Arduino User Group! October 2014

Slide 2

Slide 2 text

maker labs https://www.flickr.com/photos/leesean/3098869562 http://paulfurley.com/arduino-isnt-just-for-hackers/

Slide 3

Slide 3 text

Arduino origins http://www.reddit.com/r/arduino/comments/2ij0d5/ til_arduino_was_named_after_a_bar_in_ivrea_italy/

Slide 4

Slide 4 text

The last meetups…

Slide 5

Slide 5 text

new browser controls https://www.flickr.com/photos/frenchhope/317111231 https://www.flickr.com/photos/bagogames/14073389239

Slide 6

Slide 6 text

vehicles

Slide 7

Slide 7 text

smell detection

Slide 8

Slide 8 text

roboshock

Slide 9

Slide 9 text

CNC

Slide 10

Slide 10 text

Reminder: Make Munich http://annablumenkranz.blogspot.de/2014/08/getting-ready-for-make-munich-2014.html

Slide 11

Slide 11 text

Arduino = ! hardware x software Getting started…

Slide 12

Slide 12 text

Hardware

Slide 13

Slide 13 text

many types

Slide 14

Slide 14 text

Arduino UNO MPU Digital Pins Analog Pins USB Power Pins

Slide 15

Slide 15 text

pinboardjs

Slide 16

Slide 16 text

Atmel micro controller 8-bit 16 MHz ATmega328 5V supply Flash: 32 KB

Slide 17

Slide 17 text

Power Pins/GND !! don’t connect GND with 5V

Slide 18

Slide 18 text

Digital IO setPinMode(pin, OUTPUT);

Slide 19

Slide 19 text

PWM output analogWrite(pin, OUTPUT);

Slide 20

Slide 20 text

Analog Input analogRead(pin, OUTPUT);

Slide 21

Slide 21 text

Communication USB/UART Serial.begin(9600);

Slide 22

Slide 22 text

Arduino! software

Slide 23

Slide 23 text

a “typical” project configuration blocking! code Processing IDE sketch

Slide 24

Slide 24 text

Embedded C/C++ void setup() {! pinMode(led, OUTPUT);! }! ! void loop() {! digitalWrite(led, HIGH);! delay(300);! digitalWrite(led, LOW); ! delay(2700); ! }

Slide 25

Slide 25 text

firmata protocol led = new five.Led({! pin: 13! });! ! led.on();! ! this.wait(2700, function() {! led.on();! }); host computer https://www.flickr.com/photos/nate/3081263606 Firmata /! serial port Arduino

Slide 26

Slide 26 text

“The aim is to allow people to completely control the Arduino from software on the host computer.” http://www.firmata.org/wiki/Main_Page