Arduino uno related with sanitiser machine

Hii
Me ek sanitiser machine banaya hu mera ko uske pir sensor connect karne ha me Arduino me coding kar liya hu per isko motor se kese connect karu plz… Help…


Yeah motor ki pic ha

@anandgoel88 Hello Bro first check what kind of motor it is, If it is a Servo then because you are using Arduino you can use PWM signals to trigger it. If it is any other type of motor then you will need a motor driver which connects to the power supply and then the Arduino through which you will be able to give digital values to the motor driver to control the motor.

NOTE: Don’t forget to write the reverse direction code to the motor so that after the sanitiser is pushed out it will return back to its initial position for the next person.

For this u need a motor driver that should be connected to the required power supply and to be triggered by the arduino.