To control a servo motor using Arduino and simulate the opening and closing of a dustbin lid.
Circuit Connection
Arduino IDE Coding
This project opens the dustbin lid automatically when a hand comes near the sensor.
Circuit Diagram (Text)
mBlock Coding
OutPut
Cart