Controle du gpio via web Tutoriel Contrôle des GPIO du Raspberry Pi à partir d'une page Web - TD PRO TD PRO Menu ?? Tutoriel Contrôle des GPIO du Raspberry Pi à partir d ? une page Web https td pro com tutoriel-controle-des-gpio-du-raspberry-pi-a-partir-d

Tutoriel Contrôle des GPIO du Raspberry Pi à partir d'une page Web - TD PRO TD PRO Menu ?? Tutoriel Contrôle des GPIO du Raspberry Pi à partir d ? une page Web https td pro com tutoriel-controle-des-gpio-du-raspberry-pi-a-partir-dune- page-web C Tutoriel Contrôle des GPIO du Raspberry Pi à partir d'une page Web - TD PRO Acheter un Raspberry Pi http bit ly eXSxB Acheter une carte MicroSD http bit ly eJWFnI Acheter un power supply V A Amérique http bit ly eS jc Acheter un power supply V A Europe http bit ly dTt F Bonjour Dans cette vidéo je vais vous apprendre à contrôler les GPIO de votre Raspberry Pi à partir d ? une page web J ? ai conçu ce tutoriel pour qu ? il soit le plus simple possible Je vais vous montrer comment activer et désactiver un relais connecté à une lumière On utilisera du HTML PHP et CSS pour faire ce projet aucun Javascript requis J ? espère que vous aimer la vidéo Guide complet de la procédure Relier le relais au Raspberry Pi et brancher une lumière sur le relais https td pro com tutoriel-controle-des-gpio-du-raspberry-pi-a-partir-dune- page-web C Tutoriel Contrôle des GPIO du Raspberry Pi à partir d'une page Web - TD PRO Voir mon tutoriel sur le fonctionnement d ? un relais https www youtube com watch v - BFrgrpGyUM Préparation du Raspberry Pi Téléchargez la dernière version de Raspbian Pixel ou Lite ça ne dérange pas https www raspberrypi org downloads raspbian Téléchargez SDFormater https www sdcard org downloads formatter Téléchargez Win Disk Imager https sourceforge net projects win diskimager Téléchargez Putty http www putty org Utilisez SDFormater pour formater votre carte MicroSD et transférez l ? image Raspbian sur la carte avec l ? aide de Win Disk Imager Une fois la carte MicroSD prête insérez-la dans le Raspberry Pi Branchez celui-ci à son alimentation ainsi qu ? à votre réseau Connectez-vous ensuite au Raspberry Pi en SSH avec Putty Mettre à jour la liste de packets du Pi sudo apt-get update sudo apt-get upgrade -y Installer Apache et PHP sudo apt-get install apache ??y sudo apt-get install php libapache -mod-php -y Installer WiringPi https td pro com tutoriel-controle-des-gpio-du-raspberry-pi-a-partir-dune- page-web C Tutoriel Contrôle des GPIO du Raspberry Pi à partir d'une page Web - TD PRO http wiringpi com http wiringpi com sudo apt-get install git-core git clone git git drogon net wiringPi cd wiringPi sudo git pull origin cd wiringPi build cd sudo rm ??rf wiringPi Tester WiringPi https td pro com tutoriel-controle-des-gpio-du-raspberry-pi-a-partir-dune- page-web C gpio -v Tutoriel Contrôle des GPIO du Raspberry Pi à partir d'une page Web - TD PRO gpio readall Rendez-vous au dossier racine du serveur Apache cd var www html Supprimez index html sudo rm -rf index html Créez index php sudo nano index php href stylesheet css Créez stylesheet css https td pro com tutoriel-controle-des-gpio-du-raspberry-pi-a-partir-dune- page-web C Tutoriel Contrôle des GPIO du Raspberry Pi à partir d'une page Web - TD PRO sudo nano

  • 427
  • 0
  • 0
Afficher les détails des licences
Licence et utilisation
Gratuit pour un usage personnel Attribution requise
Partager
  • Détails
  • Publié le Jul 29, 2021
  • Catégorie Administration
  • Langue French
  • Taille du fichier 45.4kB