This is a project for the Integrated Design Project (MCTE 3412
) (Mechatronics engineering)
Name | Us |
---|---|
|
This project is to design and build a smart trash bin that can be used in mahallah, kuliyyah or other places of attraction in IIUM. Some feature highlights of this product is: a) Auto opening lid when person is present b) Auto compress the trash to save space c) Notify the cleaner when the trash bin is full d) Monitor the trash level remotely (IoT)
This organization host several repository for this project. All of the repository is only visible to group members only as they might contain sensitive information e.g. API keys. However, you can ask for the source code if you are interested.
Frontend mobile application for the trash bin. Monitor the current trash level etc. The application is build using Flutter. Installable to Android and accessible on the Web.
APK file(s): https://github.com/IDP-Smart-Trash-Bin/flutter_idp_project/releases
Web URL: https://idp-smart-bin.web.app/ (Hosted on Firebase Hosting)
Client-side Arduino program. Uses Arduino Mega 2560. Interfacing all the sensors and actuators eg ultrasonic sensors, linear actuator, servo motor etc. Also including the user interface ie LCD display and LED indicator.
Sorry for the messy circuit 😅
Client-side ESP32 program. Using the WiFi capabilities of the chip, its purpose is to a) Update the trash value to the server, and b) Send notification through Telegram.
Programmed in C++ using PlatformIO IDE.
Also, we've learned that some ESP32 may having trouble communicate via https. I've include some SSL certificates bundles to the program.
Server-side API server uses by the ESP32. To handle CRUD operation to the Firebase database and Telegram message formatting.
Written in Node.js using Express framework.
Deployed on Heroku.
Server URL: https://idp-smart-trash-bin-server.herokuapp.com/
Telegram bot that is used to send notification to the user (subscribers). It is also used to respond commands from the users.
Written in Python using python-telegram-bot version 13.x
Also deployed on Heroku.
Bot URL: https://t.me/idptrashbin_bot
This project about 90%-ish complete. All planned features are working as expected, eg the level sensor, LCD display, IoT integration etc.
Some features that are not fully achieved are:
- Auto opening lid - Some problems related to the servo. The system would reset itself if servo is triggered. We suspected it was the spontaneous current draw by the servo. So we've isolated the Servo power supply. However, the problem still persist.
- Trash compressing mechanism - We've bought a linear actuator that cannot fit properly inside the body.