Pushing the Score-publication: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
 
(25 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==
===git repositories===
GPIO https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/
GPIO https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/
  git clone https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/
  git clone https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/
==pads==
===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_-_publication
==wiki pages==
* https://pad.pzimediadesign.nl/p/pushing_the_score-March13
 
===wiki pages===
* [[The_Ultimate_RPi_Installation_Guide]]
* [[The_Ultimate_RPi_Installation_Guide]]
==RPi3 setup==
* [[Pi skin conductivity]]
===Base System===
Follow the guide [[The Ultimate RPi Installation Guide]], and then come back here!


==Pi skin conductivity==
==Projects==
Aims:
'''IMPORTANT'''
* 3 pairs of GPIO pins are used as to capture skin conductivity 
* Only give minimal information here, essentially a descriptive oneliner and tech details so we know who needs to learn/make/research what
* python reads GIOP (should run as a deamon)
* Use git if necessary to keep track of your own small project files (ie, source code)
* OSC sends messages from py to pd
* 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''':


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]




===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'''


pyOSC (is not on minibian repos )
=== shell ===
pip install pyOSC


===scripts===
* ???
https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/


=== Circuit ===
==RPi3 setup==
http://razzpisampler.oreilly.com/images/rpck_1202.png
===Base System===
Follow the guide [[The Ultimate RPi Installation Guide]]!


I am using 500K variable resistor(pot) instead.
You need at least to have a base system and hotspot working for now, more specific details soon.


===touch pressure===
=== Floppy disk system ===
[[File:GPIO-touch.jpg|right]]
==== 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


In order to use touch pressure: I kept the circuit only replacing the variable resistor
==== Format floppies if needed ====
with 2 metal pins.
* 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"


The result is very interesting.
== Useful Commands ==
* because the circuit is interrupted while no one is touching, the stream or reading is interrupted
* values can go from:
** Max: 3  (very strong,wet contact) (0 if there is a metal connection )
** Min: 273337


[[File:py-osc-pd.png|Python sending values to PD over OSC|]]
speaker-test -D hw:0,0 -f cd


=== components ===
==Pi skin conductivity==
* Pi cobler
Follow the guide [[Pi skin conductivity]]
 
* Electronics:
Weidmuller PM 5.08 Series 5.08mm Pitch Straight PCB Terminal Block with Leaf
Spring, Screw Termination, Through Hole
RS-stocknummer: 425-8720
Aantal: 30
 
Murata Single Layer Ceramic Capacitor (SLCC) 220nF 50 V dc ±10% X7R Dielectric
RPER7 Series Through Hole
RS-stocknummer: 721-5262
Aantal: 30
 
RE520-HP, Single-Sided Stripboard FR-2 100 x 160 x 1.5mm FR1
RS-stocknummer: 206-5841
Aantal: 3 


===To Do===
* 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