-
using the bin
-
laundry activated (nfc detected); start first cycle
-
back part of all electronics/hardware of bin
-
components: camera, LED signal, ultrasonic sensor, hall sensor
-
electronics (metal) detection
-
electronics detection
-
NFC detection
-
first cycle in progress
-
first cycle ended
-
start second cycle
-
second cycle ended
-
tools and merch from WTH
Inspiration
Clothes rarely wear out from wearing. They get washed out: hot washes shrink wool, fast spins crack prints, one dark sock greys a white load. Students at hostel laundromats are in a hurry and skip care labels, so ruined clothes get replaced and add to overconsumption. For the Autonomous theme we asked: what if the laundry bin did all the thinking?
What it does
LaundryLah is an automated AI laundry bin designed to extend garment lifetime. Hold a garment over it, and its camera together with Gemini automatically analyse the fabric, colour, type, dirt level and special details (prints, rhinestones, coatings) without manual inspection. It also runs metal detection to check for forgotten items inside pockets, protecting valuables from damage during washing. Carry the bin to the laundromat and a motion sensor detects the movement. The Telegram bot then automatically sends the fewest safe wash rounds with recommended settings, a prep guide and packing reminders. Tap the bin's NFC tag on the washer, and the washing plan executes round by round automatically.
How we built it
- Bin: Raspberry Pi, ultrasonic sensor, MPU6050, webcam and traffic-light LEDs. A movement counts as a carry when $$\left|\sqrt{a_x^2+a_y^2+a_z^2}-1\,g\right|>0.12\,g$$ lasts at least \(3\,\text{s}\), so bumps are ignored.
- Electronics Detection: Hall sensor.
- Vision: Gemini with a structured JSON schema, plus local colour and texture rules as a fallback.
- Planner: plain rules, not AI, because wash limits must be safe and testable. Lights never mix with darks, and the strictest item in a round sets its limits.
- Bot and washer: python-telegram-bot, a Streamlit washer screen, and an ESP32 + RC522 NFC reader, all linked through Firebase Realtime Database.
Challenges
- Telling bumps from real carries, and stopping the bin from counting clothes taken out as new laundry (we added a Retrieving mode).
- Hardware: Pi low-voltage warnings, and a voltage divider for the 5 V sensor.
- Software: a Windows security policy blocked a library, and the LLM connection was misconfigured, so we made every AI step optional.
- Time: we changed ideas several times, leaving about 15 hours to build.
What we learned
Use AI where it's strong (reading photos) and rules where you need guarantees. One shared event-driven database made four devices easy to integrate. And hardware is half software: power, wiring and serial ports took as long as the code.
What’s Next
- Refine the prototype: miniaturize hardware, add waterproof protection and metal detection, and support offline operation.
- Upgrade the user interface to provide smarter laundry sorting suggestions.
- Scale it: expand the system to support multiple bins and different washing machines via NFC, so it can be deployed in shared laundromats.
- Optimize the model to adapt to more washing machine models for wider compatibility.
