What is your project about?
This project focuses on smart waste bin temperature monitoring using the RAK4631 microcontroller and the RAK1906 environmental sensor. The main goal is to continuously track the internal temperature of the waste bin to enable early fire detection and improve waste management safety.
Why did you decide to make it?
Spontaneous fires can occasionally occur inside waste bins, and decomposing waste can cause serious health and environmental hazards. We wanted to build a solution that enhances public safety and allows for more efficient waste management by providing early warnings before issues escalate.
How does it work?
The code initializes the RAK4631 and RAK1906 sensors and periodically reads temperature data. This data, along with a unique device identifier, is packaged into a LoRaWAN payload and sent to The Things Network (TTN). A Ubidots integration on TTN receives the data, which is then visualized through dashboards on the Ubidots platform. Alerts are configured for critical temperature thresholds. When the temperature inside the bin exceeds the defined limit, Ubidots automatically sends notifications (via email or SMS) to waste management authorities. This enables a rapid response to prevent fires or manage decomposition issues, ultimately improving public safety and operational efficiency.
Hardware Photos
RAK7268V2 (LoRaWAN Gateway)
RAK19003 (WisBlock Base Board
RAK4631 (WisBlock Core)
RAK1906 (Environmental Sensor - primarily for Temperature)
RAK1921
Solar Panel & Connector
Screwdriver
Steps
Step 1: Mounting WisBlock Parts
Assemble the RAK4631 WisBlock Core onto the RAK19003 WisBlock Base Board. Connect the RAK1906 environmental sensor to a sensor slot, positioning it to monitor the internal temperature of the waste bin effectively. Attach the RAK1921 power module.
Step 2: Link to PC (via USB Cable)
Connect the assembled WisBlock unit (via the RAK4631) to your PC using a standard USB cable.
Step 3: Setup Arduino IDE and Load Files
Configure Arduino IDE for the RAK4631. Install the Adafruit BME680 library for the RAK1906. Load the Arduino sketch designed to read temperature data and send it via LoRaWAN.
Step 4: Upload the Code
Select RAK4631 Board and the correct COM port. Upload the code to your WisBlock device. After successful upload, open the Serial Monitor (set Baud rate to 15200) to observe temperature readings and LoRaWAN transmission status. The device will periodically send temperature data via LoRaWAN to your RAK7268V2 gateway. This data will then be forwarded to TheThingsNetwork, and from there to Ubidots. Ubidots will allow you to visualize the temperature trends and configure alerts (e.g., email, SMS) if the temperature exceeds a predefined threshold, indicating a potential fire hazard or excessive decomposition within the waste bin.
Explanation: The code initializes the RAK4631 and the RAK1906 environmental sensor. It focuses on periodically reading the temperature. This temperature data, along with a device identifier, is encapsulated in a LoRaWAN payload and sent to TheThingsNetwork. A Ubidots integration is configured on TheThingsNetwork to receive this data. On Ubidots, dashboards are set up to visualize temperature trends, and event alerts are created. If the temperature inside the waste bin surpasses a critical threshold, Ubidots automatically triggers an alert (e.g., email or SMS notification) to waste management authorities, enabling rapid response to prevent fires or manage decomposition issues, thereby enhancing public safety and waste management efficiency.
Credits● Collaborators: Mehmet Emin UĞUR, Harun YENİŞAN
● Inspiration: Smart city waste management, fire safety, environmental monitoring.
● Resources: RAKwireless WisBlock documentation, Ubidots documentation, TheThingsNetwork integration guides.







_M6kErcYJ84.png?auto=compress%2Cformat&w=40&h=40&fit=fillmax&bg=fff&dpr=2)


Comments