Skip to content

IoTrash is a ESP-32 powered smart-bin that gathers sensor data and publishes the sensor data to a MQTT broker to help waste management more efficient.

Notifications You must be signed in to change notification settings

patrickanguyen/IoTrash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoTrash

IoTrash is a ESP-32 powered smart-bin that gathers sensor data and publishes the sensor data to a MQTT broker to help waste management more efficient.

Prerequisites

Hardware

  • ESP32 Microcontroller
  • US-100 Ultrasonic Sensor

Software

Compiling & Uploading the Code

  1. First, clone the repo by using the command
git clone https://github.com/patrickanguyen/IoTrash.git
  1. In the include folder, create a header file called secrets.h, which will hold your secret information including your wifi information and the details of your MQTT broker. Copy the contents of secrets_example.txt into secrets.h and fill out the header file with the appropriate information.

  2. Then, finally, the last step is to upload the code by going to the PlatformIO tab on the left and clicking on the Upload button which will compile and upload the source code to the ESP-32.

If anything goes well, the application should be uploaded to your microcontroller and the smart sensor should be publishing the sensor data to your MQTT broker!

About

IoTrash is a ESP-32 powered smart-bin that gathers sensor data and publishes the sensor data to a MQTT broker to help waste management more efficient.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published