GithubHelp home page GithubHelp logo

potentialhades / esp32_simulation_sensor_dht22 Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 33 KB

Temperature and Humidity microcontroller ESP32 on Python (Wokwi Simulation + Hivemq Broker Client)

Python 100.00%
broker dht22 esp32 humidity-sensor microcontroller micropython mqtt python temperature-sensor micropython-esp32

esp32_simulation_sensor_dht22's Introduction

IoT_Simulation

Temperature (°C) and Humidity (%) microcontroller ESP32 on Python (Wokwi Simulation + Hivemq Broker Client)

Run the simulation on Wokwi and see the messages on Hivemq Broker (publish each 15 seconds)

Project on Wokwi (Micropython on ESP32): https://wokwi.com/projects/328777740948865619

Broker -> option 1: Hivemq Broker Client: http://www.hivemq.com/demos/websocket-client/

Broker -> option 2: Install the app MQTT DASH on Google Play Store

Language: Portuguese

- Option 1: Hivemq Broker website config

Connection

  • Host -> mqtt-dashboard.com
  • Port -> 8884
  • KeepAlive -> 60
  • Click on 'Connect'

Subscriptions - Add new Topic

  • Topic: sala306/temp - or - sala306/umidade - or - sala306/#
  • QoS: 0
  • Click on 'Subscribe'

Run the simulation on Wokwi and see the ESP32 temperature (°C) and humidity (%)'s publish on 'Messages'

- Option 2: App MQTT Dash on Smartphone

Config Broker

  • Click on button '+' (upper right corner of the screen)
  • Name the broker
  • Address: broker.hivemq.com
  • Port: 1883
  • Click on diskette button (upper right corner of the screen) to save

Subscribe Temperature

  • Click on Broker
  • Click on button '+' (upper right corner of the screen)
  • Choose type: 'Text'
  • Name: Temperature
  • Topic: sala306/temp
  • Postfix: °C
  • Click on diskette button (upper right corner of the screen) to save

Subscribe Humidity

  • Click on Broker
  • Click on button '+' (upper right corner of the screen)
  • Choose type: 'Text'
  • Name: Humidity
  • Topic: sala306/umidade
  • Postfix: %
  • Click on diskette button (upper right corner of the screen) to save

Run the simulation on Wokwi and see the ESP32 temperature (°C) and humidity (%)'s publish on the cards created

esp32_simulation_sensor_dht22's People

Contributors

potentialhades avatar

Stargazers

 avatar  avatar  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.