damgan...2019/07/23  · 2 installation de la raspbian déziper le fichier...

27
Projets Raspberry Damgan 23 juillet 2019

Upload: others

Post on 10-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

Projets Raspberry

Damgan

23 juillet 2019

Page 2: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

2

Installation de la raspbian

Déziper le fichier berryboot-20150916-pi2-only dans la carte SD

Insérer la carte dans la respbian

Connecter écran, clavier, souris, réseau et secteur au boitier

La carte démarre et propose l'installation de raspbian

Configurer le fuseau horaire et le type de clavier (europe/paris, fr)

Téléchargement et installation automatique de la raspbian

Un fois installée, rebooter la carte, le système est prêt à fonctionner.

Page 3: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

3

Serveur NAS

Page 4: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

4

Mini DLNAInstallation sudo apt-get install minidlna

Configuration

Démarrage

# service minidlna start

Upon the fist run, the media library will be built. This may take a while depending on how many files you have, once it's done you shouldn't have to do it again though.

Lancement au démarrage de la machine :

# update-rc.d minidlna defaults

sudo nano /etc/minidlna.conf

media_dir=A,/home/public/Music media_dir=P,/home/public/Pictures media_dir=V,/home/public/Videos friendly_name=Raspberry BC inotify=yes

Page 5: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

5

KODI

Page 6: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

6

Proftpd

Installation : sudo apt-get install proftpd

Configuration :/etc/proftpd/proftpd.conf

Client : gftp

Installation :sudo apt-get install gftp

UseIPv6 on ServerName "Debian" ServerType standalone

# Use this to jail all users in their homes DefaultRoot ~

Page 7: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

7

Serveur WEB apache2

Installation : apt-get install apache2

Configuration :/etc/apache2/conf-available/partage.conf

Lancement /etc/init.d/apache2 start/stop/restart/status

Alias /partage /home/partage <Directory /home/partage> Options FollowSymLinks Indexes MultiViews # DirectoryIndex index.php AllowOverride none #Order allow,deny #Allow from all Require all granted </Directory>

Page 8: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

8

Munin

Installation : sudo apt-get install munin

Visualisation : http://127.0.0.1/munin

cat /etc/apache2/conf-available/munin.confAlias /munin /var/cache/munin/www<Directory /var/cache/munin/www> Require local Options None</Directory>

ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph<Location /munin-cgi/munin-cgi-graph> Require local

<IfModule mod_fcgid.c> SetHandler fcgid-script</IfModule>

<IfModule !mod_fcgid.c> SetHandler cgi-script </IfModule></Location>

Page 9: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

9

Raspberry

https://sailoog.gitbooks.io/openplotter-documentation/content/en/getting_started.html

Page 10: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

10

GPIO (General Purpose Input/Output)Entrée-sortie à usage général

Page 11: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

11

Jeedomwget https://github.com/jeedom/core/tree/release/install

chmod +x install.sh

sudo ./install.sh

http://sarakha63-domotique.fr/jeedom-installation-premiers-pas/https://electrotoile.eu/jeedom_raspberry_raspbian.php

Page 12: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

12

Domoticz installation● installer le paquet : libusb-0,1,so,4 avec synaptic

● sudo cp domoticz.sh /etc/init.d/domoticz● sudo chmod +x /etc/init.d/domoticz● sudo update-rc.d domoticz defaults ● sudo systemctl daemon-reload

● Editer le script de démarrage: sudo nano /etc/init.d/domoticz● USERNAME=pi : Remplacer pi par votre nom d’utilisateur

● Démarrage et arrêt de domoticz● sudo /etc/init.d/domoticz start / stop / restart / status

● Accès à domoticz : http://127.0.0.1:8080

http://maroc-domotique.com/domoticz-installation-et-premiers-pas/https://www.wunderground.comhttps://www.domoticz.com/wiki/Install.txt#Ubuntu_.2F_Raspberry_Pi_.28wheezy.29

Modification Langue: menu « Setup » puis « Settings »

Dépendances :libusb-0.1-4bibliothèque de programmation de l'USB en espace utilisateur

Problème libcurl4 sur la 18,04/usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /home/bc/domoticz/domoticz)sudo apt-get install libcurl3

Page 13: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

13

Domoticz : capteurs carte mèreMatériel

Dispositifs

Page 14: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

14

Page 15: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

15

Relais, beeper, GPS, TNT

Relais : GPS :broche gnd : gnd 14 de la raspberry

broche du milieu : gpio 12 de la raspberry

Beeper : TNT :gnd sur gnd et le gpio su VCC

sudo apt-get install gpsd gpsd-clients(xgps ou cgps)

$> sudo service gpsd stop$> sudo gpsd -G /dev/ttyUSB0soit refaire la configuration de démarrage $> sudo dpkg-reconfigure gpsden mettant -G a l’étape 4

https://forum.ubuntu-fr.org/viewtopic.php?id=977251

sudo apt-get install dvb-appssudo apt-get install librtlsdr0 gr-osmosdrsudo apt-get install kaffeinesudo modprobe dvb-usb-rtl28xxu

w_scan -c FR -X > ~/channels.confvlc -vvv ~/channels.conf

Page 16: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

16

Domotique

Carte relais

Pour piloter les broches GPIO il faut utiliser la librairie Wiring PI

Page 17: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

17

Câblage de l’IMU, des capteurs d’environnement et sondes TempInertial measurement unit (centrale à inertie)

Protocole 1wire

If you want to change the GPIO pin:sudo nano /boot/config.txtAt the end of the file you should see a line like thisdtoverlay=w1-gpioreplace it bydtoverlay=w1-gpio,gpiopin=17 (broche 11)where x is your desired GPIO pin. Save and reset.

iwsensorsaddsensor id + nomgroup environmentkeys environment.inside.temperature

cat /sys/bus/w1/devices/28-051760ad81ff/w1_slave 6e 01 4b 46 7f ff 0c 10 ad : crc=ad YES6e 01 4b 46 7f ff 0c 10 ad t=22875

https://www.framboise314.fr/suivre-la-temperature-dun-nichoir-un-raspberry-pi-et-deux-sondes-ds18b20/

bus I2C ( Inter Integrated Circuit )

Outils pour communiquer avec les périphériques i2c en Python (python-smbus) et outils de diagnostic (i2c-tools) :sudo apt-get install -y python-smbus i2c-tools

tester si les modules sont bien chargéslsmod | grep i2c_

La commande i2cdetect permet de connaitre l’adresse du périphérique sur le bus i2c. Le bus i2c permet de connecter jusqu’à 255 appareils. Pour les Pi 3 et Pi 2 (modèles A, B, B+) et le Pi Zero : sudo i2cdetect -y 1

Page 18: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

18

Activer le bus i2c du Raspberry Pi 3 ou du Pi Zero Whttps://projetsdiy.fr/activer-bus-i2c-raspberry-pi-3-pi-zero-w/

sudo raspi-config

sudo rebootsudo apt-get install -y python-smbus i2c-toolspi@raspberrypi:~ $ lsmod | grep i2c_i2c_bcm2835 6433 0 i2c_dev 6642 0

i2cdetect permet de connaitre l’adresse du périphérique sur le bus i2c. Le bus i2c permet de connecter jusqu’à 255 appareils. Pour les Pi 3 et Pi 2 (modèles A, B, B+) et le Pi Zero, exécutezsudo i2cdetect -y 1

Page 19: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

19

Dupliquer sa télécommande

https://anderson69s.com/2015/08/04/raspberry-pi-dupliquer-sa-telecommande-ir/ https://carlarotwang.wordpress.com/2015/07/17/capturer-les-codes-ir-avec-un-raspberry/https://www.raspberrypi.org/forums/viewtopic.php?t=27417

Installer LIRC : Linux Infrared Remote Control :sudo apt-get install lircPour définir lirc_dev & lirc_rpi :sudo nano /etc/modulesEt rajoutez à la fin :lirc_devlirc_rpi gpio_in_pin=23 gpio_out_pin=22

Page 20: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

20

Codes touches télécommande

KEY_0KEY_102NDKEY_10CHANNELSDOWNKEY_10CHANNELSUPKEY_1KEY_2KEY_3KEY_4KEY_5KEY_6KEY_7KEY_8KEY_9KEY_AKEY_ABKEY_ADDRESSBOOKKEY_AGAINKEY_ALTERASEKEY_ANGLEKEY_APOSTROPHEKEY_ARCHIVEKEY_AUDIOKEY_AUXKEY_BKEY_BACKKEY_BACKSLASHKEY_BACKSPACEKEY_BASSBOOS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WIMAXKEY_WLANKEY_WORDPROCESSORKEY_WWWKEY_XKEY_XFERKEY_YKEY_YELLOWKEY_YENKEY_ZKEY_ZENKAKUHANKAKUKEY_ZOOMKEY_ZOOMINKEY_ZOOMOUTKEY_ZOOMRESETBTN_0BTN_1BTN_2BTN_3

BTN_4BTN_5BTN_6BTN_7BTN_8BTN_9BTN_ABTN_BBTN_BACKBTN_BASEBTN_BASE2BTN_BASE3BTN_BASE4BTN_BASE5BTN_BASE6BTN_CBTN_DEADBTN_DIGIBTN_EXTRABTN_FORWARDBTN_GAMEPADBTN_GEAR_DOWNBTN_GEAR_UPBTN_JOYSTICKBTN_LEFTBTN_MIDDLEBTN_MISCBTN_MODEBTN_MOUSEBTN_PINKIEBTN_RIGHTBTN_SELECTBTN_SIDEBTN_STARTBTN_STYLUSBTN_STYLUS2BTN_TASKBTN_THUMBBTN_THUMB2BTN_THUMBLBTN_THUMBRBTN_TLBTN_TL2BTN_TOOL_AIRBRUSHBTN_TOOL_BRUSHBTN_TOOL_DOUBLETAPBTN_TOOL_FINGERBTN_TOOL_LENSBTN_TOOL_MOUSEBTN_TOOL_PENBTN_TOOL_PENCILBTN_TOOL_QUADTAPBTN_TOOL_RUBBERBTN_TOOL_TRIPLETAPBTN_TOPBTN_TOP2BTN_TOUCHBTN_TRBTN_TR2BTN_TRIGGERBTN_WHEELBTN_XBTN_YBTN_Z

https://www.planete-domotique.com/blog/wp-content/uploads/2013/02/irrecord_command.txt

Page 21: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

21

Emetteur FMhttps://raspbian-france.fr/creer-votre-emetteur-radio-a-la-maison-avec-la-raspberry-pi/

Installation de PiFmRds dans le dossier /home/pi et Sox, ainsi que les dépendances :cd /home/pisudo apt-get install libav-tools sox oggfwdsudo apt-get install lame libsox-fmt-mp3sudo apt-get install libsndfile1-devsudo apt-get install gitgit clone https://github.com/ChristopheJacquet/PiFmRds.gitcd PiFmRds/srcmake cleanmakeTest d’émission sur la bande FM par défaut (107.9) :sudo ./pi_fm_rds

sox -t mp3 /home/pi/Music/*.mp3 -t wav - | sudo /home/pi/PiFmRds/src/pi_fm_rds -freq 107.9 -ps Toto -audio -sox -t mp3 http://www.listenlive.eu/rtl2.m3u -t wav - | sudo /home/pi/PiFmRds/src/pi_fm_rds -freq 107.9 -ps Toto -audio -

Page 22: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

22

Projet hardware

Raspberry pi3 pi zéro Arduino esp32

1WI2C

NomenclatureBrochagesProtocoles

C.I. OpenplotterDomoticz

Télécommande

gpio

kicad

Page 23: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

23

Programmer les cartes ESP32 avec l’IDE Arduinohttps://projetsdiy.fr/programmer-cartes-esp32-ide-arduino-macos-windows-arm-raspberry/

Page 24: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

24

Geekcreit® 16 In 1 Sensor Module Kit Laser Ultrasonic Obstacle Avoidance For Raspberry Pi 2 Pi2 Pi3 Carton Box Package

1 x capteur de température et d’humidité DHT11 (Pour une station météo)

1 x capteur infrarouge compatible mouvements humains (Pour allumer un appareil d’un geste)

1 x Un horloge RTC DS1302 (Pour programmer des éléments à heures données)

1 x Détecteur de pluie avec 2 accessoires (Pour une station météo)

1 x Détecteur de bruit (Le chien aboie, la Raspberry twitte)1 x Capteur Ultrason HC – SR04  (Pour calculer des distances)1 x Détecteur de flamme

(Un petit détecteur de feu maison ?)1 x Détecteur de lumière laser

(Pour créer une barrière invisible)1 x Photorésistance

(Dès qu’il fait jour, jour “cocorico.mp3”)1 x Capteur Infrarouge 1 canal TCRT5000

(Pour mesurer des distances)1 x Détecteur d’obstacle 1 x Détecteur de chocs (Pour signaler que aïe)1 x Un détecteur de gaz (Une fuite ?)1 x Un capteur de niveau (Le niveau magique !)1 x Un capteur d’humidité du sol avec 2 accessoires

(Trop tard les plantes sont mortes)1 x Un transmetteur sans fil et son capteur 315M (Piloter des prises électriques à télécommande par exemple)

Page 25: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

25

Page 26: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

26

NomenclatureNOM capteur protocole brochage GPIO / broche domoticz openplotter

Temp1 température 1wire 7 météo *

Environnement Temp, press, hum I2C 3,5 météo *

IMU Centrale à inertie I2C 3,5 *

Relais relais contact 8,10,12,16 contrôle

Beeper beeper contact *

Led led contact *

IR Infrarouge em/rec télécommande

Lumière Détecteur lumière contact contrôle

Présence Détecteur présence IR contact alarme

Gaz Détecteur de gaz contact alarme

Télémètre télémètre alarme

Incendie Détecteur flamme contact alarme

Micro Détecteur son alarme

Haut parleur

Humidité Détecteur humidité sol contact contrôle

Pluie Détecteur de pluie contact météo

+ ID, Image, lien

Page 27: Damgan...2019/07/23  · 2 Installation de la raspbian Déziper le fichier berryboot-20150916-pi2-only dans la carte SD Insérer la carte dans la respbian Connecter écran, clavier,

27

Questions ?