• 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.

UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.

Scheduled Pinned Locked Moved Tutorials
103 Posts 17 Posters 77.8k Views 25 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.
  • U Offline
    uros76 @Lipax
    last edited by Jun 7, 2024, 10:41 PM

    @Lipax said in UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.:

    hello,
    i tried this with the microwave sensor, but im out of ideas. i get wrong positives every minute. (i check every 5 sec).
    i added also the ferrite, tried another raspberry, different of these sensors (bought a 5 pack) and placed it in a different room. anyone got any ideas what else i could try?
    or maybe similar microwave sensors i could try?

    any help would be great, tyvm

    Did you try and limit the range as described in beginning of this thread? For me option 2 helped to limit oversensitivity.

    My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

    L 1 Reply Last reply Jun 10, 2024, 7:01 AM Reply Quote 0
    • L Offline
      Lipax @uros76
      last edited by Jun 10, 2024, 7:01 AM

      @uros76
      the range is not the problem. i get positives when nothing is moving near it

      U K 2 Replies Last reply Jun 10, 2024, 12:20 PM Reply Quote 0
      • U Offline
        uros76 @Lipax
        last edited by Jun 10, 2024, 12:20 PM

        @Lipax this sensor is very sensitive and catches any movement 360 around from several meters away. I had same problem… If you don’t dial down the sensitivity-range you will keep getting false positives.

        My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

        1 Reply Last reply Reply Quote 1
        • K Offline
          kayakbabe @Lipax
          last edited by Jun 11, 2024, 2:16 PM

          @Lipax try dialing down the sensitivity, it’s probably picking up dust or something small you can’t see.

          1 Reply Last reply Reply Quote 0
          • L Offline
            Lipax
            last edited by Jun 14, 2024, 3:11 PM

            thanks for the help, but i doubt its some kind of movement since its exactly every minute. i tried a different room and its the same.

            bewegung1.jpg

            S 1 Reply Last reply Jun 14, 2024, 3:19 PM Reply Quote 0
            • S Offline
              sdetweil @Lipax
              last edited by Jun 14, 2024, 3:19 PM

              @Lipax please don’t submit duplicate posts…

              all users with reputation below 2 have their posts reviewed… this eliminates all the porn, advertising and trash posts from the forum.

              it just takes time for (me) to get to review the posts…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              L 1 Reply Last reply Jun 14, 2024, 11:01 PM Reply Quote 1
              • U Offline
                uros76
                last edited by Jun 14, 2024, 8:33 PM

                Can you share your python code? Perhaps there’s something there

                My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                1 Reply Last reply Reply Quote 0
                • L Offline
                  Lipax @sdetweil
                  last edited by Jun 14, 2024, 11:01 PM

                  @sdetweil sry about that

                  @uros76 i hope thats not the problem

                  import RPi.GPIO as GPIO
                  import time
                  import datetime
                  
                  switch=11
                  
                  
                  GPIO.setmode(GPIO.BOARD)
                  GPIO.setup(switch, GPIO.IN)
                  
                  
                  
                  
                  try:
                      while True:
                          if GPIO.input(switch) == 1:
                              now = datetime.datetime.now()
                              print(now.strftime("%Y-%m-%d %H:%M:%S"), "something")
                              
                          time.sleep(5)
                          
                          
                  except KeyboardInterrupt:
                      print("Bye Bye")
                  finally:
                      GPIO.cleanup()
                  
                  

                  thanks for the help

                  U 1 Reply Last reply Jun 15, 2024, 6:15 AM Reply Quote 0
                  • U Offline
                    uros76 @Lipax
                    last edited by uros76 Jun 15, 2024, 6:16 AM Jun 15, 2024, 6:15 AM

                    @Lipax try different gpio pin, like a pin 18 which is a GPIO 5. It’s default set to input function. Don’t forget to adjust the python code, change switch to 18.

                    You might check the GPIO 0 (your pin 11) if it is set to input. Use command: raspi-gpio get 0 or raspi-gpio get to check all GPIO’s.

                    Also, use a multimeter to measure the voltage coming out from sensor. It should be around 3.3V for few seconds when sensing detected. This way you can monitor if actual detection / voltage is coming from sensor.

                    My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                    L 1 Reply Last reply Jun 16, 2024, 1:47 PM Reply Quote 0
                    • L Offline
                      Lipax @uros76
                      last edited by Jun 16, 2024, 1:47 PM

                      @uros76
                      i forget to mention i already changed the pin, i first tried pin 7 before

                      according to pinout.xyz my pin 11 is gpio 17

                      GPIO 17: level=0 fsel=0 func=INPUT
                      

                      thank you very much for helping me, i dont have a multi meter but ill ask my father to do that. u think its not the sensor sending the signal? maybe it picks up something with the wire along the way? i dont have a engineering background.

                      U 1 Reply Last reply Jun 16, 2024, 2:49 PM Reply Quote 0
                      • 1
                      • 2
                      • 7
                      • 8
                      • 9
                      • 10
                      • 11
                      • 10 / 11
                      10 / 11
                      • First post
                        94/103
                        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