Pushing the Score-publication: Difference between revisions

From XPUB & Lens-Based wiki
 
(38 intermediate revisions by 7 users not shown)
Line 1: Line 1:


[[File:PuhsingTheScore-scheme.jpg|right]]
[[File:PuhsingTheScore-scheme.jpg|right|480px]]


==Handy links==
===git repositories===
GPIO https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/
git clone https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/
===pads===
* TODO: https://pad.pzimediadesign.nl/p/pushing_the_score-TODO
* https://pad.pzimediadesign.nl/p/pushing_the_score_-_publication
* https://pad.pzimediadesign.nl/p/pushing_the_score-March13


=git repositories=
===wiki pages===
* gpio https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/
* [[The_Ultimate_RPi_Installation_Guide]]
* [[Pi skin conductivity]]


==Projects==
'''IMPORTANT'''
* Only give minimal information here, essentially a descriptive oneliner and tech details so we know who needs to learn/make/research what
* Use git if necessary to keep track of your own small project files (ie, source code)
* Use Syncthing to share large files/binaries/docs/whatnot
* Use and link to your personal wiki pages (log) for documenting the research and prototyping process


=Pi reading Pots/skin resistance=
===Clàudia===
* '''subject''': algorithmic composition as installation or interactive
* '''needs''': audio, web (p5js)
* '''log''':


Pis have no ADC, therefore the simple way to read a Pot's value is via a step response technique as explained in http://razzpisampler.oreilly.com/ch08.html
===Emily===
* '''subject''': ?
* '''needs''': ?
* '''log''': [http://emily.buzzo.com/category/pzi/special-issue/ Emily Buzzo - Special Issue PTS]


==TO DO==
* get 3rd POT to work


==hardware ==
===Franc===
* Rpi breakout board (cobbler) + cable from GPIO to breakout board cable.
* '''subject''': Feedback installation
** buy https://www.kiwi-electronics.nl/40-weg-t-cobbler-breakout-board-voor-raspberry-pi-model-b-plus-kit
* '''needs''': audio, cam, multichannel (using several "boxes")
* 1x 220 nF capacitor
* '''log''': [https://pzwiki.wdka.nl/mediadesign/User:Francg Franc-g wiki]
* 2x 1Ohn resistor
* <s>550 ohm pot (values go between 0-800)</s>  OR  metal points


===notes on RPi GPIO===
===Giulia===
In '''model 1''' there were only 26 in the following configuration
* '''subject''': surveillance/CCTV
* '''needs''': web (documentation) + maybe cam, maybe mic, maybe audio
* '''log''':


https://www.raspberrypi.org/documentation/usage/gpio/images/a-and-b-gpio-numbers.png
===Karina===
* '''subject''': dance notation
* '''needs''': audio, maybe visuals, maybe mic
* '''log''':


'''Model 2 B and 3 B''' keep the same configuration for the first 26 pins, but expand it to 40 pins, in the following configuration
===Kimmy===
* '''subject''': Randomness, Noise (Silence as unintentional sound)
* '''needs''': audio
* '''log''': [http://kimmyspreeuw.nl/XPUB_issue02/ISSUE02_notes.html Research notes]


https://www.raspberrypi.org/documentation/usage/gpio-plus-and-raspi2/images/gpio-numbers-pi2.png
===Margreet===
* '''subject''': Twitter data sonification
* '''needs''': audio + maybe multichannel (using several "boxes")
* '''log''': [https://pzwiki.wdka.nl/mediadesign/Pushing_the_Score_using_Twitterdata Notes]


https://cdn-learn.adafruit.com/assets/assets/000/017/944/original/raspberry_pi_40pingpio.png?1405284874
===Max===
* '''subject''': algorithmic instrument
* '''needs''': physical interface, audio
* '''log''':


links:
===Nadine===
* https://learn.adafruit.com/introducing-the-raspberry-pi-model-b-plus-plus-differences-vs-model-b/gpio-port
* '''subject''': documentation of drone attack(s) through records/stats/protocols
* https://www.raspberrypi.org/documentation/usage/gpio/
* '''needs''': audio + maybe multichannel (using several "boxes")
* https://www.raspberrypi.org/documentation/usage/gpio-plus-and-raspi2/
* '''log''':


==Software==
==Bill of Material==
Here is the rough BOM for '''one''' copy of TGC3, we're making 12 in total.


===libaries===
=== internals ===
install pip
apt-get install python-pip


Pi python lib RPi.GPIO https://pypi.python.org/pypi/RPi.GPIO
* RPI3 - '''confirmed''' - '''ordered'''
  apt-get install python-rpi.gpio
* RPI3 basic PSU - '''confirmed''' - '''ordered'''
* sdcard 8GB - '''confirmed''' - '''ordered'''
* USB Floppy drive - ''confirmed''' - '''ordered'''
* USB Floppy disks - ''confirmed''' - '''ordered'''
* Picam - ''confirmed''' - '''ordered'''
* Speaker(s) - ''confirmed''' - '''ordered'''
* external control - research ongoing
* USB soundcard - ''confirmed''' - '''ordered'''


==scripts==
=== shell ===
https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/


== Circuit ==
* ???
http://razzpisampler.oreilly.com/images/rpck_1202.png


I am using 500K variable resistor(pot) instead.
==RPi3 setup==
===Base System===
Follow the guide [[The Ultimate RPi Installation Guide]]!


==touch pressure==
You need at least to have a base system and hotspot working for now, more specific details soon.
[[File:GPIO-touch.jpg|right]]


In order to use touch pressure: I kept the circuit only replacing the variable resistor
=== Floppy disk system ===
with 2 metal pins.
==== Testing if everything works fine ====
* plug floppy disk drive
* check it is recognised by the system, checking for instance with dmesg, example output:
[ 1505.185614] usb 1-1.5: USB disconnect, device number 5
[ 1513.164425] usb 1-1.5: new full-speed USB device number 6 using dwc_otg
[ 1513.467105] usb 1-1.5: New USB device found, idVendor=0644, idProduct=0000
[ 1513.470194] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1513.473283] usb 1-1.5: Product: TEAC FD-05PUB 
[ 1513.476430] usb 1-1.5: Manufacturer: TEAC   
[ 1513.486391] usb-storage 1-1.5:1.0: USB Mass Storage device detected
[ 1513.489864] scsi host0: usb-storage 1-1.5:1.0
[ 1514.501431] scsi 0:0:0:0: Direct-Access    TEAC    FD-05PUB        1026 PQ: 0 ANSI: 0 CCS
[ 1514.506805] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1514.885427] sd 0:0:0:0: [sda] Attached SCSI removable disk
* Insert floppy, and check that a block device is created (still checking with dmesg):
[ 1592.965421] sd 0:0:0:0: [sda] 2880 512-byte logical blocks: (1.47 MB/1.41 MiB)
[ 1593.989421]  sda:
* make a temporary directory to mount the floppy to
cd
mkdir floppy
mount /dev/sda floppy
* check that you see the content of the floppy in the floppy directory:
ls floppy


The result is very interesting.
==== Format floppies if needed ====
* because the circuit is interrupted while no one is touching, the stream or reading is interrupted
* Insert floppy
* values can go from:
* Check which block device it is using (/dev/sda in this example) with dmes
** Max: 3  (very strong,wet contact) (0 if there is a metal connection )
* Force format the whole block as vfat giving it a label,  
** Min: 273337  
  mkfs.vfat /dev/sda -I -n "SECRETFLOPPY"


== Useful Commands ==
speaker-test -D hw:0,0 -f cd
==Pi skin conductivity==
Follow the guide [[Pi skin conductivity]]


==To Do==
* implement it 3 times
** needs multi-threading
* OSC communication
* design circuit in small prototyping strip board
* change and test script with more than 1 circuit




[[Category:XPUB]] [[Category:Special Issue]] [[Category:Pushing the Score]]
[[Category:XPUB]] [[Category:Special Issue]] [[Category:Pushing the Score]]

Latest revision as of 22:23, 17 March 2017

PuhsingTheScore-scheme.jpg

Handy links

git repositories

GPIO https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/

git clone https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/

pads

wiki pages

Projects

IMPORTANT

  • Only give minimal information here, essentially a descriptive oneliner and tech details so we know who needs to learn/make/research what
  • Use git if necessary to keep track of your own small project files (ie, source code)
  • Use Syncthing to share large files/binaries/docs/whatnot
  • Use and link to your personal wiki pages (log) for documenting the research and prototyping process

Clàudia

  • subject: algorithmic composition as installation or interactive
  • needs: audio, web (p5js)
  • log:

Emily


Franc

  • subject: Feedback installation
  • needs: audio, cam, multichannel (using several "boxes")
  • log: Franc-g wiki

Giulia

  • subject: surveillance/CCTV
  • needs: web (documentation) + maybe cam, maybe mic, maybe audio
  • log:

Karina

  • subject: dance notation
  • needs: audio, maybe visuals, maybe mic
  • log:

Kimmy

  • subject: Randomness, Noise (Silence as unintentional sound)
  • needs: audio
  • log: Research notes

Margreet

  • subject: Twitter data sonification
  • needs: audio + maybe multichannel (using several "boxes")
  • log: Notes

Max

  • subject: algorithmic instrument
  • needs: physical interface, audio
  • log:

Nadine

  • subject: documentation of drone attack(s) through records/stats/protocols
  • needs: audio + maybe multichannel (using several "boxes")
  • log:

Bill of Material

Here is the rough BOM for one copy of TGC3, we're making 12 in total.

internals

  • RPI3 - confirmed - ordered
  • RPI3 basic PSU - confirmed - ordered
  • sdcard 8GB - confirmed - ordered
  • USB Floppy drive - confirmed' - ordered
  • USB Floppy disks - confirmed' - ordered
  • Picam - confirmed' - ordered
  • Speaker(s) - confirmed' - ordered
  • external control - research ongoing
  • USB soundcard - confirmed' - ordered

shell

  • ???

RPi3 setup

Base System

Follow the guide The Ultimate RPi Installation Guide!

You need at least to have a base system and hotspot working for now, more specific details soon.

Floppy disk system

Testing if everything works fine

  • plug floppy disk drive
  • check it is recognised by the system, checking for instance with dmesg, example output:
[ 1505.185614] usb 1-1.5: USB disconnect, device number 5
[ 1513.164425] usb 1-1.5: new full-speed USB device number 6 using dwc_otg
[ 1513.467105] usb 1-1.5: New USB device found, idVendor=0644, idProduct=0000
[ 1513.470194] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1513.473283] usb 1-1.5: Product: TEAC FD-05PUB   
[ 1513.476430] usb 1-1.5: Manufacturer: TEAC    
[ 1513.486391] usb-storage 1-1.5:1.0: USB Mass Storage device detected
[ 1513.489864] scsi host0: usb-storage 1-1.5:1.0
[ 1514.501431] scsi 0:0:0:0: Direct-Access     TEAC     FD-05PUB         1026 PQ: 0 ANSI: 0 CCS
[ 1514.506805] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1514.885427] sd 0:0:0:0: [sda] Attached SCSI removable disk
  • Insert floppy, and check that a block device is created (still checking with dmesg):
[ 1592.965421] sd 0:0:0:0: [sda] 2880 512-byte logical blocks: (1.47 MB/1.41 MiB)
[ 1593.989421]  sda:
  • make a temporary directory to mount the floppy to
cd
mkdir floppy
mount /dev/sda floppy
  • check that you see the content of the floppy in the floppy directory:
ls floppy

Format floppies if needed

  • Insert floppy
  • Check which block device it is using (/dev/sda in this example) with dmes
  • Force format the whole block as vfat giving it a label,
mkfs.vfat /dev/sda -I -n "SECRETFLOPPY"

Useful Commands

speaker-test -D hw:0,0 -f cd

Pi skin conductivity

Follow the guide Pi skin conductivity