Giter Site home page Giter Site logo

patrickanguyen / iotrash Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 45 KB

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.

CMake 1.00% C 96.93% C++ 2.08%

iotrash's Introduction

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!

iotrash's People

Contributors

patrickanguyen avatar

Stargazers

 avatar

Watchers

 avatar  avatar

iotrash's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.