Fife Bin Calendar is a project utilizing Rust to host API servers using the Rust Rocket framework. The project also incorporates an ESP8266 development board to connect custom API servers, enabling users to conveniently access and display the scheduled bin collections for the upcoming week. This innovative combination of technologies offers a seamless and efficient solution for managing waste disposal schedules, enhancing user experience, and promoting sustainability.
- Display of bin types for the next collection day
- Convenient access to waste disposal schedules
- Seamless integration with ESP8266 development board
- Rocket
- Tokio
- Docker
- Arduino JSON
- Rust 1.75+
- Docker 24.0.7+
- Arduino IDE 2.2.1+
- ESP8266
- Run on docker
- Pull the image from docker hub
docker pull elviswong213/fife-bin-calendar
- Run the image (You can change port 8888 to any port you want)
docker run --name fife-bin -it -p 8888:8000 elviswong213/fife-bin-calendar
- When the container is running, you can follow the terminal’s prompts to enter your postcode and choose your address. The information will be saved in the uprn.txt file
- If you want to chage your address. Stop the container, remove the
uprn.txt
file and run the container again.docker start fife-bin
- Pull the image from docker hub
- Follow the circuit design to buid the circuit
- Download and install Arduino IDE
- Open the Arduino IDE and navigate to the boards manager to install esp8266. Additionally, use the library manager to install ArduinoJson.
- Open
ESP8266/main/main.ino
. Change theWiFi SSID
,WiFi password
, and theURL
to your own configuration. Then, upload it to your ESP8266 development board.