EDUST is a comprehensive, intelligent waste management ecosystem that connects a smart hardware bin (ESP32) with a modern web dashboard and backend.
/frontend: The React + Vite user interface for monitoring bins./backend: The Node.js + Express backend API./firmware: The ESP32 C++ PlatformIO code for the smart bin./assets: Contains 3D models (model1.glb) and demo HTML files.
The firmware is located in the /firmware directory. It uses ultrasonic sensors to detect waste levels and sends data to Blynk. It features advanced auto-reconnection logic and median-filtering for sensor noise reduction.
- Open the
/firmwarefolder in VS Code with the PlatformIO extension. - Edit
include/Config.h:- Set your
WIFI_SSIDandWIFI_PASS. - Set your
BLYNK_TEMPLATE_ID,BLYNK_TEMPLATE_NAME, andBLYNK_AUTH_TOKEN.
- Set your
- Connect your ESP32 via USB and click Upload in PlatformIO.
The frontend is a React application built with Vite, located in /frontend.
- Open a terminal and navigate to the frontend directory:
cd frontend - Install dependencies:
npm install
- Run the development server:
npm run dev
The backend provides the REST API and authentication, located in /backend.
- Open a terminal and navigate to the backend directory:
cd backend - Install dependencies:
npm install
- Create a
.envfile in/backendwith the following:PORT=3001 MONGODB_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret NODE_ENV=development
- Run the development server:
npm run dev
Built by Team FUTURION. MIT License