Hi guys i have a discontinued GHI PIR module. Is there any code samples how to set it up and use within gadgeeter project? I am using netmf v4.3. Thank you.
If youāre using plain NETMF (rather than Gadgeteer), you can check the source for the PIR module driver to see how its implementedā¦that link is also in the link above.
Hi to all. Does anybody meet the problem adding a discontinued modules to netmf v4.3 gadgeeter project? I want to add PIR module, but it says that it is not usable in netmf v4.3ā¦ how to overcome this problem? (picture attached)
@ Alex Bilityuk - I might be able to help you if GHI doesnāt mind me building a 4.3 driver for this module. If its OK, Iāll build the driver but can you test it?
The other thing to note is its American Thanksgiving so the GHI guys might be enjoying some holidays this weekend.
I set up the module with default settings (picture attached) in socket (1) of my Cerbuino bee and run the code in debug. And what i have? i have continiously triggered event and every time i got āmotion detectedā in my output window.
Can you explaine guys how actualy i should detect a motion with this module? I what to trigger the event when it really detects the motionā¦
@ Alex Bilityuk - To be honest Iāve always found this module to be a tad frustrating, not because it doesnāt work, but because I never took the time to understand how it works (Iām really just a software guy so I live for instant hardware gratification, and ultimately why I love Gadgeteer as nothing delivers instant hardware gratification like Gadgeteer). So a little research into the matter and I found this which looks to be the base module:
given the module uses a LHI778 PIR chip and has āadjustmentsā. Those adjustments are for distance and delay and the jumper I believe is for āRepeatableā / āNon-repeatable trigger/ delay modeā.
Very useful linkes, thank you very much! Yesterday i tried to tune the pots in different ways, switch the trigger jumper and so on, but nothing heleped, motion event handler handle the event continiously and that is it. It seems like module doesnt feel the motion at all.
Maybe we should use another technics?? John did you give a try for this frustrating PIR?
@ Alex Bilityuk - We have always had a bunch of trouble like this with the module, which is partly why it was discontinued. We never were able to track down why this occurred on some modules.
not Gadgeteer, but since itās really just pulling one signal pin low when it triggers, it should be pretty easy to use even without a full Gadgeteer implementation.
Looks to be very similar to the Gadgeteer PIR, but without the socket, so you might be able to use a breakout module to wire it up and use the Gadgeteer PIR driver.
The other thing that might be worth trying is using a breakout module to power the PIR without a microcontroller, and measure the signal pin with either a multimeter or (if you have one) a scope.
That way, you can isolate the sensor itself from the driver.