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

    [ANSWERED] Isadora, Arduino, and Magnetic speed sensor

    How To... ?
    5
    23
    1.2k
    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.
    • WolandW
      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 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 |

      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

        bonemapB 1 Reply Last reply Reply Quote 0
        • bonemapB
          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/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

          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

            bonemapB 1 Reply Last reply Reply Quote 0
            • bonemapB
              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/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

              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 )

                bonemapB WolandW 2 Replies Last reply Reply Quote 0
                • bonemapB
                  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/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

                  A 1 Reply Last reply Reply Quote 0
                  • WolandW
                    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 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 |

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

                            jfgJ 1 Reply Last reply Reply Quote 0
                            • jfgJ
                              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, Mac OS 14.1 Sonoma:
                              - MacBook Pro M1 Max 16" 64GB RAM
                              • Izzy 3.2.6, Mac OS 10.14.6 (Mojave):
                              - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
                              - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

                              Located in Bremen, Germany

                              A 1 Reply Last reply Reply Quote 0
                              • bonemapB
                                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/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
                                • 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?

                                  SkulptureS WolandW 2 Replies Last reply Reply Quote 0
                                  • SkulptureS
                                    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: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                                    RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                                    RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

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

                                      @andrea-vassallo said:

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

                                      I'm unclear what is supposed to turn the Projector back off after it turns on, but I made three rough examples that hopefully will help you create the logic you need. If none of this is what you need, please describe the behavior you want in greater detail.

                                      FILE DOWNLOAD

                                      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 |

                                      A 1 Reply Last reply Reply Quote 1
                                      • jfgJ
                                        jfg
                                        last edited by

                                        @andrea-vassallo

                                        if I really understand what you want:

                                        Set on "off" the simulator send different values (from 107 to304). Set on "on" it sent "0" with a frequent of 0,5 Hz. But you don't need it, you have your sensor. Just to explain what it does.

                                        I hope it helps.

                                        best

                                        Jean-François 

                                        • Izzy 3.2.6, Mac OS 14.1 Sonoma:
                                        - MacBook Pro M1 Max 16" 64GB RAM
                                        • Izzy 3.2.6, Mac OS 10.14.6 (Mojave):
                                        - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
                                        - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

                                        Located in Bremen, Germany

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

                                          @woland

                                          first of all, thank you very much. 

                                          I applied the 3rd example and it worked. I had to tweak a few values but it works perfectly.

                                          The project, which is part of my practice-based PhD, is an art installation.

                                          I walked from England to Italy last summer, and I want the visitor to the installation to experience part of my walk.

                                          When they enter the space, they are presented with a walking machine (along with other things). 

                                          When they start walking the video, recorded with a 360 camera, of my walk is activated and when they stop the video carries on without showing, and you can just hear the sound. 

                                          It is a way for me to create a sort of reward, where if they walk they can see what is happening.

                                          I was really stressing out, and you guys here are so knowledgeable and really helped. 

                                          And if you are ok, I will mention all of you in this topic and the troikatronix community, in the acknowledgement of my final thesis.

                                          Really thank you!!!!!!!!!!!!!!

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