I have successfully connected an NCD Motion Detection Sensor to my Micro MQTT Gateway, however when I try triggering the sensor by passing things over it or past it, nothing happens. It transmits an initial message when it connects or is reset but that’s it.
Any thoughts? Is there some initial configuration I need to do? Not sure why it’s unresponsive.
the sensor has an inbuilt trigger threshold. it counts number of pulses and then fires an int which sends a message.
the reason behind doing that is reducing any false triggers. which sometime even could be caused by change in light in the area or bird flying by.
the default counter value is 10. once it detects 10 movements in a row it will trigger the int. when you slide your hand over the sensor you very well could be generating few int.
slide your hand for a few time and you will get a message.
The counter threshold value is user configurable. You can change it according to your requirement or you can choose to disable it all together.
My plan was to use this sensor to distinguish when boards pass underneath it on an assembly line, but I would need to make the sensor transmit basically every second to accurately capture each board wouldn’t I?
if that’s the case, I was wondering what other sensor solution NCD might have for effectively capturing this sort of data, maybe something with a laser?
I have used this sensor in past with a push notification and counter product. In my test case i was counting the objects passing between the sensor ( like on a conveyer belt). this works really well.
i prefer using this with a counter instead with a push notification.