Connecting PS4 controller to Isadora
I'm using Isadora for an installation, and I need to accomplish a few things:
1) camera feed with a Threshold filter creating an alpha mask on a White solid.
2) Images being revealed by the alpha mask camera feed.
3) some type of controller to change the images being revealed by the alpha mask.
I'm thinking about using an Arduino as a controller, but in the meantime for testing purposes, I'd like to use a ps4 controller as a stand-in. Is there a way to connect a ps4 controller to Isadora? My computer is recognizing the controller, but I can't seem to get it to appear in the Serial Control window, or the HID window. Is there something I am missing?
Also, any tips on interfacing an Arduino using pressure sensors? I need Isadora to recognize each pressure sensor individually (and possibly combinations as well? that's less important).
There are a number of options for using Arduino microcontrollers with Isadora.
Depending on your hardware the Isadora Firmata module might be an option:
There is good information about connecting to Arduino boards in the Isadora user manual. What kind of pressure sensors are you intending to use?
I've got the Threshold>Alpha Mask workflow down pretty well. I just needed help with the controller aspect of the project.
each pressure sensor individually (and possibly combinations as well?
The answers to detecting the correct values or combinations of the correct values on multiple sensors and using that condition to trigger things are Comparator actors, Inside Range actors, and Simultaneity actors.
See Scenes 10-15 of this Example File: 2022-03-23_basics_of_logic_revised.izz
It will be entirely possible to use that kind of sensor with Isadora when interfaced with an Arduino. I don’t have any of those sensors myself, but there is useful information and a hook-up guide available through Sparkfun: https://learn.sparkfun.com/tutorials/force-sensitive-resistor-hookup-guide?_ga=2.146800052.1210378344.1648068913-1689748914.1648068913