Outils pour utilisateurs

Outils du site


serveur_multimedia_artnet

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
serveur_multimedia_artnet [2018/07/04 19:20] Mushussuserveur_multimedia_artnet [2020/12/01 17:43] (Version actuelle) – ↷ Liens modifiés en raison d'un déplacement. serge
Ligne 2: Ligne 2:
 ===== Matériel ===== ===== Matériel =====
   * 4 x Raspberry Pi 3 :    * 4 x Raspberry Pi 3 : 
-  * 4 x Disque dur WD PiDrive : https://www.wdc.com/fr-fr/products/wdlabs/wd-pidrive-foundation-edition.html#WD2500LMCW +  * 4 x Disque dur WD [[https://www.wdc.com/fr-fr/products/wdlabs/wd-pidrive-foundation-edition.html#WD2500LMCW|PiDrive]] 
-  * 4 x Alimentations 3A : https://www.wdc.com/fr-fr/products/wdlabs/wd-pidrive-power-kit-3a.html#WDLB029RNE +  * 4 x [[https://www.wdc.com/fr-fr/products/wdlabs/wd-pidrive-power-kit-3a.html#WDLB029RNE|Alimentations 3A]] 
-  * 4 x Boitiers : https://www.wdc.com/fr-fr/products/wdlabs/wd-pidrive-enclosure-square.html#WDLB024RNN+  * 4 x [[https://www.wdc.com/fr-fr/products/wdlabs/wd-pidrive-enclosure-square.html#WDLB024RNN|Boitiers]]
   * 1 x Borne d'accès WIFI Netgear WAC104   * 1 x Borne d'accès WIFI Netgear WAC104
   * 2 x Câbles ethernet Cat 5   * 2 x Câbles ethernet Cat 5
   * 1 x Node OnPC   * 1 x Node OnPC
-  * 2 x Adpatateurs USB-C / Ethernet+  * 2 x Adaptateurs USB-C / Ethernet
   * 1 x Ordinateur tournant sous Windows   * 1 x Ordinateur tournant sous Windows
  
 ===== Switch WIFI ===== ===== Switch WIFI =====
-[[https://www.pcastuces.com/pratique/materiel/pont_wifi/page1.htm]]+[[https://www.pcastuces.com/pratique/materiel/pont_wifi/page1.htm|Créer un pont WiFi]]
  
-[[https://www.amazon.fr/TP-Link-TL-WA901ND-passive-antenne-démontable/dp/B002YETVXC/?tag=hardwfr-21]]+[[https://www.amazon.fr/TP-Link-TL-WA901ND-passive-antenne-démontable/dp/B002YETVXC/?tag=hardwfr-21|TP-Link TL-WA901ND]]
  
-[[http://www.netgear.fr/business/products/wireless/essentials-wireless/WAC104.aspx]]+[[http://www.netgear.fr/business/products/wireless/essentials-wireless/WAC104.aspx|Nergear WAC104]]
  
-[[https://kb.netgear.com/20927/How-do-I-change-my-NETGEAR-router-to-AP-mode-after-I-ve-already-run-setup]]+[[https://kb.netgear.com/20927/How-do-I-change-my-NETGEAR-router-to-AP-mode-after-I-ve-already-run-setup|How do I change my NETGEAR router to AP mode after I’ve already run setup?]]
  
-[[https://support.actlighting.com/knowledgeBase/7374771]]+[[https://support.actlighting.com/knowledgeBase/7374771|Network DMX: Using Art-Net with grandMA2]]
  
-[[https://support.actlighting.com/knowledgeBase/13194057]]+[[https://support.actlighting.com/knowledgeBase/13194057|Outputting Art-Net from onPC]]
  
 Mettre à jour le firmware Mettre à jour le firmware
Ligne 111: Ligne 111:
  
 === Sources === === Sources ===
-  * https://www.raspberrypi.org/documentation/configuration/external-storage.md +  * [[https://www.raspberrypi.org/documentation/configuration/external-storage.md|External storage configuration]] 
-  * http://www.framboise314.fr/donnez-de-lespace-a-votre-framboise314-un-disque-dur-pour-le-raspberry-pi/ +  * [[http://www.framboise314.fr/donnez-de-lespace-a-votre-framboise314-un-disque-dur-pour-le-raspberry-pi/|Un disque dur pour le Raspberry Pi]] 
-  * https://doc.ubuntu-fr.org/exfat+  * [[https://doc.ubuntu-fr.org/exfat|exFAT]]
  
 ===== Installer OLA ===== ===== Installer OLA =====
-https://www.openlighting.org/ola/linuxinstall/+[[https://www.openlighting.org/ola/linuxinstall|Installer OLA]]
  
 Installer les dépendances : Installer les dépendances :
Ligne 157: Ligne 157:
  
 === Configurer OLA === === Configurer OLA ===
-https://www.openlighting.org/ola/advanced-topics/patch-persistency/+[[https://www.openlighting.org/ola/advanced-topics/patch-persistency/|Patch Persistency]]
  
 ===== Installer OMXPlayer ===== ===== Installer OMXPlayer =====
Ligne 176: Ligne 176:
   sudo make install   sudo make install
  
-https://github.com/turingmachine/omxplayer-sync+[[https://github.com/turingmachine/omxplayer-sync|Sources OMXPlayer-Sync]]
  
 ===== Programmation C++ ===== ===== Programmation C++ =====
-https://docs.openlighting.org/ola/doc/0.10.4/namespaceola_1_1client.html+[[https://docs.openlighting.org/ola/doc/0.10.4/namespaceola_1_1client.html|ola::client Namespace Reference]]
   g++ -o multi multi.cpp $(pkg-config --cflags --libs libola)   g++ -o multi multi.cpp $(pkg-config --cflags --libs libola)
  
Ligne 302: Ligne 302:
 } }
  
-</source>+</code>
  
-= Configuration supplémentaires = +===== Configuration supplémentaires ====
-https://www.supinfo.com/articles/single/2442-raspbian-jessy-configuration-wifi-ligne-commande+[[https://www.supinfo.com/articles/single/2442-raspbian-jessy-configuration-wifi-ligne-commande|Raspbian Jessy, configuration wifi en ligne de commande]]
  
-https://wiki.openlighting.org/index.php?title=Raspberry_Pi_Media_Player +[[https://wiki.openlighting.org/index.php?title=Raspberry_Pi_Media_Player|Raspberry Pi Media Player]] 
-== Écran noir au démarrage == +=== Écran noir au démarrage === 
-*modifier le fichier cmdline.txt +  *modifier le fichier cmdline.txt 
- sudo nano /boot/cmdline.txt+  sudo nano /boot/cmdline.txt
 et ajouter sur la même ligne à la fin et ajouter sur la même ligne à la fin
- consoleblank=20 +  consoleblank=20 
-*source +  *source 
-https://www.raspberrypi.org/documentation/configuration/screensaver.md+[[https://www.raspberrypi.org/documentation/configuration/screensaver.md|Setting the screen saver/screen blanking]]
  
-== Accéder à la borne ==+=== Accéder à la borne ===
 Il faut éditer le fichier wpa_supplicant.conf avec la commande : Il faut éditer le fichier wpa_supplicant.conf avec la commande :
- sudo nano /etc/wpa_supplicant/wpa_supplicant.conf+  sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
 Ensuite ajouter : Ensuite ajouter :
- ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev +  ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev 
- network={ +  network={ 
-    ssid="SSID de la borne" +     ssid="SSID de la borne" 
-    psk="Mot de passe de la borne" +     psk="Mot de passe de la borne" 
-    key_mgmt=WPA-PSK +     key_mgmt=WPA-PSK 
- }+  }
  
-== Adresse IP fixe ==+=== Adresse IP fixe ===
 Afin d'obtenir une IP fixe pour chaque Raspberry Pi, il faut éditer le fichier /etc/network/interfaces avec la commande : Afin d'obtenir une IP fixe pour chaque Raspberry Pi, il faut éditer le fichier /etc/network/interfaces avec la commande :
- sudo nano /etc/network/interfaces+  sudo nano /etc/network/interfaces
 Puis insérer le lignes suivantes à la fin du fichier : Puis insérer le lignes suivantes à la fin du fichier :
- auto wlan0+  auto wlan0
    
- iface lo inet loopback+  iface lo inet loopback
    
- iface eth0 inet dhcp+  iface eth0 inet dhcp
        
- allow-hotplug wlan0 +  allow-hotplug wlan0 
- iface wlan0 inet static  +  iface wlan0 inet static  
- address 192.168.1.101 +  address 192.168.1.101 
- netmask 255.255.255.0 +  netmask 255.255.255.0 
- gateway 192.168.1.200 +  gateway 192.168.1.200 
- wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf +  wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf 
- iface default inet dhcp+  iface default inet dhcp
  
-= GrandMA2 = +===== GrandMA2 ====
-== Configuration ArtNet == +=== Configuration ArtNet === 
-[[Fichier:ArtNetConfig.png|centré|Configuation ArtNet]] +{{media_03:artnetconfig.png?600|}} 
- +=== Configuration sACN ===
-== Configuration sACN ==+
 Mettre le node dans le même sous-réseau : Mettre le node dans le même sous-réseau :
- [Setup] > [Network Configuration] > [DMX Node]+  [Setup] > [Network Configuration] > [DMX Node]
 Pour modifier l'IP du code faire un clic secondaire sur le champ IP Ethernet 1 (Eth0) et entrer  Pour modifier l'IP du code faire un clic secondaire sur le champ IP Ethernet 1 (Eth0) et entrer 
- 192.168.1.202+  192.168.1.202
 Configurer la sortie sACN Configurer la sortie sACN
- [Setup] > [Network Protocols] > [sACN]+  [Setup] > [Network Protocols] > [sACN]
 Remplir les champs avec les valeurs indiquées ci-dessous : Remplir les champs avec les valeurs indiquées ci-dessous :
-[[Fichier:SACN1.png|centré|Configuation sACN]]+ 
 +{{media_12:sacn1.png?600|}} 
 Ne pas oublier d'activer la sortie sACN en cliquant sur  Ne pas oublier d'activer la sortie sACN en cliquant sur 
- [Ouput sACN Active]+  [Ouput sACN Active]
  
-= Version sACN =+===== Version sACN =====
 Avec l'utilisation des sACN, il n'est pas nécessaire d'installer le serveur OLA. Cela simplifie grandement l'installation et l'exploitation. Avec l'utilisation des sACN, il n'est pas nécessaire d'installer le serveur OLA. Cela simplifie grandement l'installation et l'exploitation.
  
Ligne 368: Ligne 369:
 Le circuite 512 éteint la Raspberry PI. Il est nécessaire de le faire pour ne pas détériorer la Pi. Le circuite 512 éteint la Raspberry PI. Il est nécessaire de le faire pour ne pas détériorer la Pi.
  
-<source lang = "c++">+<code c++>
 /////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////
 // //
Ligne 524: Ligne 525:
 </code> </code>
  
-{{tag>sylvain}}+===== Améliorations ===== 
 +Il serait bien de réécrire le programme et d'utiliser la librairie : [[https://github.com/kr15h/ofxPiMapper|ofxPiMapper]] 
 + 
 + 
 + 
 +{{tag>c++ sylvain realisations_logicielles}}
serveur_multimedia_artnet.1530732029.txt.gz · Dernière modification : 2018/07/04 19:20 de Mushussu