Following the industrial revolution, the germination of science and technology has brought convenience to humanity, multiplied the rapid growth of the global population and the waste. All governments are investing many resources in solving this problem. This study based on the LoRa communication mode of the internet of things (IoT) include the three aspects of automatic classifying equipment, environmental monitoring system, and graphical monitoring interface. First, in order to accomplish automatic self-opening and closing, garbage classification, full compression, and full of rubbish warning. The garbage bin is setting the variety of sensors and embedded motors. Second, with the equipment combined with a wide range of intelligent, the monitoring system can sense the surrounding environment, and achieve the function of reminding the monitor for cleaning. Finally, using graphical monitoring interface to provide users to monitor the environment data and full garbage status of multiple locations. Upload the historical data to the database stored in the web server at a fixed time for future query and analysis. As a result, to minimize the cost and maximize the benefit.