Raspberry pi - Les utilisations
Le Hardware
- Les I/O
- Le GPIO
- L'USB
- La PiCam
- Les écran
Le software
- Les OS
- Les utilitaires
Les applications concrètes
Raspberry Pi – Les I/O
●GPIO
●USB
●Ethernet (Wifi/BT)
●Port caméra
●Port vidéo
–Embedded
–HDMI
–Composite (RCA)
●Audio
Raspberry Pi = Module électronique
Raspberry Pi - GPIO
●GPIO (General Purpose Input/Output)
–26/40 broches
–Alim 3,3v/5v
–8-17 3,3v I/O
–I2C
–SPI
–UART
Raspberry Pi - GPIO
●Les « shields »
–PiFace
–Prototypage
–Connectique (Pi Cobbler)
Raspberry Pi - GPIO
●Example
–Piface
–Python 3
–Librairie PiFaceDigital
Raspberry Pi - USB
●2 ou 4 ports par Raspberry Pi
●USB 2.0
●Tout périphériques
–Claviers/souris
–Webcam
–Stockage
–...
Raspberry Pi – USB
●Example : Webcam de surveillance
–USB Webcam
–Service 'motion'
Raspberry Pi – Caméra
●Résolution de 1080p
●Compatible sur tous les Raspberry Pi (sauf 'Zéro')
●2 versions
–Normal
–NoIR (Infrarouge)
Raspberry Pi - Caméra
●Caméra
●'Raspivid' pour la capture
●Vlc pour le stream et codage mpeg4
Raspberry Pi – Les écrans
●HDMI
●Composite (RCA)
●Embedded
Raspberry Pi – Les OS
●Le classique : Raspbian
–Base Debian
–Inclus les drivers pour Raspberry Pi
–Utilisation des ressources optimisée
–Version 'Desktop' ou 'console'
Raspberry Pi – Les OS
●Les autres classiques
–Ubuntu Mate
–Snappy Ubuntu core
–Windows 10 IoT
–OpenElec
–RiscOS
–…
Raspberry Pi – Les OS
Raspberry Pi – Les OS
●OpenElec (Kodi)
●OSMC (ex-RaspBMC)
●Xbian (Kodi)
Raspberry Pi – NOOBS
●New Out Of the Box Software
–Raspbian
–Pidora
–OpenELEC
–OSMC
–RISC OS
–Arch Linux
Raspberry Pi – Les utilitaires
●Raspbian = Debian ?
●Quid des paquets ? Shell ? Apache ? …
●'apt-get' ou 'make'
●Quelques applications
–Poste de bureau
–Serveur web
–Domotique
–...
Raspberry Pi – Les utilitaires
●Raspbian (console)
●Script Shell
–Uptime
–Speedtest
●Tâche cron
●LAMP
–Chart.js
https://gist.github.com/Dergonic/f658032c831e2d2dae63c670d5173c27
https://gist.github.com/Dergonic/e6270497cff56d5445ab
Raspberry Pi – Applications concrètes
●Date et heure
●Météo
●Monitoring
–Nas
–TeamSpeak
–Bande passante
●Flux RSS
●Calendrier iCal
http://www.magdiblog.fr/boa-pi-homedashscreen/1-raspberry-pi-home-dash-screen/
Raspberry Pi – Applications concrètes
●Self-hosted (privacy)
●Web interface
●Synchronisation, partage
●Multi-device
●Alternative à Dropbox, Google Drive
Raspberry Pi – Applications concrètes
●Example 2 : CIRClean
https://www.circl.lu/projects/CIRCLean/ https://github.com/CIRCL/Circlean
Raspberry Pi - PiTruck
●Le hardware
–Raspberry Pi 2
–Adafruit PCA9685
–Power adapter
–Edimax Wifi adapter
●Le software
–Raspbian (console)
–Node Js
●Npm - Socket.io
●Npm - Onoff : gestion des GPIO
●https://github.com/johntreacy/adafruit-pca9685
–OpenCV (Futur)
Raspberry Pi - PiTruck
●Tamiya Man
–Propulsion
–Direction
–Boite de vitesse
–Éclairage
Raspberry Pi - PiTruck
●Adafruit PCA9685
–I2C
–16 Sortie servo
–Alimentation externe
Raspberry Pi - PiTruck
●Power Adapter
–5V 2A dc output
–4,5V-40V dc input
–Indicateur de tension
Raspberry Pi - PiTruck
●Le circuit de protection
–Optocoupleur 4N25
–Protection du GPIO
–Alimentation par le Rpi ou externe
Raspberry Pi - PiTruck
●Le Code
–Node.JS
–Express
–Socket.io
–OnOff
–Librairie PCA9685*
(*) https://github.com/johntreacy/adafruit-pca9685
Raspberry Pi - PiTruck
●LAMP
●jQuery
●Bootstrap
Raspberry Pi - Ressources
●https://www.raspberrypi.org/
●http://www.framboise314.fr/
●http://raspbian-france.fr/
●https://www.adafruit.com/ (shop)
●http://www.kubii.fr/ (shop)

Raspberry Pi: Les utilisations

  • 1.
    Raspberry pi -Les utilisations Le Hardware - Les I/O - Le GPIO - L'USB - La PiCam - Les écran Le software - Les OS - Les utilitaires Les applications concrètes
  • 2.
    Raspberry Pi –Les I/O ●GPIO ●USB ●Ethernet (Wifi/BT) ●Port caméra ●Port vidéo –Embedded –HDMI –Composite (RCA) ●Audio Raspberry Pi = Module électronique
  • 3.
    Raspberry Pi -GPIO ●GPIO (General Purpose Input/Output) –26/40 broches –Alim 3,3v/5v –8-17 3,3v I/O –I2C –SPI –UART
  • 4.
    Raspberry Pi -GPIO ●Les « shields » –PiFace –Prototypage –Connectique (Pi Cobbler)
  • 5.
    Raspberry Pi -GPIO ●Example –Piface –Python 3 –Librairie PiFaceDigital
  • 6.
    Raspberry Pi -USB ●2 ou 4 ports par Raspberry Pi ●USB 2.0 ●Tout périphériques –Claviers/souris –Webcam –Stockage –...
  • 7.
    Raspberry Pi –USB ●Example : Webcam de surveillance –USB Webcam –Service 'motion'
  • 8.
    Raspberry Pi –Caméra ●Résolution de 1080p ●Compatible sur tous les Raspberry Pi (sauf 'Zéro') ●2 versions –Normal –NoIR (Infrarouge)
  • 9.
    Raspberry Pi -Caméra ●Caméra ●'Raspivid' pour la capture ●Vlc pour le stream et codage mpeg4
  • 10.
    Raspberry Pi –Les écrans ●HDMI ●Composite (RCA) ●Embedded
  • 11.
    Raspberry Pi –Les OS ●Le classique : Raspbian –Base Debian –Inclus les drivers pour Raspberry Pi –Utilisation des ressources optimisée –Version 'Desktop' ou 'console'
  • 12.
    Raspberry Pi –Les OS ●Les autres classiques –Ubuntu Mate –Snappy Ubuntu core –Windows 10 IoT –OpenElec –RiscOS –…
  • 13.
  • 14.
    Raspberry Pi –Les OS ●OpenElec (Kodi) ●OSMC (ex-RaspBMC) ●Xbian (Kodi)
  • 15.
    Raspberry Pi –NOOBS ●New Out Of the Box Software –Raspbian –Pidora –OpenELEC –OSMC –RISC OS –Arch Linux
  • 16.
    Raspberry Pi –Les utilitaires ●Raspbian = Debian ? ●Quid des paquets ? Shell ? Apache ? … ●'apt-get' ou 'make' ●Quelques applications –Poste de bureau –Serveur web –Domotique –...
  • 17.
    Raspberry Pi –Les utilitaires ●Raspbian (console) ●Script Shell –Uptime –Speedtest ●Tâche cron ●LAMP –Chart.js https://gist.github.com/Dergonic/f658032c831e2d2dae63c670d5173c27 https://gist.github.com/Dergonic/e6270497cff56d5445ab
  • 18.
    Raspberry Pi –Applications concrètes ●Date et heure ●Météo ●Monitoring –Nas –TeamSpeak –Bande passante ●Flux RSS ●Calendrier iCal http://www.magdiblog.fr/boa-pi-homedashscreen/1-raspberry-pi-home-dash-screen/
  • 19.
    Raspberry Pi –Applications concrètes ●Self-hosted (privacy) ●Web interface ●Synchronisation, partage ●Multi-device ●Alternative à Dropbox, Google Drive
  • 20.
    Raspberry Pi –Applications concrètes ●Example 2 : CIRClean https://www.circl.lu/projects/CIRCLean/ https://github.com/CIRCL/Circlean
  • 21.
    Raspberry Pi -PiTruck ●Le hardware –Raspberry Pi 2 –Adafruit PCA9685 –Power adapter –Edimax Wifi adapter ●Le software –Raspbian (console) –Node Js ●Npm - Socket.io ●Npm - Onoff : gestion des GPIO ●https://github.com/johntreacy/adafruit-pca9685 –OpenCV (Futur)
  • 22.
    Raspberry Pi -PiTruck ●Tamiya Man –Propulsion –Direction –Boite de vitesse –Éclairage
  • 23.
    Raspberry Pi -PiTruck ●Adafruit PCA9685 –I2C –16 Sortie servo –Alimentation externe
  • 24.
    Raspberry Pi -PiTruck ●Power Adapter –5V 2A dc output –4,5V-40V dc input –Indicateur de tension
  • 25.
    Raspberry Pi -PiTruck ●Le circuit de protection –Optocoupleur 4N25 –Protection du GPIO –Alimentation par le Rpi ou externe
  • 26.
    Raspberry Pi -PiTruck ●Le Code –Node.JS –Express –Socket.io –OnOff –Librairie PCA9685* (*) https://github.com/johntreacy/adafruit-pca9685
  • 27.
    Raspberry Pi -PiTruck ●LAMP ●jQuery ●Bootstrap
  • 28.
    Raspberry Pi -Ressources ●https://www.raspberrypi.org/ ●http://www.framboise314.fr/ ●http://raspbian-france.fr/ ●https://www.adafruit.com/ (shop) ●http://www.kubii.fr/ (shop)