Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente |
microc:uc:pyportal [2023/08/19 10:42] – [3. Préparation du circuit PyPortalPython] phil | microc:uc:pyportal [2023/08/19 10:48] (Version actuelle) – phil |
---|
* Connectique pour 2 entrées analogiques ou numériques | * Connectique pour 2 entrées analogiques ou numériques |
* **Divers** | * **Divers** |
* Haut parleur | * Haut-parleur |
* Capteur de lumière | * Capteur de lumière |
* Capteur de température (ADT7410 résolution 16bits (0,0078°C)) | * Capteur de température (ADT7410 résolution 16bits (0,0078°C)) |
* Source sur <html><a href="https://learn.adafruit.com/adafruit-pyportal/pyportal-circuitpython-setup" target="_blank">adafruit</a></html>. | * Source sur <html><a href="https://learn.adafruit.com/adafruit-pyportal/pyportal-circuitpython-setup" target="_blank">adafruit</a></html>. |
| |
== 3.2 Configuration de l'IDE Arduino === | === 3.2 Configuration de l'IDE Arduino === |
* Source sur <html><a href="https://learn.adafruit.com/adafruit-pyportal/setup" target="_blank">adafruit</a></html> . | * Source sur <html><a href="https://learn.adafruit.com/adafruit-pyportal/setup" target="_blank">adafruit</a></html> . |
==== 2. Mise en oeuvre ==== | ==== 4. Mise en oeuvre ==== |
| <tabs> |
| * [[#tab-micropy_1|MicroPython]] |
| * [[#tab-arduino_1|Arduino]] |
| |
| <pane id="tab-micropy_1"> |
* **Mise à jour** | * **Mise à jour** |
- **Bootloader** \\ **Source** : <html><a href="https://learn.adafruit.com/adafruit-pyportal/update-the-uf2-bootloader" target="_blank">Update the UF2 Bootloader</a></html> \\ \\ a. **Double-cliquer** sur le bouton de réinitialisation. {{ :python:micropython:materiel:portalboot.png?nolink&500 |}} \\ b. <html><a href="https://circuitpython.org/board/pyportal/">Télécharger</a></html> le chargeur de démarrage .UF2 et le faire glisser dans la fenêtre PORTALBOOT. \\ \\ | - **Bootloader** \\ **Source** : <html><a href="https://learn.adafruit.com/adafruit-pyportal/update-the-uf2-bootloader" target="_blank">Update the UF2 Bootloader</a></html> \\ \\ a. **Double-cliquer** sur le bouton de réinitialisation. {{ :python:micropython:materiel:portalboot.png?nolink&500 |}} \\ b. <html><a href="https://circuitpython.org/board/pyportal/">Télécharger</a></html> le chargeur de démarrage .UF2 et le faire glisser dans la fenêtre PORTALBOOT. \\ \\ |
| |
* **Test** | * **Test** |
<tabs> | |
* [[#tab-micropy_1|MicroPython]] | |
* [[#tab-arduino_1|Arduino]] | |
| |
<pane id="tab-micropy_1"> | |
<code python *.py> | <code python *.py> |
# Faire clignoter la LED ACT | # Faire clignoter la LED ACT |
</tabs> | </tabs> |
| |
==== 4. Bibliothèques ==== | ==== 5. Bibliothèques ==== |
* <html><a href="https://circuitpython.org/libraries" target="_blank">Téléchargement et installation</a></html> du bundle de bibliothèques. | * Bundle de bibliothèques CircuitPython à <html><a href="https://circuitpython.org/libraries" target="_blank">télécharger</a></html>. |
| |
==== 5. Exemples ==== | ==== 6. Exemples ==== |
* **Extraits de code** illustrant les fonctionnalités de la carte (capteur, carte µSD, etc.) : <html><a href="https://www.devdungeon.com/content/pyportal-circuitpy-tutorial-adabox-011#toc-30" target="_blank">Tutoriel PyPortal CircuitPy Tutorial (AdaBox 011)</a></html> | * **Extraits de code** illustrant les fonctionnalités de la carte (capteur, carte µSD, etc.) : <html><a href="https://www.devdungeon.com/content/pyportal-circuitpy-tutorial-adabox-011#toc-30" target="_blank">Tutoriel PyPortal CircuitPy Tutorial (AdaBox 011)</a></html> |