Coder Social home page Coder Social logo

esp32_envionment_monitor's Introduction

Environment Monitoring Program

This iss my first attempt at a simple household environment monitoring system that uses an ESP-32, a BME688, and a VEML7700.

Extra Files

There are a few files not included in this repository that are necessary to compile the project. The Bosch BSEC library, and a WiFi configuration file.

BSEC Library

I have not included the BSEC library in the repo, as I am not sure about the licensing of doing that. You can get the library for free and add the missing files. See the file placeholder.md for instructions

WiFi and MQTT Configuration

Also not included is the file private_config.h. There is not much to this file, it just defines certain options that I want to keep private. Simple create the file with the following preprocessor definitions

  • WIFI_SSID: String of the SSID of the network to connect to
  • WIFI_PASSWORD: String of the password for connecting to WiFi
  • MQTT_BROKER_URI: The URI to publish MQTT data to.
  • MQTT_USERNAME: The username to use for logging into the MQTT broker
  • MQTT_PASSWORD: The password to use for logging into the MQTT broker
  • MQTT_TEMP_TOPIC: The MQTT Topic to use for publishing the temperature.

More fields will be added to this over time

Linting

I can't seem to get the IDF clang-tidy working right on Windows, so I set up a container using Docker that will run the linter, and copy the results back to the host system. Run it with make lint.

Cable Color Mapping

I am using my ribbon cable adapter from the Bus Pirate with the ESP-PROG Here is the color mapping

Color JTAG Purpose SPI Purpose I2C Purpose UART Purpose
Brown VCC VCC VCC VCC
Red TMS CS CTS
Orange GND GND GND GND
Yellow TCK SCK SCL TXD
Green GND GND GND GND
Blue TDO MISO/DI SDA RTS
Purple GND GND GND GND
Gray TDI MOSI/DO SDA RXD
White GND GND GND GND
Black NC NC NC NC

Note: Blue and Gray must be tied together in I2C Mode

esp32_envionment_monitor's People

Contributors

marsfan avatar

Watchers

 avatar  avatar

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.