• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Gesture control with APDS-9960

Scheduled Pinned Locked Moved Development
18 Posts 8 Posters 10.3k Views 10 Watching
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.
  • B Offline
    broberg Project Sponsor
    last edited by broberg Jan 30, 2017, 5:39 PM Jan 30, 2017, 5:09 PM

    Since my plan of using a touchfoil blew up in my face due to my own stupid assumptions. I have to look in to other means of controlling my mirror. (No, a IR-frame is sadly not an option due to the shape and size of my mirror.)

    Searching here there is one Gesture module (MMM-Swipe) that uses the HC-SR04 ultrasonic sensor,
    It’s a cheap sensor and most of the work is done, so I have ordered one of those too.
    The cons are however that is limited to three inputs, left, right and “push”.

    The APDS-9960 Sensor ( https://www.sparkfun.com/products/12787 ) However has also swipe up/down,
    and it’s a optical sensor, so with a smidge of luck, it might work behind the glass (not counting on it though).
    Bad thing is the range is only 10-20cm above (without anything in it’s way), so basically has to swipe on the mirror itself.

    And, the APDS isn’t MM2 ready, it isn’t really raspberry ready either so it would probably require some long nights tinkering for me. So if the first tests are a success I might need some help getting the sensor to work with the MM2.

    S 1 Reply Last reply Jan 30, 2017, 5:35 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @broberg
      last edited by Jan 30, 2017, 5:35 PM

      @broberg looking forward to your results

      i think this could be also interesting http://www.exp-tech.de/pimoroni-skywriter-hat-3d-gesture-sensor-raspberry-pi

      Please create a github issue if you need help, so I can keep track

      B 1 Reply Last reply Jan 30, 2017, 5:38 PM Reply Quote 0
      • B Offline
        broberg Project Sponsor @strawberry 3.141
        last edited by Jan 30, 2017, 5:38 PM

        @strawberry-3.141 Yeah I saw that one to when I was looking around,
        It works basically on the same principle as the touch foil I have besides me right now, so anything of metal would disrupt it I think, (I’m really hopeful the optical sensor will work through the mirror glass)

        C 1 Reply Last reply Jan 30, 2017, 10:55 PM Reply Quote 0
        • C Offline
          cowboysdude Module Developer @broberg
          last edited by Jan 30, 2017, 10:55 PM

          @broberg Let us all know if it does :)

          1 Reply Last reply Reply Quote 0
          • B Offline
            broberg Project Sponsor
            last edited by Feb 3, 2017, 6:54 PM

            Well, It doesn’t work through the glass. But it works!

            and it’s somewhat sensitive to get the motions right, maybe that is a software issue and not hardware, BUT it does read side to side and up down. Which is good and opens up to navigate modules easier.

            But it bugs me that I have to build a box for it outside the mirror.

            1 Reply Last reply Reply Quote 1
            • B Offline
              broberg Project Sponsor
              last edited by Feb 6, 2017, 2:45 PM

              Okey guys, I’d really need some guidance. My head goes round in circles and I don’t know where to start.

              As mentioned before I’ve gotten the sensor to work with the help of wiringPi and a c library converted for the pi.

              Then I Found this : https://github.com/jiahuang/apds-gesture
              a control driver for node, but that is using a Tessel and I can’t really understand how to replace the tessel line with Raspberry.

              I’m guessing I need an i2c module to let the apds-gesture connect to the raspberrys pins?

              B 1 Reply Last reply Jan 20, 2019, 3:17 PM Reply Quote 0
              • B Offline
                bibi @broberg
                last edited by Jan 20, 2019, 3:17 PM

                @broberg did you find any suitable solution or stopped your project?

                B 1 Reply Last reply Jan 20, 2019, 3:21 PM Reply Quote 0
                • B Offline
                  broberg Project Sponsor @bibi
                  last edited by Jan 20, 2019, 3:21 PM

                  @bibi It’s on hold, the big drawback is that I haven’t included space for any sensor in the frame, so any addon would “stick out” and look wonky.
                  So maybe I’ll just add some physical buttons and make a tree style menu instead.

                  B 1 Reply Last reply Jan 20, 2019, 4:08 PM Reply Quote 0
                  • B Offline
                    bibi @broberg
                    last edited by Jan 20, 2019, 4:08 PM

                    @broberg yea haven’t neither think about room for it while building my one… :smiling_face_with_open_mouth_cold_sweat:

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User
                      last edited by Jan 20, 2019, 4:13 PM

                      I’m not sure whether it is compatible with APDS-9960, but I made a module for GroveGesture Sensor(PAJ7620u2 compatible)
                      https://github.com/eouia/MMM-GroveGestures

                      2.1.0 demo

                      image

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy