Skip to content

rPi and oF based device to elaborate piezo sensors signals and transmit them over OSC

Notifications You must be signed in to change notification settings

cpethica/ofxRPiezos

 
 

Repository files navigation

ofxRPiezos

This is a system composed by a shield to mount on the rPi, a server application running on the rPi to elaborate signals and a client side calibration utility.

You need oF 0.9.8, and on the rPi you also need ofxGPIO.

The server app has to be running on the raspberry pi. You have to edit the bin/data/ip.xml file to setup the port and the ip of your desktop for the calibration. Then you have to run the calibrate app on the desktop. Set the IP of the raspberry pi in the bin/data/ip.xml file in the app folder. In this app you can enable and disable the single piezos and set up the thresholds for triggering. You can also enable and set up the envelope follower for each piezo.
If the destination for the OSC messages is different from your desktop you can now edit the ip.xml file again and then relaunch the server app, otherwise you should just start your client app and parse the OSC messages as you wish. For more info on how to build the hardware, go into the hardware folder.

perfboard prototype:
alt tag

calibration utility:
alt tag

About

rPi and oF based device to elaborate piezo sensors signals and transmit them over OSC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 55.4%
  • Makefile 44.0%
  • C 0.6%