• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [ANSWERED] Isadora, Arduino, and Magnetic speed sensor

    How To... ?
    5
    23
    35461
    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.
    • A
      andrea vassallo last edited by Woland

      Hi Everyone

      I need desperately some help.

      I have a Crossfit machine, I would like to use the magnet speed sensor to trigger Isadora to show a video only when someone is using the machine.

      I connect the sensor to the Arduino board, which is then connected to a Mac via USB cable.


      now my questions are:


      1 will Isadora allow showing the video even if, for example, someone uses the machine for a long time??

      2 can the video be played in the background when someone is not using the machine?

      3 which actor do I have to use? (my guess is serial in watcher)

      4 and finally does anyone know some code for the Arduino board that could help me?

      Thanks to anyone that could help.......I would really be grateful 

      Woland bonemap 2 Replies Last reply Reply Quote 0
      • Woland
        Woland Tech Staff @andrea vassallo last edited by

        @andrea-vassallo said:

        1 will Isadora allow showing the video even if, for example, someone uses the machine for a long time??
        2 can the video be played in the background when someone is not using the machine?

         1. Yes, you just have to setup the logic for your file to work that way.

        2. Yes,just have the condition that triggers showing the video control the intensity of the Projector actor that your Movie Player actor is going to and enable looping on your Movie Player actor. That way the video will constantly be playing, but will only be visible when the specific conditions you require are met.

        TroikaTronix Technical Support
        New Support Ticket: https://support.troikatronix.com/support/tickets/new
        Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
        Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
        Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

        | Isadora Version: all of them | 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
        • bonemap
          bonemap Izzy Guru @andrea vassallo last edited by Woland

          @andrea-vassallo

          I would suggest the simplest solution here is to use the Isadora Arduino Firmata actor...

          Here is a step-by-step guide to set up an Arduino with the standard Firmata sketch to use with Isadora -

          Standard Firmata instructions.

          here is a screen grab of a patch using an gyro sensor connected to an Arduino board and the Isadora Firmata..


          Best Wishes

          Russell

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

          A 1 Reply Last reply Reply Quote 1
          • A
            andrea vassallo @bonemap last edited by

            @bonemap

            thank you very much for your help. 

            i still have a problem.

            call me dumbed but I cannot find the firmata actor in isadora....i have been searching online how to but I cannot find the way.


            would you be kind to clarify this for me??

            thank you

            Woland 1 Reply Last reply Reply Quote 0
            • Woland
              Woland Tech Staff @andrea vassallo last edited by

              @andrea-vassallo

              We're working on getting it up on the Add-Ons Page, but for now it's available on the forum: https://community.troikatronix.com/topic/7176/arduino-firmata-actor?_=1660042790757

              Best wishes,

              Woland

              TroikaTronix Technical Support
              New Support Ticket: https://support.troikatronix.com/support/tickets/new
              Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
              Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
              Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

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

              A 1 Reply Last reply Reply Quote 0
              • A
                andrea vassallo @Woland last edited by

                @woland thank you

                I found it and follow the very clear tutoria.

                I installed the plug-in (I checked into help/open plug-in folder, and the plug-in is there) but when I double click on Isadora main screen and I search for firmata or Arduino, the plug-in does not appear.

                do you have any advice?

                i restarted Isadora and nothing

                bonemap 1 Reply Last reply Reply Quote 0
                • bonemap
                  bonemap Izzy Guru @andrea vassallo last edited by

                  @andrea-vassallo

                  Hi,

                  You might check that it is in the correct IsadoraPlugins_x64 folder on your system...

                  Best Wishes

                  Russell

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

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    andrea vassallo @bonemap last edited by

                    @bonemap thank you for your help

                    i am going crazy:(

                    it is in there 


                    I really do not know what else to try

                    bonemap 1 Reply Last reply Reply Quote 0
                    • bonemap
                      bonemap Izzy Guru @andrea vassallo last edited by

                      @andrea-vassallo

                      What version of Mac OS are you using? Have you tried restarting the computer?

                      Best Wishes

                      Russell

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

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        andrea vassallo @bonemap last edited by

                        @bonemap thank you for you patient 

                        just restarted the mac and nothing.

                        I run Monterey 12.3.1

                        just now I also went into Isadora preferences/plug-ins and change the freeframe plugin directory without success (i went back to the default setting in case I was messing up something else )

                        bonemap Woland 2 Replies Last reply Reply Quote 0
                        • bonemap
                          bonemap Izzy Guru @andrea vassallo last edited by

                          @andrea-vassallo

                          Does it appear in the 'Communications' tool set?

                          Best Wishes

                          Russell

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

                          A 1 Reply Last reply Reply Quote 0
                          • Woland
                            Woland Tech Staff @andrea vassallo last edited by Woland

                            @andrea-vassallo said:

                            I run Monterey 12.3.1

                             Are you on an M1 Mac? If so, you might need to run Isadora in Rosetta. Maybe the Arduino code is not M1-compatible, I don't know. (I'm in a meeting but can test this later on my M1 test machine.)

                            TroikaTronix Technical Support
                            New Support Ticket: https://support.troikatronix.com/support/tickets/new
                            Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                            Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
                            Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

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

                            A bonemap 3 Replies Last reply Reply Quote 1
                            • A
                              andrea vassallo @bonemap last edited by

                              @bonemap


                              unfortunately no:(

                              1 Reply Last reply Reply Quote 0
                              • A
                                andrea vassallo @Woland last edited by

                                @woland Yes i am running isadaro on  M1 system....perhaps is that


                                thank you 

                                1 Reply Last reply Reply Quote 0
                                • A
                                  andrea vassallo @Woland last edited by

                                  @woland you are a starrrrrrrrrrrrrrrrrr

                                  i am now running Isadora with rosetta and the plug in appeared..........very happy for now:)

                                  1 Reply Last reply Reply Quote 1
                                  • A
                                    andrea vassallo last edited by andrea vassallo

                                    hi guys 

                                    you have saved my day :)

                                    I do not want to abuse your patient....but I have another issue.

                                    now my speed sensor is connected to the Arduino and Isadora reads the values.

                                    when the cross-fit machine is not in use the values displayed on the Arduino-Firmata-Watcher are constantly changing.

                                    If I activate the machine the value stops only when the magnet is aligned with the sensor, therefore it goes off once every revolution.

                                    how do I tell the projector to switch off when the values keep changing and to switch on only when the isadora detects several consecutive passages of the magnet in front of the sensor?

                                    As you can probably imagine by now I am a novice to all of this.

                                    i really hope you have an answer

                                    thank you for all your knowledge

                                    P.S. i did try to use many different actors but without success 

                                    jfg 1 Reply Last reply Reply Quote 0
                                    • jfg
                                      jfg @andrea vassallo last edited by

                                      @andrea-vassallo

                                      Have you tried with the value changed actor? It is difficult to find a solution without the inputs  values and to know how they change

                                      best

                                      Jean-François

                                      • Izzy 3.2.6
                                      - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
                                      - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
                                      Mac OS 10.14.6 (Mojave)
                                      - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

                                      • A range of deployable older Macs
                                        Located in Bremen, Germany
                                      A 1 Reply Last reply Reply Quote 0
                                      • bonemap
                                        bonemap Izzy Guru @Woland last edited by

                                        @woland

                                        Thanks for clarifying that and it is good to know. Perhaps the Arduino solution will revert back to serial actors if the Firmata actor does not migrate to ARM.


                                        best wishes

                                        Russell

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

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          andrea vassallo @jfg last edited by

                                          @jfg hi and thank you for your answer


                                          the values change constantly from a min of 107 to a max of 304 when the machine is not moving.

                                          when the sensor passes by the magnet data goes off and the value becomes 0

                                          see 2 photos

                                          I did try value change actor but nothing

                                          do you think there is a way to say if value goes off twice switch on projector, otherwise stay off?

                                          Skulpture Woland 2 Replies Last reply Reply Quote 0
                                          • Skulpture
                                            Skulpture Izzy Guru @andrea vassallo last edited by

                                            @andrea-vassallo said:

                                            <p>do you think there is a way to say if value goes off twice switch on projector, otherwise stay off?</p>

                                            Logical calculator. Basically, if 1 and 1 then = 1 

                                            And you can connect the output to and off/on toggle actor.

                                             

                                            Graham Thorne | www.grahamthorne.co.uk
                                            RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                                            RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                                            RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

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