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. My Project
  3. Human detecting Sensor

Human detecting Sensor

Scheduled Pinned Locked Moved My Project
8 Posts 6 Posters 2.4k Views 6 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.
  • Ŕähûł ŚïñģhŔ Offline
    Ŕähûł ŚïñģhŔ Offline
    Ŕähûł Śïñģh
    wrote on last edited by
    #1

    trying to make human detecting sensor which can detect the presence of human automatically.

    wallyllamaW 1 Reply Last reply
    0
    • M Offline
      M Offline
      marvin78
      wrote on last edited by
      #2

      How do you plan to do that? Compnonents?

      1 Reply Last reply
      0
      • Ŕähûł ŚïñģhŔ Ŕähûł Śïñģh

        trying to make human detecting sensor which can detect the presence of human automatically.

        wallyllamaW Offline
        wallyllamaW Offline
        wallyllama
        wrote on last edited by
        #3

        @ŕähûł-śïñģh if you are successful you'll be rich. There are simple detectors like pir, and complex like cameras with computer vision software. Im working with amg8832 chips with 8x8 grid of temp sensors, essentially a low res camera. I looked at radar "pir" modules and thought modulating the voltage would give data that can be processed, again complex, combining pir and ir door sensors has been suggested. None of this is my original idea, im just trying to piece something together.

        Constantine PoltyrevC 1 Reply Last reply
        2
        • N Offline
          N Offline
          Newzwaver
          wrote on last edited by
          #4

          Any ideas on how to start? Maybe we can all help.

          dbemowskD 1 Reply Last reply
          0
          • N Newzwaver

            Any ideas on how to start? Maybe we can all help.

            dbemowskD Offline
            dbemowskD Offline
            dbemowsk
            wrote on last edited by
            #5

            @newzwaver have a look at this thread that I started a while back:
            https://forum.mysensors.org/topic/7814/a-smart-home-vs-an-automated-home
            there is a lot of discussion on this topic.

            Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
            Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

            1 Reply Last reply
            1
            • wallyllamaW wallyllama

              @ŕähûł-śïñģh if you are successful you'll be rich. There are simple detectors like pir, and complex like cameras with computer vision software. Im working with amg8832 chips with 8x8 grid of temp sensors, essentially a low res camera. I looked at radar "pir" modules and thought modulating the voltage would give data that can be processed, again complex, combining pir and ir door sensors has been suggested. None of this is my original idea, im just trying to piece something together.

              Constantine PoltyrevC Offline
              Constantine PoltyrevC Offline
              Constantine Poltyrev
              wrote on last edited by
              #6

              @wallyllama Just got my amg8832 evaluation board. Do you have any presence detection code to share?

              wallyllamaW 1 Reply Last reply
              0
              • Constantine PoltyrevC Constantine Poltyrev

                @wallyllama Just got my amg8832 evaluation board. Do you have any presence detection code to share?

                wallyllamaW Offline
                wallyllamaW Offline
                wallyllama
                wrote on last edited by
                #7

                @constantine-poltyrev i dont have code yet. I havent really started on software yet. My thinking is to start by using the adafruit code as a base, set up the sensor in a likely spot and modify the code to stream data to a pc or r-pi, maybe with a web cam next to it for comparison. Id look to see if there are patterns visually that are helpful, but my real hope is that since the pixels are temperatures, the ones with people are at people temperature, so around 37°c.

                Maybe the first filter would call out pixels in the 35-40 degree range, and send 0 for the rest. If that gives a spot that has few false readings it may be good enough for "there is at least one human present" or not readings. A glorified pir.

                Likely though a person will be more than 1 pixel, or worse part of more than one pixel, how to know if two cooler pixels represent 1/2 a person each, then there is the problem of the sun heating something to human temperature. My gut feeling is these are simple enough that existing solutions can be adapted. I dont know what those are yet, maybe bayesian filters, maybe some sort of computer vision.

                A hardware product called openmv may provide some inspiration. It uses something called micropython and opencv. With 64 pixels we have a simplifies case, but I think an arduino is not going to be enough, a raspberry pi or maybe a nanopi neo should be sufficient.

                I think that is the current contents of my brain on this, experiments are the next step. Starting with streaming some data and looking at it.

                Constantine PoltyrevC 1 Reply Last reply
                1
                • wallyllamaW wallyllama

                  @constantine-poltyrev i dont have code yet. I havent really started on software yet. My thinking is to start by using the adafruit code as a base, set up the sensor in a likely spot and modify the code to stream data to a pc or r-pi, maybe with a web cam next to it for comparison. Id look to see if there are patterns visually that are helpful, but my real hope is that since the pixels are temperatures, the ones with people are at people temperature, so around 37°c.

                  Maybe the first filter would call out pixels in the 35-40 degree range, and send 0 for the rest. If that gives a spot that has few false readings it may be good enough for "there is at least one human present" or not readings. A glorified pir.

                  Likely though a person will be more than 1 pixel, or worse part of more than one pixel, how to know if two cooler pixels represent 1/2 a person each, then there is the problem of the sun heating something to human temperature. My gut feeling is these are simple enough that existing solutions can be adapted. I dont know what those are yet, maybe bayesian filters, maybe some sort of computer vision.

                  A hardware product called openmv may provide some inspiration. It uses something called micropython and opencv. With 64 pixels we have a simplifies case, but I think an arduino is not going to be enough, a raspberry pi or maybe a nanopi neo should be sufficient.

                  I think that is the current contents of my brain on this, experiments are the next step. Starting with streaming some data and looking at it.

                  Constantine PoltyrevC Offline
                  Constantine PoltyrevC Offline
                  Constantine Poltyrev
                  wrote on last edited by
                  #8

                  @wallyllama I experimented a bit with the software that goes with the evaluation board. It looks like the temperature filter should be dynamic as the measured temperature for a single pixel depends on object distance since each pixel has a view angle and the resulting temperature is an average of the covered area which obviously grows with the distance. So in real life you get 24 to 31 Celsius for people in the room if you have the sensor mounted in the middle of the ceiling.
                  Panasonic has some people tracking demo app and they even provide it's source if you sign their SLA, so it also could be a good starting point. I haven't obtained the source yet though.

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


                  14

                  Online

                  11.7k

                  Users

                  11.2k

                  Topics

                  113.1k

                  Posts


                  Copyright 2025 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