• 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
    35462
    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.
    • 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
                      • Woland
                        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: 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 1
                        • jfg
                          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
                          - 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
                          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