microc:micropython:tuto1gpio

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édentes Révision précédente
Prochaine révision
Révision précédente
microc:micropython:tuto1gpio [2023/08/19 08:21] – [3.4 Prog. 4 - Capteur atmosphérique] philmicroc:micropython:tuto1gpio [2024/06/03 06:50] (Version actuelle) – [2.2 Connexion de la carte Rp2 à l'IDE] phil
Ligne 14: Ligne 14:
  
   * **Lectures connexes**   * **Lectures connexes**
-      * **Installer MicroPython** - [[python:micropython:materiel:espressif|MicroPython - Les modules Espressif ESP32 et ESP8266]]+      * **Installer MicroPython** - [[microc:uc:espressif|MicroPython - Les modules Espressif ESP32 et ESP8266]]
       * **Raspberry Pi Pico** - [[:microc:uc:rp2|Les modules Raspberry Pi Pico et Pico W]]       * **Raspberry Pi Pico** - [[:microc:uc:rp2|Les modules Raspberry Pi Pico et Pico W]]
       * **Programmez** ! Juillet/Août 2019        * **Programmez** ! Juillet/Août 2019 
Ligne 28: Ligne 28:
     * 4. **affbme280.py** - Afficheur graphique et capteur numérique : afficher la température, l'humidité et la pression ambiantes.      * 4. **affbme280.py** - Afficheur graphique et capteur numérique : afficher la température, l'humidité et la pression ambiantes. 
     * 5. **afftsl2591** - Afficheur graphique et capteur numérique : afficher la luminosité ambiante.     * 5. **afftsl2591** - Afficheur graphique et capteur numérique : afficher la luminosité ambiante.
 +
 +\\
  
 ==== 1. Le matériel ==== ==== 1. Le matériel ====
   * **Ressource**   * **Ressource**
-      * [[:microc:uc:rp2|MicroPython - Les modules Raspberry Pi Pico et Pico W]]* +    Wiki [[:microc:uc:rp2|MicroPython - Les modules Raspberry Pi Pico et Pico W]]*  
 + 
 +\\ 
  
 ==== 2. L'IDE Thonny ==== ==== 2. L'IDE Thonny ====
Ligne 41: Ligne 46:
 L'<html><a href="https://www.redhat.com/fr/topics/middleware/what-is-ide" title="Environnement de développement" target="_blank">IDE</a></html> **Thonny** propose aux débutants un **environnement de programmation** intuitif pour **Python** (MicroPython, CircuitPython), aussi facile à déployer qu'à utiliser. L'<html><a href="https://www.redhat.com/fr/topics/middleware/what-is-ide" title="Environnement de développement" target="_blank">IDE</a></html> **Thonny** propose aux débutants un **environnement de programmation** intuitif pour **Python** (MicroPython, CircuitPython), aussi facile à déployer qu'à utiliser.
 Dans un souci de simplicité, Thonny embarque la dernière version de Python qu'il installe en même temps que l'EDI. Le programme est par ailleurs préconfiguré afin d'éviter les difficultés liées au paramétrage de l'application.  Dans un souci de simplicité, Thonny embarque la dernière version de Python qu'il installe en même temps que l'EDI. Le programme est par ailleurs préconfiguré afin d'éviter les difficultés liées au paramétrage de l'application. 
 +
 +\\
  
 === 2.2 Connexion de la carte Rp2 à l'IDE === === 2.2 Connexion de la carte Rp2 à l'IDE ===
Ligne 61: Ligne 68:
 </pane> </pane>
 </tabs> </tabs>
 +
 +\\
 +
  
 === 2.3 Installation des bibliothèques sur la carte Rp2 === === 2.3 Installation des bibliothèques sur la carte Rp2 ===
Ligne 85: Ligne 95:
 </pane> </pane>
 </tabs> </tabs>
 +
 +\\
  
 ==== 3. Programmation ==== ==== 3. Programmation ====
Ligne 559: Ligne 571:
 </pane> </pane>
 </tabs> </tabs>
-=== 3.5 Prog. 5 - Capteur de luminosité ===+=== 3.5 Programme 5 - Capteur de luminosité ===
 {{ :python:micropython:ar-capteur-de-lumiere-tsl2591-ada1980-22971.jpg?nolink&200|}} {{ :python:micropython:ar-capteur-de-lumiere-tsl2591-ada1980-22971.jpg?nolink&200|}}
 <callout type="primary" title="Objectif" icon="true">Afficher la luminosité ambiante sur un afficheur graphique.</callout> <callout type="primary" title="Objectif" icon="true">Afficher la luminosité ambiante sur un afficheur graphique.</callout>
Ligne 657: Ligne 669:
 </pane> </pane>
 </tabs> </tabs>
-=== 3.6 Synthèse === +=== 3.6 Serveur WEB === 
-<color #ed1c24>WEB : A faire</color>+  <color #ed1c24>Ressource provisoire</color> <html><a href="https://randomnerdtutorials.com/esp32-esp8266-micropython-web-server/" target="_blank">ESP32/ESP8266 MicroPython Web Server</a></html> 
 + 
 +<color #ed1c24>A faire</color> 
 === Pour aller plus loin === === Pour aller plus loin ===
  - **Tutoriels** sur <html><a href="https://randomnerdtutorials.com/projects-esp32-esp8266-micropython/" target="_blank">RANDOM NERD TUTORIALS</a></html>((Random Nerd Tutorials helps makers, hobbyists and engineers build electronics projects. We make projects with: ESP32, ESP8266, Arduino, Raspberry Pi, ...))   - **Tutoriels** sur <html><a href="https://randomnerdtutorials.com/projects-esp32-esp8266-micropython/" target="_blank">RANDOM NERD TUTORIALS</a></html>((Random Nerd Tutorials helps makers, hobbyists and engineers build electronics projects. We make projects with: ESP32, ESP8266, Arduino, Raspberry Pi, ...)) 
  
  • microc/micropython/tuto1gpio.1692426075.txt.gz
  • Dernière modification : 2023/08/19 08:21
  • de phil