ancien:gamma:phase
no way to compare when less than two revisions
Différences
Ci-dessous, les différences entre deux révisions de la page.
— | ancien:gamma:phase [2024/02/09 16:39] (Version actuelle) – créée - modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Phase gamma, 2me prototype ====== | ||
+ | * Base de test raspberry , en devenir cubieboard | ||
+ | * moteur python | ||
+ | * rendu sonore pd-extended | ||
+ | * 1 GPS (ok) | ||
+ | * sortie son stereo (ok) | ||
+ | * 2 boutons (ok) | ||
+ | * 1 lecteur RFID i2c (en cours) | ||
+ | * 1 boussole i2c(en cours) liaison avec pd pour spacialisation | ||
+ | * 1 afficheur matrice 8x8 i2c (ok) (option) | ||
+ | |||
+ | idée du prix: | ||
+ | |||
+ | - sur rsp: 174 | ||
+ | - rsp+sd+cable=40 | ||
+ | - gps 35 [[http:// | ||
+ | - rfid 32 ou 15 [[http:// | ||
+ | - boussole 15 [[http:// | ||
+ | - afficheur 15 [[http:// | ||
+ | - casque 15 sony chez cdiscount | ||
+ | - regulation d'alim 15$ [[http:// | ||
+ | - batteries plomb 2x5 [[http:// | ||
+ | - sur cubieboard : 179 | ||
+ | - cubbiboard+cable 45 [[http:// | ||
+ | |||
+ | ===== Achats en cours ===== | ||
+ | * roboshop 1 gps,2 boussoles | ||
+ | * watterott 2cubiboarb, | ||
+ | |||
+ | a faire : | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * https:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | |||
+ | ===== Doc utile ===== | ||
+ | * Générale sur Raspberry Pi et GPIO http:// | ||
+ | |||
+ | ==== Logiciels partie système ==== | ||
+ | |||
+ | * récupérer le temps du GPS {{: | ||
+ | * puredata pd-extended | ||
+ | on envoie par OSC un ordre de lecture d'un fichier dans le repertoire son à un serveur pure-data (écoutant le port 9001) en local sur la pi | ||
+ | |||
+ | osc-send.pd < | ||
+ | #N canvas 816 78 450 300 10; | ||
+ | #X declare -lib mrpeach; | ||
+ | #X obj 86 60 import mrpeach; | ||
+ | #X obj 106 164 packOSC; | ||
+ | #X obj 74 209 udpsend; | ||
+ | #X msg 250 35 disconnect; | ||
+ | #X msg 108 116 send /ecouter \$1; | ||
+ | #X msg 42 29 connect 192.168.1.25 9001; | ||
+ | #X msg 101 87 hop sifflet.wav; | ||
+ | #X connect 1 0 2 0; | ||
+ | #X connect 3 0 2 0; | ||
+ | #X connect 4 0 1 0; | ||
+ | #X connect 5 0 2 0; | ||
+ | #X connect 6 0 4 0; | ||
+ | </ | ||
+ | le script de lancement de pd-extended | ||
+ | < | ||
+ | #!/bin/bash | ||
+ | # petit lecteur puredata | ||
+ | killall -9 pd | ||
+ | sleep 2 | ||
+ | cd / | ||
+ | pd-extended -nogui -channels 2 -r 44100 -audiobuf 75 -jack -nomidi -rt -path / | ||
+ | tended/ | ||
+ | > /dev/null & | ||
+ | </ | ||
+ | le patch de lecture sur la PI | ||
+ | < | ||
+ | more lire-son.pd | ||
+ | #N canvas 282 414 450 300 10; | ||
+ | #X declare -lib mrpeach; | ||
+ | #X obj 44 7 loadbang; | ||
+ | #X obj 44 174 readsf~; | ||
+ | #X msg 226 168 1; | ||
+ | #X obj 44 241 dac~; | ||
+ | #X obj 44 207 *~ 1; | ||
+ | #X msg 162 28 \; pd dsp 1; | ||
+ | #X obj 161 6 delay 100; | ||
+ | #X obj 44 38 import mrpeach; | ||
+ | #X obj 44 65 udpreceive 9001; | ||
+ | #X obj 44 92 unpackOSC; | ||
+ | #X obj 44 142 sprintf open / | ||
+ | #X obj 44 117 routeOSC /ecouter; | ||
+ | #X obj 226 119 loadbang; | ||
+ | #X obj 226 142 delay 800; | ||
+ | #X connect 0 0 6 0; | ||
+ | #X connect 0 0 7 0; | ||
+ | #X connect 1 0 4 0; | ||
+ | #X connect 2 0 1 0; | ||
+ | #X connect 4 0 3 0; | ||
+ | #X connect 4 0 3 1; | ||
+ | #X connect 6 0 5 0; | ||
+ | #X connect 7 0 8 0; | ||
+ | #X connect 8 0 9 0; | ||
+ | #X connect 9 0 11 0; | ||
+ | #X connect 10 0 1 0; | ||
+ | #X connect 11 0 10 0; | ||
+ | #X connect 11 0 12 0; | ||
+ | #X connect 12 0 13 0; | ||
+ | #X connect 13 0 2 0; | ||
+ | </ |
ancien/gamma/phase.txt · Dernière modification : de 127.0.0.1