Im really bad for schematic, D6 is going to output of sensor 501. I measured the ping D4 of wemos and i get constant 3v can be the fault? i changed the code to use D5 of wemos instead of 4 but now i dont get any buzzer. I checked pin d6 and i get voltage when sensor detect movement.
Regards!!