• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    Connecting PS4 controller to Isadora

    How To... ?
    3
    7
    241
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SpenserSpratlin
      last edited by

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

      Thanks!

      bonemapB WolandW 3 Replies Last reply Reply Quote 0
      • bonemapB
        bonemap Izzy Guru @SpenserSpratlin
        last edited by

        @spenserspratlin

        Hi,

        There are a number of options for using Arduino microcontrollers with Isadora.

        Depending on your hardware the Isadora Firmata module might be an option:

        https://community.troikatronix.com/topic/7176/arduino-firmata-actor?_=1648031984930

        There is good information about connecting to Arduino boards in the Isadora user manual. What kind of pressure sensors are you intending to use?

        Best wishes

        Russell

        http://bonemap.com | Australia
        Izzy STD/USB 3.2.6 | + Beta 3.x.x
        MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.1.2 Sonoma
        Mac Studio 2023 M2 Ultra 128GB | OSX 14.1.2 Sonoma
        A range of deployable older Macs

        S 1 Reply Last reply Reply Quote 0
        • S
          SpenserSpratlin @bonemap
          last edited by

          @bonemap

          Looking at using something like this: https://www.sparkfun.com/produ...

          I think I may need to abandon the ps4 controller as a proxy, but that's not the biggest deal.

          bonemapB 1 Reply Last reply Reply Quote 0
          • WolandW
            Woland Tech Staff @SpenserSpratlin
            last edited by

            @spenserspratlin said:

            2) Images being revealed by the alpha mask camera feed. 

            You might find this Alpha Mask Tutorial File to be helpful. Some of the Scenes do exactly that.

            Best wishes,

            Woland

            TroikaTronix Technical Support
            New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
            TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
            TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

            | Isadora 3.2.6 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

            S 1 Reply Last reply Reply Quote 0
            • S
              SpenserSpratlin @Woland
              last edited by

              @woland

              I've got the Threshold>Alpha Mask workflow down pretty well. I just needed help with the controller aspect of the project. 

              1 Reply Last reply Reply Quote 0
              • WolandW
                Woland Tech Staff @SpenserSpratlin
                last edited by

                @spenserspratlin said:

                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

                TroikaTronix Technical Support
                New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

                | Isadora 3.2.6 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

                1 Reply Last reply Reply Quote 0
                • bonemapB
                  bonemap Izzy Guru @SpenserSpratlin
                  last edited by

                  @spenserspratlin

                  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

                  Best wishes

                  Russell 

                  http://bonemap.com | Australia
                  Izzy STD/USB 3.2.6 | + Beta 3.x.x
                  MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.1.2 Sonoma
                  Mac Studio 2023 M2 Ultra 128GB | OSX 14.1.2 Sonoma
                  A range of deployable older Macs

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post