DEV Community

Cover image for MongoDB Atlas Hackathon 2022 on DEV (Think outside the JS box - FARM stack)
Joseph Rasanjana
Joseph Rasanjana

Posted on • Updated on

MongoDB Atlas Hackathon 2022 on DEV (Think outside the JS box - FARM stack)

What I built

Garbage Bin Filled Up Level Detector using FARM stack

What I built

Category Submission: Think Outside the JS Box

App Link

Fully functioning App : http://13.229.182.57/
App UI only : https://joyful-druid-3d8eff.netlify.app/

Screenshots

App

filled 25%

Filled 50%

Filled 75%

Filled 100%

Description

This app shows the level filled in a garbage bin, if the bins are full the cleaning crew can clean up the garbage bins. This app increases the efficiency of the cleaning crew by preventing them from checking unfilled bins and reduces time wastage. This app is designed to be used by people that have less or none technical knowledge, so the bin adding process have been added to the main page itself. So anyone can easily add a new bin and start using the system straignt away. In the hardware side, all they have to do is replace the current bin lid with a lid that have all the hardware that need to measure and send data to the database.

Link to Source Code

https://github.com/JosephLahiru/GarbageLevelDetector.git

Permissive License

MIT License

Background

(What made you decide to build this particular app? What inspired you?)
In my University, there are alot of garbage cans that needs to clean up every day, each and every one of them are categorized into plastic, food waste and paper(digestive) items. the pastic ones does not get filled easily, aslo they does not any bad smell like food waste bins. So they do not need to be cleaned every day. So I made this app to indicate to the cleaning crew, what bins should be cleaned off and what is their filled level.

How I built it

(How did you utilize MongoDB Atlas? Did you learn something new along the way? Pick up a new skill?)
I used raspberry pi zero w with 4 untrasonic sensors on top of the garbage bin's cap, they measure the garbage filled level and send the data directly to the mongodb, and the web app takes that data from mongodb and preview those data. I learned ReactJS from this project and how to handle mongodb requests and python. Also I learned the FARM stack.

Top comments (0)