To control a servo motor using Arduino and simulate the opening and closing of a dustbin lid.
A servo motor is a special motor that can rotate to a specific angle. In this project, the servo motor acts as the lid of a smart dustbin. The Arduino sends signals to the servo motor to move it between 0° (closed position) and 90° (open position).