Usually, there is a certain day for trash pickups in different areas. Let's say the day that there is supposed to be a trash pickup, not a lot of people in the area have much trash in their bin, but there is more trash in other areas where their trash day is some other day. That makes the trash pickup on that day unbeneficial. There needs to be a better way to optimize the pickups to be faster and get to the houses that are more needed of a trash pickup.
Littering is also another concern when it comes to garbage. If the dumpster falls, that can create a big mess really quickly with birds taking the trash and winds blowing it in different directions. But since it is a public dumpster, it is unlikely that someone would bother to pick it up. 🚮.
Trash route optimizationOptimizing trash routes involves using some types of distance sensors to measure the level of trash in each can. This data is then processed and used with an algorithm to optimize trash pickup routes, making sure that the fullest cans are taken first. Additionally, accelerometers can be used in a way to detect if a trash can has fallen over. All of this sensor data is stored in a dashboard, providing real-time updates for authorities, allowing for efficient and effective waste management.
When litter is left on the ground, it can be carried by wind and water, ultimately ending up in natural habitats such as rivers, streams, and oceans. This can harm wildlife, contaminate water sources, and degrade the overall beauty of the environment. Additionally, litter can take a long time to decompose, contributing to pollution and creating hazards for animals and humans.This is more applicable for urban areas or cities such as New York and Boston, where there are apartments that have a big dumpster for everyone. Properly securing trash in cans and disposing of it responsibly can help reduce these negative effects. If it is known that the trash can tips over after a certain point, then it will notify the authorities via some form of SMS.
Distance Sensor - Using a sensor to be able to tell how much trash is in the can would be useful to tell who needs a pick up more urgently than others. There would also need to be an algorithm to makethe routings quicker.
Accelerometer - A sensor that can tell if the trash can is tipping over a threshold, then will notify the authorities to take further action as soon as possible.
Real Time Data - I might not have enough time to work on this with the time left in the contest, but I might still add a dashboard which is a map of all the devices and the quickest route that the algorithm chooses for pickup.
This is kind of a diagram of how my project works in short. There is a phone to the right which represents the notifications that will be sent when the can has fallen. There will also be a dashboard that will have the trash percentage for all of the devices on a map.
Introducing Smart Trash BuddyI was thinking of using either an ultrasonic sensor or Time of Flight, but since ultrasonic sensor is based on sound and different materials that could come from the trash would affect the sensor readings to not make it accurate. Time of Flight sensor is based on light, and since this device will go inside the trash can, it is not going to matter since it is already dark. So using the Time of Flight sensor, I am able to get a percentage of how much trash there is in each can. Then using a certain algorithm, I can optimize the pickup to have the shortest route based off of cans that need emptying first.
Using the accelerometer, I can be able to determine once I set a threshold, if the trash can has fallen.
All of this sensor data will be saved in a dashboard, which is a map of all the devices in the area. The authorities will have real time data just from the dashboard, since the data will be refreshing every few minutes.
The very first step is to set up the sim in order for our board to connect to internet using cellular.
Make sure you first have noted down the number on your card, you will be needing that in later steps. Then you can go ahead and put the card in the back of the board in this orientation:
Once you inserted the card in your board, make sure you attach the antenna.
Now that you have gotten through this first step of the hardware, follow this tutorial for more on how to register the sim card. This is what I followed and it is very straightforward.
Application architectureThe data is being sent through Iot Core and Lambda will call for the IoT Rule to send the data to AppSync, which I will explain later. Then from AppSync, the data will then be saved in DynamoDB for for later references.
AppSyncAppSync is used for data communication between data and the cloud. AppSync is built on GraphQL and backed by DynamoDB. For the route optimization, I have used AWS Location Services.
FrontendMy dad helped me with this part, since I am still learning how to create a frontend. We are using React to create the frontend, which is the dashboard where I will have all the devices on a map.
The memory footprint was low, so I couldn't be able to use any machine learning models to tell if the trash can is falling, it would have made it a little easier.
Comments