$30 off During Our Annual Pro Sale. View Details »

Arduino October meetup

mulderp
October 08, 2014

Arduino October meetup

slides from intro talk october

mulderp

October 08, 2014
Tweet

More Decks by mulderp

Other Decks in Technology

Transcript

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

    View Slide

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

    View Slide

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

    View Slide

  4. The last
    meetups…

    View Slide

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

    View Slide

  6. vehicles

    View Slide

  7. smell
    detection

    View Slide

  8. roboshock

    View Slide

  9. CNC

    View Slide

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

    View Slide

  11. Arduino = !
    hardware x software
    Getting started…

    View Slide

  12. Hardware

    View Slide

  13. many
    types

    View Slide

  14. Arduino UNO
    MPU
    Digital
    Pins
    Analog
    Pins
    USB
    Power
    Pins

    View Slide

  15. pinboardjs

    View Slide

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

    View Slide

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

    View Slide

  18. Digital IO
    setPinMode(pin, OUTPUT);

    View Slide

  19. PWM output
    analogWrite(pin, OUTPUT);

    View Slide

  20. Analog Input
    analogRead(pin, OUTPUT);

    View Slide

  21. Communication
    USB/UART
    Serial.begin(9600);

    View Slide

  22. Arduino!
    software

    View Slide

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

    View Slide

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

    View Slide

  25. 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

    View Slide

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

    View Slide