Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Raspberry Pi

Raspberry Pi

Nerds best sextoy ever

Ronan Guilloux

February 10, 2013
Tweet

More Decks by Ronan Guilloux

Other Decks in How-to & DIY

Transcript

  1. RASPBERRY PI
    NERD'S BEST SEXTOY EVER
    www.raspberrypi.org
    #raspi

    View Slide

  2. /me
    "First Jeudi Nantes"
    Appreciation Society Member
    since 2009
    v
    a
    r m
    e = {
    "
    u
    s
    e
    r
    "
    : "
    R
    o
    n
    a
    n
    "
    , "
    a
    g
    e
    "
    : 3
    5
    , "
    o
    r
    i
    g
    i
    n
    "
    : "
    B
    r
    i
    t
    t
    a
    n
    y
    "
    , "
    t
    w
    i
    t
    t
    e
    r
    "
    : "
    @
    a
    r
    n
    o
    _
    u
    _
    l
    o
    g
    i
    n
    l
    u
    x
    "
    , "
    r
    e
    p
    o
    "
    : "
    g
    i
    t
    h
    u
    b
    .
    c
    o
    m
    /
    r
    o
    n
    a
    n
    g
    u
    i
    l
    l
    o
    u
    x
    "
    , "
    w
    o
    r
    k
    "
    : "
    c
    t
    o
    @
    t
    o
    o
    g
    .
    f
    r
    "
    , "
    t
    a
    g
    s
    "
    : [
    "
    d
    a
    d
    "
    , "
    b
    e
    a
    r
    d
    e
    d w
    e
    b d
    e
    v
    e
    l
    o
    p
    e
    r
    "
    , "
    f
    o
    s
    s
    "
    ]
    }

    View Slide

  3. View Slide

  4. MEET THE RASPBERRY PI
    So this is how it started:
    I bought a Rasberry Pi.

    View Slide

  5. MEET THE RASPBERRY PI

    View Slide

  6. View Slide

  7. WHAT’S A RASPBERRY PI?
    “ The Raspberry Pi is a credit-card sized
    computer that plugs into your TV and a
    keyboard. It’s a capable little PC which can
    be used for many of the things that your
    desktop PC does, like spreadsheets, word-
    processing and games. It also plays high-
    definition video. We want to see it being
    used by kids all over the world to learn
    (python) programming. ”

    View Slide

  8. MEET THE RASPBERRY PI
    not an open hardware (who care? @unixgarden)
    700MHz ARM1176JZFS
    processor with and
    GPU provides Open GL ES 2.0, hardware-accelerated
    OpenVG, and 1080p30 H.264 high-profile decode
    GPU is capable of 1Gpixel/s, 1.5Gtexel/s or 24GFLOPs
    with texture filtering and
    ping
    Broadcom BCM2835
    FPU Videocore 4 GPU
    DMA infrastructure

    View Slide

  9. MEET THE RASPBERRY PI
    SDRAM 512 Megabytes (MiB)
    Boots from SD card, running
    or
    GNU/Linux based distributions
    Also: Fedora, Gentoo, Slackware, Firefox OS, Android
    10/100 BaseT Ethernet socket
    Video outputs: Composite RCA, HDMI
    Audio outputs: 3.5 mm jack, HDMI
    Onboard storage: SD, MMC, SDIO card slot
    Debian-based Raspbian “wheezy” Arch Linux ARM

    View Slide

  10. MEET THE RASPBERRY PI
    Note the csi connector pins for digital camera!

    View Slide

  11. MANUFACTURED IN EUROPE!
    Raspi are manufactured in the UK,
    at Sony's manufacturing facility in Pencoed, Wales.
    1 million sold in 2012.

    View Slide

  12. GPIO PINS!

    View Slide

  13. #RASPI FOR IMPATIENTS
    WHERE CAN I BUY ONE?
    32.88 €
    (27.40 € exc. VAT)
    Power supply or SD cards are not included
    @ Farnell / Element14
    @ RS Online

    View Slide

  14. #RASPI FOR IMPATIENTS
    ESSENTIAL ACCESSORIES
    a regular 5V / 1A smartphone charger
    with mini micro USB cable

    View Slide

  15. #RASPI FOR IMPATIENTS
    ESSENTIAL ACCESSORIES
    a regular USB Wireless Dongle

    View Slide

  16. #RASPI FOR IMPATIENTS
    ESSENTIAL ACCESSORIES
    a SD CARD

    View Slide

  17. #RASPI FOR IMPATIENTS
    ESSENTIAL ACCESSORIES
    (optional) a USB flash drive
    Mind the box case!

    View Slide

  18. #RASPI FOR IMPATIENTS
    ESSENTIAL ACCESSORIES
    a box case!

    View Slide

  19. WILL MY USB WEBCAM FIT?
    check the community documentation:
    keyboards, bluetooth dongles, soundcards, 3G, IR, GPS, HDMI/DVI/VGA cables & converter
    boxes, webcams, TV tuners,...
    http://elinux.org/RPi_VerifiedPeripherals

    View Slide

  20. SCREEN ?
    To buy one of these monitors, search eBay for "Car TFT" and there will be loads of results. It
    should cost about £10 ($16). It requires a 12V power supply, since it is designed to be powered
    by a car battery, but you can power it with a regular power adaptor.

    View Slide

  21. CASES, ANYONE?

    View Slide

  22. CASES
    Note the handy slot for the 26-pin IDC cable!

    View Slide

  23. CASES

    View Slide

  24. CASES

    View Slide

  25. CASES

    View Slide

  26. CASES

    View Slide

  27. CASES

    View Slide

  28. CASES

    View Slide

  29. CASES

    View Slide

  30. CASES
    Playing cards box is exactly the right size!

    View Slide

  31. CASES

    View Slide

  32. CASES

    View Slide

  33. CASES
    HOME PRINTABLE CARDBOARD CASES

    View Slide

  34. CASES
    HOME PRINTABLE CARDBOARD CASES

    View Slide

  35. WAIT A MINUTE...
    WHERE THE HELL DID THAT COME FROM?

    View Slide

  36. MICROCONTROLLERS

    View Slide

  37. ARDUINO (& ARDUINO-LIKE MC)
    “ Arduino is a tool for making computers
    that can sense and control more of the
    physical world than your desktop
    computer. It's an open-source physical
    computing platform (...), and a
    development environment for writing

    View Slide

  38. software for the board. ”

    View Slide

  39. ARM CPU
    “ In 2011: 95% of smartphones, 90% of
    hard disk drives, 40% of digital televisions
    and set-top boxes, 15% of microcontrollers
    and 20% of mobile computers ”

    View Slide

  40. HOW MANY ARM CORES
    HAVE YOU GOT AT HOME?
    Microsoft Surface, ASUS Eee Pad, Apple iPads, iPhones &
    iPods, Samsung Galaxy S II &III, Google Nexus 10, Google
    Chrome Book, Blackberry smartphones, Canon
    PowerShot A470 digital camera, Nintendo DS game
    console, TomTom GPS...

    View Slide

  41. WAIT A MINUTE...
    WHO DID?
    WHO INSPIRED?
    WHO BUY?

    View Slide

  42. THE JOY OF DIY
    Texas, 1942 (Wikimedia Commons)

    View Slide

  43. "MAKERS?"
    maker [ˈmeɪkә] - n.
    Cory Doctorow, , October 2009,
    related: Dreamers, scientists, hackers, self-replicators,
    teachers, troublemakers, laser-lovers, scouts
    “people who hack hardware, business-
    models, and living arrangements to
    discover ways of staying alive and happy
    even when the economy is falling down the
    toilet. ”
    Makers [read it for free]

    View Slide

  44. View Slide

  45. "MAKER SUBCULTURE?"
    related: DIY, electronics, robotics, 3-D printing, home-
    automation / domotique, open-source-hardware, fablabs,
    cnc tools, metalworking, woodworking, knitting,
    traditional arts and crafts, no-patents
    “ The maker subculture is a contemporary
    subculture, representing a technology-
    based extension of DIY culture. ”

    View Slide

  46. OMG, I SEE MAKERS EVERYWHERE!
    places to meet makers: (
    , ), ,
    magazines: , , ,
    , (US: 1902, France: 1946)
    Pinterest-like websites: ,
    hackerspaces / makespaces
    60+ in France 2+ in Nantes techshops makers faire
    Wired Lifehacker MAKE magazine
    Instructables Popular Mechanics
    diy.org thingiverse.com

    View Slide

  47. OMG, I SEE MAKERS MARKETPLACES
    EVERYWHERE!
    dedicated online marketplaces: ,
    makers favorite crowd funding websites:
    , , ,
    ...
    online sharing tools : , ,
    , ,
    tindie.com etsy.com
    kickstarter.com quirky.com indiegogo.com
    ulule.com
    circuitbee.com circuits.io
    dz863.com upverter.com circuitlab.com

    View Slide

  48. MAKERS GO MAINSTREAM
    Yet-another-revolution-gone-bankable

    View Slide

  49. “ Just as the Web ended the monopoly of
    mass media, so it is now ending the
    monopoly of mass manufacturing. Over
    the next ten years, Anderson explains,
    countless micro-manufacturers, based on
    open-source design and DIY
    manufacturing, will help drive the next big
    movement in the global economy as the
    power of bytes—the Long Tail—is
    transformed into the power to make things
    again, the Long Tail of things. ”

    View Slide

  50. @GOOGLETALKS
    SHOWTIME (1:23:33)
    Chris Anderson (formally of ) speaks about
    his new book Makers: The New Industrial Revolution
    WIRED

    View Slide

  51. CONCLUSIONS SO FAR
    Raspberry PI is a hackable device: 1st value is
    software and hardware hackability
    probably NSFW & not scalable AT ALL
    hobbyist & educational purposes FTW
    domestic robots, electronic breadboard & any pet
    projects that need CPU

    View Slide

  52. & WHY NOT...
    home automation
    domestic server
    corporate, HTML5-friendly visual
    interactive kiosks
    public screens
    artistic performances devices
    (cheap & tiny) museums 2.0 device
    dashboards

    View Slide

  53. OK,
    I'M A NERD,
    SHOW ME ALL THE
    MIND-BLOWING STUFF!

    View Slide

  54. SOUNDS & NOISES
    # a G
    N
    U
    /
    L
    i
    n
    u
    x s
    o
    u
    n
    d d
    r
    i
    v
    e
    r + n
    o
    n
    -
    f
    r
    e
    e M
    P
    E
    G s
    t
    r
    e
    a
    m a
    u
    d
    i
    o p
    l
    a
    y
    e
    r
    $ s
    u
    d
    o a
    p
    t
    -
    g
    e
    t i
    n
    s
    t
    a
    l
    l a
    l
    s
    a
    -
    u
    t
    i
    l
    s m
    p
    g
    3
    2
    1
    # l
    o
    a
    d t
    h
    e K
    e
    r
    n
    e
    l m
    o
    d
    u
    l
    e
    :
    $ s
    u
    d
    o m
    o
    d
    p
    r
    o
    b
    e s
    n
    d
    -
    b
    c
    m
    2
    8
    3
    # "
    1
    " s
    t
    a
    n
    d
    s f
    o
    r a
    n
    a
    l
    o
    g (
    j
    a
    c
    k
    ) o
    u
    t
    p
    u
    t
    . 0
    =
    a
    u
    t
    o
    , 1
    =
    a
    n
    a
    l
    o
    g
    , 2
    =
    h
    d
    m
    i
    $ s
    u
    d
    o a
    m
    i
    x
    e
    r c
    s
    e
    t n
    u
    m
    i
    d
    =
    3 1
    # P
    l
    a
    y w
    a
    v & m
    p
    3 f
    i
    l
    e
    s
    ! (
    w
    a
    r
    n
    : c
    r
    a
    p
    p
    y j
    a
    c
    k o
    u
    t
    p
    u
    t s
    o
    u
    n
    d
    )
    $ c
    u
    r
    l h
    t
    t
    p
    :
    /
    /
    w
    w
    w
    .
    f
    r
    e
    e
    s
    p
    e
    c
    i
    a
    l
    e
    f
    f
    e
    c
    t
    s
    .
    c
    o
    .
    u
    k
    /
    s
    o
    u
    n
    d
    f
    x
    /
    s
    i
    r
    e
    n
    s
    /
    p
    o
    l
    i
    c
    e
    _
    s
    .
    w
    a
    v -
    O
    $ s
    u
    d
    o a
    p
    l
    a
    y p
    o
    l
    i
    c
    e
    _
    s
    .
    w
    a
    v
    $ c
    u
    r
    l h
    t
    t
    p
    :
    /
    /
    w
    w
    w
    .
    h
    o
    c
    h
    m
    u
    t
    h
    .
    c
    o
    m
    /
    m
    p
    3
    /
    B
    e
    e
    t
    h
    o
    v
    e
    n
    _
    1
    2
    _
    V
    a
    r
    i
    a
    t
    i
    o
    n
    .
    m
    p
    3 -
    O
    $ s
    u
    d
    o m
    p
    g
    1
    2
    3 -
    v
    C B
    e
    e
    t
    h
    o
    v
    e
    n
    _
    1
    2
    _
    V
    a
    r
    i
    a
    t
    i
    o
    n
    .
    m
    p
    3

    View Slide

  55. MORE SOUNDS WITH GPIO! (DEMO)
    We use a Adafruit Pi Cobbler Breakout

    View Slide

  56. MORE SOUNDS WITH GPIO! (DEMO)

    View Slide

  57. 3.3v --> 10k Pull-up Resistor --> GPIO --> Button --> GND

    View Slide

  58. MORE SOUNDS WITH GPIO! (DEMO)

    View Slide

  59. Note the usefull labeled GPIO pins on the cobbler PCB

    View Slide

  60. MORE SOUNDS WITH GPIO! (VIDEO)
    Playing sounds and using buttons with Raspberry Pi

    View Slide

  61. PRACTICAL APP:
    THE ONE BUTTON AUDIOBOOK PLAYER
    “ “This little Raspberry Pi based project is a
    gift for my wife’s grandmother for her 90th
    birthday. Being visually impaired, she is
    hard to entertain but loves to listen to
    audiobooks. The problem is, that she isn’t
    able to handle a ghetto blaster or MP3
    player. The solution to this problem was –
    tadaaaah ”
    Read more

    View Slide

  62. PRACTICAL APP:
    THE ONE BUTTON AUDIOBOOK PLAYER
    See video demo

    View Slide

  63. PRACTICAL APP: (DEMO)
    RASPBERRY HAL 9000
    2001: A Space Odyssey

    View Slide

  64. PRACTICAL APP: (DEMO)
    the Google way
    RASPBERRY HAL 9000
    #
    !
    /
    b
    i
    n
    /
    b
    a
    s
    h
    # s
    p
    e
    a
    k
    .
    s
    h (
    t
    o c
    h
    m
    o
    d a
    +
    x
    )
    s
    a
    y
    (
    ) { l
    o
    c
    a
    l I
    F
    S
    =
    +
    ;
    /
    u
    s
    r
    /
    b
    i
    n
    /
    m
    p
    l
    a
    y
    e
    r -
    a
    o a
    l
    s
    a -
    r
    e
    a
    l
    l
    y
    -
    q
    u
    i
    e
    t -
    n
    o
    c
    o
    n
    s
    o
    l
    e
    c
    o
    n
    t
    r
    o
    l
    s "
    h
    t
    t
    p
    :
    /
    /
    t
    r
    a
    n
    s
    l
    a
    t
    e
    .
    g
    o
    o
    g
    l
    e
    .
    c
    o
    m
    /
    t
    r
    a
    n
    s
    l
    a
    t
    e
    _
    t
    t
    s
    ?
    t
    l
    =
    e
    n
    &
    q
    =
    $
    *
    "
    ; }
    s
    a
    y $
    *
    $ s
    u
    d
    o s
    u
    $ .
    /
    s
    p
    e
    a
    k "
    O
    p
    e
    n t
    h
    e p
    o
    d b
    a
    y d
    o
    o
    r
    s
    , H
    A
    L
    "

    View Slide

  65. PRACTICAL APP: (DEMO)
    the software way
    f
    e
    s
    t
    i
    v
    a
    l
    (MIT-like license) is part of the work at Carnegie Mellon University's
    speech group aimed at advancing the state of Speech Synthesis.
    RASPBERRY HAL 9000
    $ s
    u
    d
    o s
    u
    $ a
    p
    t
    -
    g
    e
    t i
    n
    s
    t
    a
    l
    l f
    e
    s
    t
    i
    v
    a
    l
    $ e
    c
    h
    o "
    I
    '
    m s
    o
    r
    r
    y D
    a
    v
    e
    , I
    '
    m a
    f
    r
    a
    i
    d I c
    a
    n
    '
    t d
    o t
    h
    a
    t
    " | f
    e
    s
    t
    i
    v
    a
    l -
    -
    t
    t
    s

    View Slide

  66. RFID & NFC APPS
    ,
    a tool for any 13.56MHz RFID or NFC application
    Adafruit PN532 breakout board

    View Slide

  67. View Slide

  68. RFID & NFC APPS
    (here done with Arduino & doable with Raspi)
    Cf. (2:30 & 5:57)
    learn.adafruit.com/babel-fish

    View Slide

  69. DIY PROJECTS THEY REALLY MADE
    WITH #RASPI

    View Slide

  70. 2012 INTERNET OF THINGS AWARD :
    The new e-Health sensor platform adds sensing capability for nine different biometric
    parameters, such as pulse, blood pressure, oxygen in blood (SPO2), electrocardiogram (EKG),
    airflow, glucometer, galvanic skin response (GSR), patient position and body temperature, to
    give the Arduino and Raspberry Pi Community a way to develop new e-Health applications and
    products.

    View Slide

  71. View Slide

  72. 2012 INTERNET OF THINGS AWARD :
    The new e-Health sensor platform adds sensing capability for nine different biometric
    parameters, such as pulse, blood pressure, oxygen in blood (SPO2), electrocardiogram (EKG),
    airflow, glucometer, galvanic skin response (GSR), patient position and body temperature, to
    give the Arduino and Raspberry Pi Community a way to develop new e-Health applications and
    products.

    View Slide

  73. GOOGLE CALENDAR, RASPBERRY PI AND
    LIGHTS ON / LIGHTS OFF

    View Slide

  74. GOOGLE CALENDAR, RASPBERRY PI AND
    LIGHTS ON / LIGHTS OFF
    Combining these ingredients:
    an Elro "Wireless Home Control" set
    a Raspberry Pi mini-computer
    some soldering
    some programming and
    Google Calendar
    = Have my lights switched on and off automatically based
    on a schedule I create in Google Calendar.

    View Slide

  75. SPOTIFY CLIENT
    See e
    See also: (python)
    how-to, using Despotify
    github.com/Hexxeh/spotify-websocket-api

    View Slide

  76. RASPBERRY STROGONANOFF
    A Raspberry Pi Remote Mains Switcher
    github.com/dmcg/raspberry-strogonanoff (python)

    View Slide

  77. CONTROLLING BIGTRACK MOTORS WITH MY
    RASPBERRY PI

    View Slide

  78. CONTROLLING BIGTRACK MOTORS WITH MY
    RASPBERRY PI
    Bread board
    Assortment of wires to connect everything together
    Soldering iron
    16 x header pins
    8 x 1N4001 diodes
    TB6612FNG Motor Driver (purchased mine from
    Raspberry Pi
    BigTrack
    Proto-Pic

    View Slide

  79. CONTROLLING BIGTRACK MOTORS WITH MY
    RASPBERRY PI

    View Slide

  80. CONTROLLING BIGTRACK MOTORS WITH MY
    RASPBERRY PI

    View Slide

  81. RC CARS!
    Also check
    aonsquared.co.uk/the_dark_pi_rises
    pi-cars.com

    View Slide

  82. DROOOOONES!
    See
    Also check
    &
    instructables.com/id/Picopter
    Tricopter with Picopter Flight Control - Fpv Flight
    Picopter code shared on Github

    View Slide

  83. AN APRS IGATE IMPLEMENTATION USING
    THE RASPBERRY-PI
    APRS ( ) is an amateur-radio based system for realtime
    communication using digital packets sent over radio links. I present here, an implementation of
    an APRS iGate using the Raspberry-Pi. An APRS iGate is an Internet gateway that gates
    packets from the radio/RF side to the APRS-IS on the Internet (and vice-versa). The APRS-IS is
    an Internet based network that connects APRS networks from all around the world and
    facilitates APRS applications (like realtime postion reporting of objects overlaid over google
    maps, see )
    Automatic Packet Reporting System
    aprs.fi

    View Slide

  84. GOING TO JAIL
    WITH RASPBERRY PI
    & A WIFI DONGLE
    PwnPi is a Linux-based penetration testing dropbox distribution for the Raspberry Pi. It
    currently has 200+ network security tools pre-installed to aid the penetration tester. It is built
    a stripped down version of the Debian Wheezy image from the Raspberry Pi foundation's
    website and uses Openbox as the window manager.

    View Slide

  85. MEET THE COMMUNITY
    RaspberryPi.org
    reddit.com/r/raspberry_pi
    raspberrypi.stackexchange.com
    twitter.com/hashtag/raspi
    Users near you! (Google Map)

    View Slide

  86. READ FREE MAGAZINES
    TheMagPi.com

    View Slide

  87. TONS OF FABULOUS
    WEEK-END PROJECTS TO ACHIEVE
    Learn.adafruit.com (tutorials+shop)
    Computer Laboratory, University of Cambridge:
    Raspberry Pi Tutorials

    View Slide

  88. HERE WE ARE!
    Questions ?
    This presentation is available on
    ronanguilloux.github.com/Raspberry-Pi-Presentation

    View Slide