Code Monkey home page Code Monkey logo

esp32-quick-temp-and-display's Introduction

ESP32-Quick-Temp-and-Display

DHT22 Sensor - SD1306 i2c Display for quick time and temperature + data logging

Finished Product

SUPPLIES

0.91" 128x32 IIC I2C Display

0.91in-128x32-IIC-I2C

DHT22

DHT22

ESP WROOM 32

ESP-WROOM-32

FLASH ESP32

Checkout the ESP32 Folder to your VSCode with PlatformIO installed as a dependancy.

Connect the USB from the ESP32 to your computer running VSCode/PlatformIO to build and deploy the project.

Configure your project

Located in the main src/ folder create a copy of settings.h from settings-default.h and set your custom values for the variables.

You can set WIFI (ssid, password), Timezone (gmtOffset_sec) and latitude, longitude where you live.

OPTIONAL DATAHUB

(datahub_host, device_name settings)

use https://github.com/khinds10/DeviceHub

to setup a custom datahub for your device to post temps as time goes on.

Get Outside weather

(weather_api_endpoint)

https://openweathermap.org/ account is required, the device will simply read from the default forecast returned from the API, it will also post it to the Datahub.

Wire and Hot Glue the components.

Wiring

WIRING

DHT22

[+] pin -> ESP32 [3V]

[-] pin -> ESP32 [GND]

[out] pint -> ESP32 [Pin 4]

SD1306

[+] pin -> ESP32 [3V]

[-] pin -> ESP32 [GND]

[SDA] pin -> ESP32 [Pin 21]

[SCL] pin -> ESP32 [Pin 22]

Hot Glue Components

3D Print the Box and back panel, use the hole on the side to run the USB to power the ESP32 inside the case.

Finizhed Product

Finished Product

esp32-quick-temp-and-display's People

Contributors

khinds10 avatar

Stargazers

 avatar

Watchers

 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.