This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
MIDI OUT avec Raspberry Pi Pico. Mélodie à la basse sur le canal 1, et batterie | |
sur le canal 10. | |
Pour plus d'informations: | |
https://electroniqueamateur.blogspot.com/2023/09/midi-out-avec-le-raspberry-pi-pico.html | |
''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Simple démonstration d'envoi de messages MIDI par un Raspbery Pi Pico: | |
la note Do4 est jouée pendant 2 secondes avec un son de trompette. | |
Pour plus d'informations: | |
https://electroniqueamateur.blogspot.com/2023/09/midi-out-avec-le-raspberry-pi-pico.html | |
''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Magnétomètre - Boussole HMCV5883L relié à un Raspberry Pi Pico | |
Une boussole indiquant le nord est dessinée sur | |
un écran OLED SPI. | |
''' | |
from hmc5883l import HMC5883L | |
import time | |
import math |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Module magnétomètre - Boussole HMC5883L relié à un Raspberry Pi Pico | |
L'angle par rapport au nord est affiché dans la console. | |
Plus d'infos: | |
https://electroniqueamateur.blogspot.com/2023/08/magnetometreboussole-hmc5883l-et.html | |
''' | |
from hmc5883l import HMC5883L # https://github.com/SindormirNet/micropython-rp2040-hmc5883l/tree/master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Communication entre une télécommande à infrarouge | |
Sony (20 bits) et un Raspberry Pi Pico. Un TSOP4838 est branché | |
à la broche GP16 du RP Pico. | |
Bibliothèque micropython_ir par Peter Hinch: | |
https://github.com/peterhinch/micropython_ir | |
Pour plus d'informations, voici l'article détaillé: | |
https://electroniqueamateur.blogspot.com/2023/07/controler-un-raspberry-pi-pico-avec-une.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Communication entre une télécommande à infrarouge | |
Samsung et un Raspberry Pi Pico. Un TSOP4838 est branché | |
à la broche GP16 du RP Pico. | |
Bibliothèque micropython_ir par Peter Hinch: | |
https://github.com/peterhinch/micropython_ir | |
Pour plus d'informations, voici l'article détaillé: | |
https://electroniqueamateur.blogspot.com/2023/07/controler-un-raspberry-pi-pico-avec-une.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Balance Raspberry Pi Pico / HX711 | |
Pour plus d'informations: | |
https://electroniqueamateur.blogspot.com/2023/07/peser-des-objets-avec-le-raspberry-pi.html | |
Ce script utilise le pilote hx711-pico-mpy par Daniel Robertson disponible ici: | |
https://github.com/endail/hx711-pico-mpy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Matrice de LEDs RGB 16 X 16 WS2812B et Raspberry Pi Pico | |
Promeneurs aléatoires | |
Quelques pixels colorés déambulent au hasard sur la grille | |
Pour lire l'article complet: | |
https://electroniqueamateur.blogspot.com/2023/07/matrice-de-leds-rgb-16-x-16-ws2812b-et.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Matrice de LEDs RGB 16 X 16 WS2812B et Raspberry Pi Pico | |
Lignes colorées qui se déplacent | |
Pour lire l'article complet: | |
https://electroniqueamateur.blogspot.com/2023/07/matrice-de-leds-rgb-16-x-16-ws2812b-et.html | |
Bibliothèque pi pico neopixel: | |
https://github.com/blaz-r/pi_pico_neopixel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
On varie l'intensité lumineuse de la LED embarquée du Raspberry Pi Pico | |
au moyen d'un codeur rotatif. | |
L'article complet se trouve ici: | |
https://electroniqueamateur.blogspot.com/2023/07/utilisation-dun-codeur-rotatif-avec-le.html | |
Ce script nécessite le pilote micropython réalisé par Mike Teachman: | |
https://github.com/miketeachman/micropython-rotary/tree/master |
NewerOlder