General

MICROWAVE SENSOR SEN0521

userHead DAVIDE.COGLIATI 2024-07-29 13:45:06 181 Views2 Replies

Hello,

I am using this sensor, Microwave SEN0521 MOVEMENT sensor, and seems all ok. Only one

problem, when it detects a movement it raises a “1” state on the serial trough the  function 

in Arduino “val = Sensor.readPresenceDetection();” and this state doesn't go back to “0” after

the configured “latency” time …seems to stack to “1” and waits for a kind of reset ???

Should I issue another command to bring it to “0” again ?

This instruction is running in a loop, continuous….maybe need to place a delay(100) between 2 calls

to the same function ?.

.

Thank you for help !!

Best regards,

D.Cogliati

2024-07-30 12:21:45

Yes, I used this code to make the sensor work, but seems to make one shoot and then stop there….maybe stop and restart sensor ? 

.

Thank you

D.Cogliati

userHeadPic DAVIDE.COGLIATI
2024-07-29 16:07:24

If you use the code given here as it is do you still face the same issue? https://wiki.dfrobot.com/SKU_SEN0521_5.8GHz_Microwave_Radar_Module

userHeadPic lia.ifat