This is the simple arduino based project.In this project PIR is input signal to change the rotation of servo motor.As Motion sensor detect motion ,Servo motor automatically rotate as per our required angle( mention in code)
Also this type of model we can use for door lock system to lock and unlock electromechanical lock easily.
I want to just guide all of you ensure that proper voltages given to all the components to operate motor smoothly.
code link- [ Ссылка ]
![](https://i.ytimg.com/vi/fZ9Zgg4bfvo/maxresdefault.jpg)