Giter Club home page Giter Club logo

zotbins / waste_watcher_adafruit_io Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 12.83 MB

Waste Watcher is an IoT based sensor module to help keep track of waste data metrics with real-time bin fullness data and waste images. This is intended to help quantify waste and promote actionable solutions to lower the amount of waste people throw away.

Home Page: https://zotbins.github.io/zbceblog

License: MIT License

C 25.93% C++ 74.07%
adafruit-io esp32-cam iot platformio sustainability waste-management zero-waste

waste_watcher_adafruit_io's Issues

ESP32-CAM Images Base Code

Features

  1. PlatformIO code for ESP8266 Node MCU
  2. Take a photo and encode it as a base64 string for AdafruitIO MQTT
  3. Send Data to Adafruit IO using MQTT

Add Documentation

Features

  • Build Guide Documentation
  • License, Contributing, etc.
  • Update Readme
  • STL files

Adafruit IO HCSR-04 Base Code

Features

  1. PlatformIO code for ESP32-CAM AI Thinker
  2. Collect fullness data from a HCSR04 Ultrasonic Sensor
  3. Send Data to Adafruit IO using MQTT this will be done in issue #3

Tester #1

Description

Tester needed for giving feedback on setting up a Waste Watcher by following the build guide.

Steps

  1. Go through the steps in the build guide
  2. Take note of any feedback or improvements you may have.
  3. Two Options to give feedback (or do both)
    1. (Recommended) Submit a Pull Request with your suggested changes
    2. Directly comment on this issue

Code cannot run with FTDI programmer when HCSR-04 is connected.

Describe the bug
Code cannot run with FTDI programmer when HCSR-04 is connected. In the past, this worked by just not using the TX and RX connections AFTER my script was flashed onto the ESP32-CAM. But now it still doesn't seem to work.

The circuit connections are

FTDI 5V <---> HCSR04 5V <---> ESP32-CAM 5V
FTDI GND <---> HCSR04 GND <----> ESP32-CAM GND
FTDI TX <---> ESP32-CAM RX
FTDI RX <---> ESP32-CAM TX

HCSR04 TRIG <---> ESP32-CAM GPIO12
HCSR04 ECHO <---> ESP32-CAM GPIO13

Error from Serial Monitor is

rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun  8 2016 00:22:57

To Reproduce
Steps to reproduce the behavior:

  1. Only connect FTDI to ESP32-CAM and put on jumper cap GND and GPIO0
  2. Reset board to put it in Flashing mode
  3. Flash the program onto the ESP32-CAM (use scripts from #6)
  4. Connect HCSR-04 to ESP32CAM and FTDI
  5. Take off jumper cap and reset the board
  6. Open the serial monitor to see the error

Expected behavior
The script should run without any flashing errors. In the past, this worked by just not using the TX and RX connections AFTER my script was flashed onto the ESP32-CAM. But now it still doesn't seem to work.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
contents in platform.ini file

[env:esp32cam]
platform = espressif32
board = esp32cam
framework = arduino
monitor_speed = 115200
lib_deps = 
	adafruit/Adafruit MQTT Library@^2.4.2
	adafruit/Adafruit IO Arduino@^4.1.1

Additional context
Current using code from Pull Request #6

Tester #2

Description

Tester needed for giving feedback on setting up a Waste Watcher by following the build guide.

Steps

  1. Go through the steps in the build guide
  2. Take note of any feedback or improvements you may have.
  3. Two Options to give feedback (or do both)
    1. (Recommended) Submit a Pull Request with your suggested changes
    2. Directly comment on this issue

Waste Watcher Guide on Instructables

Create a Waste Watcher Guide on Instructables. Historically I have been seeing a lot of good exposure on Instructables, and I think it would be a great way to share the project and potentially get some other people excited to build this out for themselves.

Test Issue

This is a test issue for testing out a webhook, please ignore.

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.