The 10K trimpot (P1) in the circuit can be used to ‘fine-tune’ the detection sensitivity/threshold value.LM311N LM311 heart rate monitor using LM358 heart rate monitor using LM358 LM358 voltage comparator LM358 IN COMPARATOR CIRCUIT LM358 comparator low speed. In the below scheme, one segment of the LM358 (IC1A) is wired as a voltage comparator configured to run on 5VDC. Even though it’s possible to use the LM393 IC at the core, I opted for the LM358 IC as it’s the only one at the ready.
...So here this figure has to use the 3-volt battery as a power supply and regulate R2 register to obtain the necessary sensitivity. So fix the sensor firmly to the surface, where ever you place it and it is always good to place the sensor near to the doorknob. This is because, when inverting input has little effect when the LM358 IC is triggered and the state can't be easily inverted. The buzzer remains beeping for some time even f the vibration is detached. Then it gives the buzzer sound.