NordicSemiconductor / Nordic-Thingy52-FW

Nordic Thingy:52 software development kit. This kit is designed to assist users in developing their own custom firmware for Thingy. Please see http://www.nordicsemi.com/thingy for the latest news and software releases.
Other
210 stars 133 forks source link

Presense detection feature #30

Closed xrow closed 6 years ago

xrow commented 6 years ago

Hi,

I bought some thingy for testing. I was thinking the thingy52 could detect presence of a person in a room. E.g. Person enters room. Stays in room. Is this even possible from the hardware side? I thought the thing would have the feature, but could not find it.

jorgenmk commented 6 years ago

Hi, If you want to use Thingy hardware for detecting presence of people you could use the microphone or the motion sensor. Detect noises from opening door, speech etc. Or attach it to the door and detect the motion.

xrow commented 6 years ago

Dear @jorgenmk thanks for the feedback.

Hmmm... Motion sensor.... Is there a way to simlulate presence with the android app? No figure shows a new value, if I put the thingies on the table and move, run around them and do funny faces.

koffes commented 6 years ago

The motion sensor on Thingy:52 is an inertial measurement unit (IMU) and can only detect the device itself being moved. If you want to detect presence in a room, I suggest using a camera or infrared motion sensor.

xrow commented 6 years ago

Ok I guess we can close this now. I was hopeing and actually looking for a presence detector. Else of course it would be nice to see this capability in a new hardware revision.

koffes commented 6 years ago

Thank you for the feedback. We will keep it in mind in case there will be a future version. There may be IR motion sensors that can be attached to the I2C bus of Thingy:52. In this way, you may achieve the desired functionality through an external sensor. This requires some knowledge of hardware and C to bring up.

xrow commented 6 years ago

@koffes Hi thanks for the idea. Would you be able to share a link to such an sensor?

koffes commented 6 years ago

Since I have not used such a sensor it is difficult for me to recommend. If you search for "ir motion sensor i2c" you get some relevant results.