This file contains the information about only the code, for information on how to build hardware and circuit daigrams reffer to the document file of the project and reffer to research paper for findings.
Code setup for web app -
- In order to run this application mysql and java is required to be installed in your machine.
- Use any IDE of choice to run the code (Intellij is preffered though :-P).
- Don't forget to change the username, password and you database name in application.properties file.
- In order to visit the home page go to your browser and type in the following address - localhost:8080/dustbin/home
- If hardware works fine the dustbin with id 1 in html page will be your dustbin, rest ids are mock dustbins.
- Web app can be tested independently by changing values in database.
- It gives alerts on filling , burn and decompositing waste statuses.
Code setup for hardware -
- Use the hardware-code.ino file to burn to the nodemcu IC.
- Use a good hardware IDE like Arduino IDE.
- Don't forget to replace the IP address in the code with ip of your machine, which is running the web application.
- Also both nodemcu and machine running application should be connected to same wifi network.