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

    ARDUINO INFRARED SENSOR DRIVING A VIDEO

    How To... ?
    3
    4
    1.5k
    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.
    • lucslikeL
      lucslike
      last edited by

      Hi everybody, Im new to ISADORA..and fully involved in exploring its potential.. 

      I am looking for help in regards to an installation project.I have set up a infrared sensor through arduino into isadora, which is working very well with "Serial in watcher, a "Text Parser" and a "Comparator" Actors in order to set a minimum distance (value) to send to a "Trigger value" to turn on the video projection. So I put the Trigger (value 0) that goes to the "Position" command of the Movie Player. When the person get close to the sensor, the video starts and goes to the end, which is exactly what I want. I also put the "Loop" command OFF...
      Now my question is, when the video ends **how do I make ****the video jump back to the beginning of the video clip  straight away?  Any help would be kindly appreciated.. **

      cca68f-patch-arduino-isadora.png

      1 Reply Last reply Reply Quote 0
      • dbiniD
        dbini
        last edited by

        you're almost there. connect the output of that trigger value of 0 to both the position and speed of the movie player, then add a trigger value of 1 that is triggered by your comparator and outputs to the play speed of the movie player. should do it....

        John Collingswood
        taikabox.com
        2013 MBPR 2.3GHZ i7 OSX11.7.4 16GB
        & 2019 MBPT 2.6GHZ i7 OSX12.3 16GB

        1 Reply Last reply Reply Quote 0
        • lucslikeL
          lucslike
          last edited by

          Thank you very much, I guess I followed correctly your suggestions and it works! At the end the movie goes back to the beginning, which is exactly what I was trying to do.

          I also simplified the patch, taking off a trigger connected to the Comparator "true" output and on the "Position" Movie Player input, which brings the movie back to the beginning during its playback.
          So what I have now is that the presence of a person starts the movie and it goes on to the end even if the person moves far and then come back, ore even if another person come closer to the sensor, which is perfect!
          Thanks a lot again and stay in touch!
          1 Reply Last reply Reply Quote 0
          • SkulptureS
            Skulpture Izzy Guru
            last edited by

            Thanks @dbini for your quick reply to @lucslike.

            Glad you have it sorted. Keep us posted 🙂

            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
            • First post
              Last post