The Covid-19 pandemic has forced us to adhere to health protocols. Thus, making people more careful not to come into direct contact, one of which is by not opening and closing trash cans that are often used together with many people. Sometimes people are also lazy to open the lid of the trash can and let the garbage sit on the lid of the trash can so that it is scattered and can become a nest of all kinds of diseases. The purpose of this research is to make the smart trash can open and close automatically and find out the available capacity in the smart trash. The ultrasonic sensor has a minimum and maximum limit with a sensor range of 0-30 cm detecting people the smart trash will automatically open, if it exceeds the range limit the smart trash will not open. If it is detected by the sensor but the smart trash is full, it will not open. In the range of the smart trash height of 25cm to determine the status of the smart trash capacity on the LCD, if the smart trash capacity is 10-100% then it is available, if the LCD status is less than 10% then it is full. The Fuzzy Logic algorithm is used to determine the rules for the level of distance accuracy (cm). The resulting value is a distance of 17.5- 25cm status is available, if a distance of 10-17.5cm status is available, if a distance of 2.5-10cm status is available, if a distance is 0-2 ,5cm full state. On the accuracy of the Naïve Bayes algorithm using rapidminer software that the accuracy of the success of the servo motor is 87.33%.
Copyrights © 2022