Robotics · Level 1 Explorer

Automatic Dustbin

Build a touch-free system that measures distance, makes a decision and controls a lid. Then test it until the evidence shows that it works reliably.

Learners testing an automatic dustbin with an ultrasonic sensor and servo
Guided build2 to 4 hours
DifficultyBeginner
Group size2 to 4 learners
EvidenceDiagram, code and tests
Controller boardUltrasonic distance sensorSmall servo motorBreadboard and jumper wiresApproved low-voltage powerSmall bin or light lid modelServo linkage or bracketRuler and test sheet
Safety before powerDisconnect power before rewiring. Use only approved low-voltage supplies. A responsible adult must supervise cutting, drilling and tool use. Check whether a 5 V sensor signal needs protection before connecting it to a 3.3 V controller input.

Define success

Choose the user need, distance threshold, open time and safe lid movement.

Test the sensor

Measure known distances at least three times and note variation.

Test the servo

Run safe open and closed angles before attaching the mechanism.

Connect the circuit

Power off, verify every pin, use common ground, then request a connection check.

Load the control logic

Measure, compare with the threshold, open, wait and close inside a repeat loop.

Integrate the lid

Attach the light mechanism, reduce friction and stop if the servo strains.

TrialDistanceExpectedActualChange or note
1
2
3
4
5
6
7
8
9
10
Return to the course

Your practical submission

  • A labelled circuit photograph or diagram.
  • An algorithm, block-code screenshot or code extract.
  • The completed ten-trial test table.
  • A photo sequence, short video or facilitator observation.
  • A short reflection explaining one improvement and its evidence.