Smart Dustbin Robot Connection Diagram

Smart Dustbin Robot Connection Diagram

Arduino Uno controls the HC-SR04 ultrasonic sensor and servo motor to automatically open the dustbin lid when a hand approaches.

Arduino Uno – HC-SR04 – Servo Motor ARDUINO UNO USB POWER DIGITAL PINS D6 – SERVO SIGNAL D9 – TRIG D10 – ECHO POWER 5V GND HC-SR04 TRIG ECHO Distance Sensor SERVO MOTOR Opens / closes lid USB / SUITABLE POWER SOURCE TRIG ECHO 5V GND SIGNAL 5V GND POWER Hand Sensor detects nearby hand DUSTBIN LID

Connection Table

Component Pin / Wire Arduino Uno Connection
HC-SR04 VCC 5V
HC-SR04 GND GND
HC-SR04 TRIG Digital Pin 9
HC-SR04 ECHO Digital Pin 10
Servo Motor Signal Digital Pin 6
Servo Motor VCC Suitable 5V supply
Servo Motor GND Common GND
Important: The servo’s current requirement can be higher than the Arduino board should supply directly. For larger servos, use an appropriate external 5V supply and connect its ground to the Arduino GND. Check the voltage and current requirements of the particular servo before powering the circuit.