Pushing the Score-publication: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
Line 2: Line 2:
[[File:PuhsingTheScore-scheme.jpg|right]]
[[File:PuhsingTheScore-scheme.jpg|right]]


 
=Pi skin conductivity=
=git repositories=
Aims:
GPIO https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/
git clone https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/
* 3 pairs of GPIO pins are used as to capture skin conductivity   
* 3 pairs of GPIO pins are used as to capture skin conductivity   
* python reads GIOP (should run as a deamon)
* python reads GIOP (should run as a deamon)
* OSC sends messages from py to pd
* OSC sends messages from py to pd


=Pi reading Pots/skin resistance=


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


==TO DO==
=git repository=
* get 3rd POT to work
GPIO https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/
git clone https://git.pzimediadesign.nl/repos/pushingscore_gpio.git/
 


==hardware ==
==hardware ==

Revision as of 14:16, 25 February 2017

PuhsingTheScore-scheme.jpg

Pi skin conductivity

Aims:

  • 3 pairs of GPIO pins are used as to capture 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

git repository

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

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


hardware

notes on RPi GPIO

In model 1 there were only 26 in the following configuration

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

gpio-numbers-pi2.png

https://cdn-learn.adafruit.com/assets/assets/000/017/944/original/raspberry_pi_40pingpio.png?1405284874

links:

Software

libaries

install pip

apt-get install python-pip

Pi python lib RPi.GPIO https://pypi.python.org/pypi/RPi.GPIO

apt-get install python-rpi.gpio

pyOSC (is not on minibian repos )

pip install pyOSC

scripts

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

Circuit

rpck_1202.png

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

touch pressure

GPIO-touch.jpg

In order to use touch pressure: I kept the circuit only replacing the variable resistor with 2 metal pins.

The result is very interesting.

  • 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


To Do

  • design circuit in small prototyping strip board
  • change and test script with more than 1 circuit