Pushing the Score-publication: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
 
(30 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===
 
* TODO: https://pad.pzimediadesign.nl/p/pushing_the_score-TODO
=pads=
* https://pad.pzimediadesign.nl/p/pushing_the_score_-_publication
* https://pad.pzimediadesign.nl/p/pushing_the_score_-_publication
* https://pad.pzimediadesign.nl/p/pushing_the_score-March13


=Pi skin conductivity=
===wiki pages===
Aims:
* [[The_Ultimate_RPi_Installation_Guide]]
* 3 pairs of GPIO pins are used as to capture skin conductivity
* [[Pi skin conductivity]]
* python reads GIOP (should run as a deamon)
* OSC sends messages from py to pd
 
 
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


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


==hardware ==
===Clàudia===
* Rpi breakout board (cobbler) + cable from GPIO to breakout board cable.
* '''subject''': algorithmic composition as installation or interactive
** buy https://www.kiwi-electronics.nl/40-weg-t-cobbler-breakout-board-voor-raspberry-pi-model-b-plus-kit
* '''needs''': audio, web (p5js)
* 1x 220 nF capacitor
* '''log''':
* 2x 1Ohn resistor
* <s>550 ohm pot (values go between 0-800)</s>  OR  metal points


===notes on RPi GPIO===
===Emily===
In '''model 1''' there were only 26 in the following configuration
* '''subject''': ?
* '''needs''': ?
* '''log''': [http://emily.buzzo.com/category/pzi/special-issue/ Emily Buzzo - Special Issue PTS]


https://www.raspberrypi.org/documentation/usage/gpio/images/a-and-b-gpio-numbers.png


'''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
===Franc===
* '''subject''': Feedback installation
* '''needs''': audio, cam, multichannel (using several "boxes")
* '''log''': [https://pzwiki.wdka.nl/mediadesign/User:Francg Franc-g wiki]


https://www.raspberrypi.org/documentation/usage/gpio-plus-and-raspi2/images/gpio-numbers-pi2.png
===Giulia===
* '''subject''': surveillance/CCTV
* '''needs''': web (documentation) + maybe cam, maybe mic, maybe audio
* '''log''':


https://cdn-learn.adafruit.com/assets/assets/000/017/944/original/raspberry_pi_40pingpio.png?1405284874
===Karina===
* '''subject''': dance notation
* '''needs''': audio, maybe visuals, maybe mic
* '''log''':


links:
===Kimmy===
* https://learn.adafruit.com/introducing-the-raspberry-pi-model-b-plus-plus-differences-vs-model-b/gpio-port
* '''subject''': Randomness, Noise (Silence as unintentional sound)
* https://www.raspberrypi.org/documentation/usage/gpio/
* '''needs''': audio
* https://www.raspberrypi.org/documentation/usage/gpio-plus-and-raspi2/
* '''log''': [http://kimmyspreeuw.nl/XPUB_issue02/ISSUE02_notes.html Research notes]


==Software==
===Margreet===
* '''subject''': Twitter data sonification
* '''needs''': audio + maybe multichannel (using several "boxes")
* '''log''': [https://pzwiki.wdka.nl/mediadesign/Pushing_the_Score_using_Twitterdata Notes]


===libaries===
===Max===
install pip
* '''subject''': algorithmic instrument
apt-get install python-pip
* '''needs''': physical interface, audio
* '''log''':


Pi python lib RPi.GPIO https://pypi.python.org/pypi/RPi.GPIO
===Nadine===
apt-get install python-rpi.gpio
* '''subject''': documentation of drone attack(s) through records/stats/protocols
* '''needs''': audio + maybe multichannel (using several "boxes")
* '''log''':


pyOSC (is not on minibian repos )
==Bill of Material==
pip install pyOSC
Here is the rough BOM for '''one''' copy of TGC3, we're making 12 in total.


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


== Circuit ==
* RPI3 - '''confirmed''' - '''ordered'''
http://razzpisampler.oreilly.com/images/rpck_1202.png
* 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'''


I am using 500K variable resistor(pot) instead.
=== shell ===


==touch pressure==
* ???
[[File:GPIO-touch.jpg|right]]


In order to use touch pressure: I kept the circuit only replacing the variable resistor
==RPi3 setup==
with 2 metal pins.
===Base System===
Follow the guide [[The Ultimate RPi Installation Guide]]!


The result is very interesting.
You need at least to have a base system and hotspot working for now, more specific details soon.
* 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|]]
=== 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


== components ==
==== Format floppies if needed ====
* Pi cobler
* 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"


* Electronics:
== Useful Commands ==
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
speaker-test -D hw:0,0 -f cd
RPER7 Series Through Hole
RS-stocknummer: 721-5262
Aantal: 30


RE520-HP, Single-Sided Stripboard FR-2 100 x 160 x 1.5mm FR1
==Pi skin conductivity==
RS-stocknummer: 206-5841
Follow the guide [[Pi skin conductivity]]
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