Présentation projet OPT

M2 MIAGE - Année 2024

Logo UNC Logo OPT Logo OPT

Objectif

Un projet de dataviz

drivée par les données de temps d'attente de l'OPT-NC

Comment ?

En utilisant les capacités d'une matrice LED

Matériel mis à disposition

Pimoroni Cosmic-Unicorn

Pimoroni Vue Avant Pimoroni Vue Arrière
  • Power/prog by USB micro-B
  • 1024 RGB LEDs in a 32x32 grid
  • 9 buttons + Reset

Raspberry Pi PicoW intégré

Pimoroni Vue Avant
  • Dual Arm Cortex M0+ 133MHz 264kB
  • 2MB of QSPI flash supporting XiP
  • 2.4GHz wireless
  • C/C++ and MicroPython libraries

Affichages disponibles

Screen "Accueil"

Pimoroni accueil
D: Reboot
Volume +/-
Lux +/-

Screen "Info"

Pimoroni info

Accès WiFi OK/KO

Accès clé API OK/KO

Accès fichier agences

D: Reboot
Volume +/-
Lux +/-

Screen "Légende"

Pimoroni legende
Icone son activé
Icone son désactivé
Icone état WIFI
Icone arrêt boucle
D: Reboot
Volume +/-
Lux +/-

Screen "Agences"

Pimoroni agence
Sigle OPT
Heure NTP
Smiley temps attente
Son
Tps
Wifi
Loop
Défilement nom agence
A: Son
B: Boucle
C: Screen
D: Reboot
Volume +/-
Lux +/-

Screen "QR Code"

Pimoroni QRC
D: Reboot
Volume +/-
Lux +/-

Principe du script

boot.py

Permet au démarrage de la matrice de basculer sur le fichier python de ce projet

main.py

Permet d'executer le script python de ce projet

Principe du script

script

Scripting et televersement

Logiciel Thonny

Sources Pimonory

https://github.com/pimoroni

Support projet sur Github

https://github.com/adriens/temps-attente-matrix-led

Aide syntaxique

ChatGPT