Raspberry Pi

Logo SVG

Nerd's best sextoy ever

www.raspberrypi.org
#raspi

/me

 

var me = {
    "user": "Ronan"
    , "age": 35
    , "origin": "Brittany"
    , "twitter": "@arno_u_loginlux"
    , "repo": "github.com/ronanguilloux"
    , "work": "cto@toog.fr"
    , "tags": [
        "dad"
        , "bearded web developer"
        , "foss"
    ]
}


"First Jeudi Nantes"
Appreciation Society Member

since 2009

Meet the raspberry Pi

So this is how it started:
I bought a Rasberry Pi.

Meet the raspberry Pi

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.

Meet the raspberry Pi

  • not an open hardware (who care? ping @unixgarden)
  • Broadcom BCM2835 700MHz ARM1176JZFS processor with FPU and Videocore 4 GPU
  • 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 DMA infrastructure

Meet the raspberry Pi

  • SDRAM 512 Megabytes (MiB)
  • Boots from SD card, running Debian-based Raspbian “wheezy” or Arch Linux ARM 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

Meet the raspberry Pi

Note the csi connector pins for digital camera!

Manufactured in Europe!

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

GPIO pins!

#raspi for impatients

Where can I buy one?


32.88 €

(27.40 € exc. VAT)

Power supply or SD cards are not included

#raspi for impatients

Essential accessories

a regular 5V / 1A smartphone charger
with mini micro USB cable

#raspi for impatients

Essential accessories

a regular USB Wireless Dongle

#raspi for impatients

Essential accessories

a SD CARD

#raspi for impatients

Essential accessories

(optional) a USB flash drive
Mind the box case!

#raspi for impatients

Essential accessories

a box case!

Will my USB Webcam fit?

 

check the community documentation:

 

http://elinux.org/RPi_VerifiedPeripherals

 

keyboards, bluetooth dongles, soundcards, 3G, IR, GPS, HDMI/DVI/VGA cables & converter boxes, webcams, TV tuners,...

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.

Cases, anyone?

Cases

Adafruit case

Note the handy slot for the 26-pin IDC cable!

Cases

Cases

wooden cases

Cases

Cases

Cases

Cases

Cases

Cases

Playing cards box is exactly the right size!

Cases

Cases

Cases

home printable cardboard cases

Cases

home printable cardboard cases

Wait a minute...

 

Where the hell did that come from?

microcontrollers

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 software for the board.

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

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

Wait a minute...

 

Who did?
Who inspired?
Who buy?

The Joy of DIY

Texas, 1942 (Wikimedia Commons)

"Makers?"

 

maker [ˈmeɪkə] - n.
 

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.

Cory Doctorow, Makers, October 2009, [read it for free]

 

related: Dreamers, scientists, hackers, self-replicators, teachers, troublemakers, laser-lovers, scouts

"Maker subculture?"

 

The maker subculture is a contemporary subculture, representing a technology-based extension of DIY culture.

 

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

OMG, I see makers everywhere!

OMG, I see makers marketplaces everywhere!

Makers go mainstream

Yet-another-revolution-gone-bankable

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.

@GoogleTalks

showtime (1:23:33)

Chris Anderson (formally of WIRED) speaks about
his new book Makers: The New Industrial Revolution

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

& why not...

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

OK,

I'm a nerd,

show me all the

mind-blowing stuff!

Sounds & noises


# a GNU/Linux sound driver + non-free MPEG stream audio player
$ sudo apt-get install alsa-utils mpg321

# load the Kernel module:
$ sudo modprobe snd-bcm283

# "1" stands for analog (jack) output. 0=auto, 1=analog, 2=hdmi
$ sudo amixer cset numid=3 1

# Play wav & mp3 files! (warn: crappy jack output sound)
$ curl http://www.freespecialeffects.co.uk/soundfx/sirens/police_s.wav -O
$ sudo aplay police_s.wav
$ curl http://www.hochmuth.com/mp3/Beethoven_12_Variation.mp3 -O
$ sudo mpg123 -vC Beethoven_12_Variation.mp3
						

More sounds with GPIO! (demo)

We use a Adafruit Pi Cobbler Breakout

More sounds with GPIO! (demo)

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

More sounds with GPIO! (demo)

Note the usefull labeled GPIO pins on the cobbler PCB

More sounds with GPIO! (video)

Playing sounds and using buttons with Raspberry Pi

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

Practical app:
The One Button Audiobook Player

See video demo

Practical app: (demo)
Raspberry HAL 9000

2001: A Space Odyssey

Practical app: (demo)
Raspberry HAL 9000

 

the Google way

 


#!/bin/bash
# speak.sh (to chmod a+x)
say() { local IFS=+;/usr/bin/mplayer -ao alsa -really-quiet -noconsolecontrols "http://translate.google.com/translate_tts?tl=en&q=$*"; }
say $*

$ sudo su
$ ./speak "Open the pod bay doors, HAL"

Practical app: (demo)
Raspberry HAL 9000

 

the software way

 

festival (MIT-like license) is part of the work at Carnegie Mellon University's
speech group aimed at advancing the state of Speech Synthesis.


$ sudo su
$ apt-get install festival
$ echo "I'm sorry Dave, I'm afraid I can't do that" | festival --tts

RFID & NFC apps

Adafruit PN532 breakout board,
a tool for any 13.56MHz RFID or NFC application

RFID & NFC apps

(here done with Arduino & doable with Raspi)

Cf. learn.adafruit.com/babel-fish (2:30 & 5:57)

DIY Projects they really made
with #raspi

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.

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.

Google Calendar, Raspberry Pi and Lights On / Lights Off

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.

Spotify client

See e how-to, using Despotify

See also: github.com/Hexxeh/spotify-websocket-api (python)

Raspberry Strogonanoff

A Raspberry Pi Remote Mains Switcher

github.com/dmcg/raspberry-strogonanoff (python)

Controlling BigTrack Motors with my Raspberry Pi

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 Proto-Pic
  • Raspberry Pi
  • BigTrack

Controlling BigTrack Motors with my Raspberry Pi

Controlling BigTrack Motors with my Raspberry Pi

RC Cars!

aonsquared.co.uk/the_dark_pi_rises
Also check pi-cars.com

Drooooones!

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

an APRS iGate implementation using the Raspberry-Pi

APRS (Automatic Packet Reporting System) 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 aprs.fi)

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.

Meet the community

Read free magazines

TheMagPi.com

Tons of fabulous
week-end projects to achieve

Here we are!

 

Questions ?

 

This presentation is available on ronanguilloux.github.com/Raspberry-Pi-Presentation