Skip to content
Reza M. Sidin

Selected work

TrashPoint Smart Bin

A smart bin that recognises bottles and cans on-device, sorts them, and rewards each deposit with points in real time.

Role
[PLACEHOLDER]
Year
[YEAR]
Stack
  • Raspberry Pi
  • Python
  • TFLite / LiteRT
  • Firebase
  • Kotlin / Compose
Cover image for TrashPoint Smart Bin

Problem

A recycling bin only works if people sort correctly, and most bins give no reason to bother. TrashPoint is a bin that works out what was put in, sorts it itself, and credits the person who brought it.

[PLACEHOLDER] Where it was used, who it was for, and what was there before.

Approach

  • Sign in with a card. An RFID reader identifies the user before anything is deposited.
  • Classify on the device. A camera photographs the item and a YOLO26n-cls model, exported to TFLite, decides whether it is a bottle or a can.
  • Sort mechanically. A servo routes the item to the matching compartment.
  • Reward straight away. Points are written to Firebase and show up in the Android app in real time.

Architecture

Placeholder for the TrashPoint architecture diagram
[PLACEHOLDER] Replace with the real diagram: RFID reader and camera into the Raspberry Pi, servo out, Firebase to the Android app.

The Raspberry Pi 3B+ runs the whole loop in Python: read the RFID card, capture a frame, classify it, drive the servo, then write the result to Firebase. The model runs on LiteRT (the ai-edge-litert package) rather than full TensorFlow, which keeps the install small enough for the Pi. The Android app, built with Kotlin and Jetpack Compose, listens to the same Firebase data and updates the user's points as they change.

Results

To classify each item on the Raspberry Pi
~150ms

Switching the classifier to YOLO26n-cls brought classification down to about 150 ms per item, so the bin sorts an item almost as soon as it is dropped in.

Learnings

  • [PLACEHOLDER] What you would do differently on the hardware side.
  • [PLACEHOLDER] What you learned about running models on a constrained device.
  • [PLACEHOLDER] What comes next for the project.