Smart Desk Dustbin With Futuristic Iris Lid
by The Wrench in Circuits > Arduino
456 Views, 8 Favorites, 0 Comments
Smart Desk Dustbin With Futuristic Iris Lid


Hey Makers!
In this project, I built a smart desk dustbin with a satisfying iris-style lid that opens automatically when you bring your hand close. It looks like something straight out of a sci-fi movie — sleek, fun, and surprisingly functional.
Let’s dive in!
Supplies
Here’s what you’ll need:
- Electronics
- Arduino Nano: Aliexpress
- MG90s Servo Motor: Aliexpress
- Ultrasonic Sensor (HC-SR04 or similar): Aliexpress
- Charging Module: Aliexpress
- Battery Holder: Aliexpress
- 3D Printing
- Fusion 360 (for designing)
- STL Files (attached below)
- PLA Filament: : Aliexpress
- Other
- Soldering kit: : Aliexpress
Designing the Prototype


I started off in Fusion 360 to design the iris mechanism and the body of the bin.
After multiple tweaks and adjustments, I got my final design ready.
( Not for begineers, you might need to do somethings at your own)
3D Files: Download Here
3D Printing the Parts




I sliced the design and printed all the components.
The prints came out super clean. it will be so fun to assemble this thing.
Assembling the Structure










Time to bring all those freshly 3D-printed parts together!
The iris mechanism fits like a charm and glides open and close with buttery smooth motion — honestly super satisfying to watch in action.
For the base, I added a magnetic lid system. This way, the bottom cover snaps perfectly into place but can be removed in seconds whenever you need to empty or clean the bin. A neat little feature that makes it both practical and user-friendly.
Adding the Electronics




Here’s what powers the smart bin:
- The MG90s servo drives the iris lid.
- The ultrasonic sensor detects hand movement.
- The Arduino Nano controls everything.
I slotted all the components in place and connected them up.
Custom PCB (Optional But Awesome!)








To avoid messy jumper wires, I designed a custom PCB just for this project.
I ordered mine from JLCPCB — one of the most affordable and reliable manufacturers.
- PCBs start at just $2 for 5 pieces.
- They offer PCB assembly, stencils, 3D printing, CNC machining, and more.
- Upload your Gerber file, select the specs, and order — super simple!
My PCBs arrived in under a week and the quality was excellent.
The Code

The Arduino code is simple:
- The ultrasonic sensor detects motion.
- If something comes within range, the servo rotates to open the iris lid.
- After a short delay, it closes back smoothly.
You can find the code here: Codes
Final Assembly








Now that our main board is ready, it’s time to bring everything to life by installing the electronics. The process is super simple — just place each component in its designated spot, add the top cover, and secure it with four screws.
Once that’s done, power it up for the very first time and run a quick test. If everything works smoothly, go ahead and attach the servo gear, tighten it with a screw, and you’re done! 🎉
And just like that, your build is complete — ready to impress with its futuristic motion.
The Final Test

As you can see he iris lid glides open effortlessly, the ultrasonic sensor reacts instantly, and the rechargeable design keeps everything clean and wire-free — making it a perfect fit for any modern desk setup.
Conclusion
And that’s it — a smart desk dustbin with an iris lid!
It might not be the most “essential” gadget, but it’s super fun to build and looks amazing on a desk.
I’d love to hear what you think — and if you build your own, share it here!
Also, drop your ideas for my next build in the comments.
Happy making!
Tutorial
