Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. HC-SR501 motion sensor

HC-SR501 motion sensor

Scheduled Pinned Locked Moved Hardware
31 Posts 14 Posters 34.1k Views 9 Watching
  • 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.
  • HomerH Homer

    @BulldogLowell said:

    I am using them indoors to detect motion in/out of rome and hallways. Seems reliable. I mainly use them in wall outlets to detect legs moving by.

    I'd really like to see this. Having the sensor plugged into a wall socket would be perfect! Would you mind sharing how you did this? ie what case etc, so it looks good?

    I have searched, but didn't find anything.

    thanks

    BulldogLowellB Offline
    BulldogLowellB Offline
    BulldogLowell
    Contest Winner
    wrote on last edited by
    #20

    @Homer

    check out this thread

    HomerH 1 Reply Last reply
    0
    • BulldogLowellB BulldogLowell

      @Homer

      check out this thread

      HomerH Offline
      HomerH Offline
      Homer
      wrote on last edited by
      #21

      @BulldogLowell said:

      @Homer

      check out this thread

      Awesome thanks heaps! Checking it out now :-)

      S 1 Reply Last reply
      0
      • HomerH Homer

        @BulldogLowell said:

        @Homer

        check out this thread

        Awesome thanks heaps! Checking it out now :-)

        S Offline
        S Offline
        sijumukund
        wrote on last edited by
        #22

        I want to interface HC-SR501 to my renesas controller..is it possible??????????????they mentioned somewhere for arduino only...thatsy doubt..reply fast

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #23

          @sijumukund said:

          renesas controller

          Never heard of it. You'll have to post some more information.

          1 Reply Last reply
          0
          • B Bandra

            Does anybody who has bypassed the onboard regulator on the HC-SR501 be able to post up a photo of where you soldered?

            I thought it was pretty simple and soldered my 3.3V lead to the leg on the 7133. It seems to power up (at least, so says my voltmeter), but the trigger (output) pin just goes high immediately and never changes. So on my sensors network it is just constantly triggering (even when there's no motion).

            I'm doing something wrong, but not sure what it is. Any hints?

            A Offline
            A Offline
            adrianmihai83
            wrote on last edited by
            #24

            @Bandra said:

            Does anybody who has bypassed the onboard regulator on the HC-SR501 be able to post up a photo of where you soldered?

            I thought it was pretty simple and soldered my 3.3V lead to the leg on the 7133. It seems to power up (at least, so says my voltmeter), but the trigger (output) pin just goes high immediately and never changes. So on my sensors network it is just constantly triggering (even when there's no motion).

            I'm doing something wrong, but not sure what it is. Any hints?

            @Bandra , have you found any answers to your question? I have exactly the same problem, the output of the sensor goes straight to High, moving the potentiometers sometimes causes it to go Low but not in a stable state, goes low, you trigger it and goes high and stays this way... Maybe the sensor is on his way out... right now I don't have another one to test with.

            1 Reply Last reply
            0
            • T Offline
              T Offline
              therik
              wrote on last edited by
              #25

              Here is what I did...

              Removed the regulator and the diode. Jumpered from the anode of the diode to the location of the output of the 3v3 regulator. Works perfectly, and I can still utilize the original power supply pin! (good for using a standard 3 pin female header, no messy wires). Oh, and make sure your 3v3 power source is clean; boosters are notorious for having significant noise on top of the DC.

              PIR_Modified.jpg

              n3roN 1 Reply Last reply
              1
              • A Offline
                A Offline
                adrianmihai83
                wrote on last edited by adrianmihai83
                #26

                Thank you for your answer. This was not the problem in my case. Long story short, I made a multisensor node for testing on an Arduino Uno and everything went well, the problems started when I moved to Pro Mini 5V version. I only use 3.3V for the radio, all of the other sensors of this node are 5V. The power was not the issue as I used on both Uno and Pro Mini battery power for testing. I moved the sensor back to the Uno setup (used for two weeks for testing) and still was not working. Moved the potentiometer for the Sensibility to the minimum and then I saw random good readings so arrived to the conclusion that there could be some problem with this.

                After some searching I found that my Pir had 105 potentiometer both for Sensibility and Time, and in the schematics there is a 104 for Sensibility and 105 for Time, that's why the sensibility worked only the first mm of the rotation. Searched home but unfortunatly the bigest one I had was 10k and not 100k, put it for testing, pump it to the max and is working like a charm. I will try with 100k as soon as I will get some.
                IMG_0659[2].jpg
                This is a picture with the sensor, mine had 105 on both that's why it was so hard to set. Now the multisensor is in a beautifull case, working and looking smart :).

                abmantisA 1 Reply Last reply
                0
                • T therik

                  Here is what I did...

                  Removed the regulator and the diode. Jumpered from the anode of the diode to the location of the output of the 3v3 regulator. Works perfectly, and I can still utilize the original power supply pin! (good for using a standard 3 pin female header, no messy wires). Oh, and make sure your 3v3 power source is clean; boosters are notorious for having significant noise on top of the DC.

                  PIR_Modified.jpg

                  n3roN Offline
                  n3roN Offline
                  n3ro
                  wrote on last edited by
                  #27

                  @therik Hey, after the modification like you i have UP on the out PIN the whole time. Any ideas whats wrong? =)

                  pimatic + MySensors + Homeduino + z-way
                  https://github.com/n3roGit/MySensors_n3ro

                  1 Reply Last reply
                  0
                  • A adrianmihai83

                    Thank you for your answer. This was not the problem in my case. Long story short, I made a multisensor node for testing on an Arduino Uno and everything went well, the problems started when I moved to Pro Mini 5V version. I only use 3.3V for the radio, all of the other sensors of this node are 5V. The power was not the issue as I used on both Uno and Pro Mini battery power for testing. I moved the sensor back to the Uno setup (used for two weeks for testing) and still was not working. Moved the potentiometer for the Sensibility to the minimum and then I saw random good readings so arrived to the conclusion that there could be some problem with this.

                    After some searching I found that my Pir had 105 potentiometer both for Sensibility and Time, and in the schematics there is a 104 for Sensibility and 105 for Time, that's why the sensibility worked only the first mm of the rotation. Searched home but unfortunatly the bigest one I had was 10k and not 100k, put it for testing, pump it to the max and is working like a charm. I will try with 100k as soon as I will get some.
                    IMG_0659[2].jpg
                    This is a picture with the sensor, mine had 105 on both that's why it was so hard to set. Now the multisensor is in a beautifull case, working and looking smart :).

                    abmantisA Offline
                    abmantisA Offline
                    abmantis
                    wrote on last edited by
                    #28

                    @adrianmihai83 Hey. Did the potentiometer change solved it for good? I've had some issues with the HC-SR501 where it would constantly change from high to low.

                    I have one that has been working great for some months. Today I've made a simple update to the sketch (via OTA, so no physical contact), and now the sensor keeps triggering constantly. It was not a change in the sketch that caused this, I'm sure of that.
                    I've reduced the sensitivity and it seems to have stopped now... Still, it is weird because it was working before, with that same sensitivity level!

                    1 Reply Last reply
                    0
                    • abmantisA Offline
                      abmantisA Offline
                      abmantis
                      wrote on last edited by
                      #29

                      Another question: how does the sensor work when the batteries start to provide less than 3V? How low can it go?

                      1 Reply Last reply
                      0
                      • mrwombleM Offline
                        mrwombleM Offline
                        mrwomble
                        wrote on last edited by
                        #30

                        I've heard that these PIR sensors can get very sensitive when the battery level drops, so it's worth checking the status of those batteries or better yet, trying some new ones.

                        abmantisA 1 Reply Last reply
                        0
                        • mrwombleM mrwomble

                          I've heard that these PIR sensors can get very sensitive when the battery level drops, so it's worth checking the status of those batteries or better yet, trying some new ones.

                          abmantisA Offline
                          abmantisA Offline
                          abmantis
                          wrote on last edited by
                          #31

                          @mrwomble Yeah, the issue was probably due to the battery getting discharged during the OTA update, since that keeps the radio awake for a long time. So, should we use a 3.3V step up converter for this sensor?

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          6

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.0k

                          Posts


                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • MySensors
                          • OpenHardware.io
                          • Categories
                          • Recent
                          • Tags
                          • Popular