ESP32 Web Server with BME280 - Mini Weather Station

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 มิ.ย. 2024
  • For complete project details (schematics + source code), visit ► randomnerdtutorials.com/esp32...
    In this tutorial you’re going to learn how to create a web server with the ESP32 to display readings from the BME280 sensor module. The BME280 sensor measures temperature, humidity, and pressure. So, you can easily build a mini and compact weather station and monitor the measurements using your ESP32 web server. That's what we're going to do in this project.
    Like my page on Facebook:
    / randomnerdtutorials
    Add me on Google+:
    plus.google.com/+RuiSantosdotme
    Follow me on twitter:
    / ruisantosdotme
    Subscribe for more projects like this!
    bit.ly/subscribeRNT
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 19

  • @RuiSantosdotme
    @RuiSantosdotme  5 ปีที่แล้ว +6

    You can find the complete project details (schematics + source code) on my blog ► randomnerdtutorials.com/esp32-web-server-with-bme280-mini-weather-station/

  • @luisfelipegola5622
    @luisfelipegola5622 5 ปีที่แล้ว +1

    Hey Rui, great video tutorial for the beginners. Keep up the good work. I am trying to learn ESP programming to develop some interesting projects. Thanks.

    • @RuiSantosdotme
      @RuiSantosdotme  5 ปีที่แล้ว

      Thanks for watching and I'm glad it was helpful!

  • @viniciusnoyoutube
    @viniciusnoyoutube 5 ปีที่แล้ว +2

    Great video!
    Very useful for a lot of projects.

    • @RuiSantosdotme
      @RuiSantosdotme  5 ปีที่แล้ว

      Thanks! I'm glad it was helpful!

  • @peterwood7960
    @peterwood7960 3 ปีที่แล้ว

    Hi Rui.
    Just come back to Arduino after a 2 year break and your great videos have got me up to speed again.
    I was having a real problem with getting BME 280 to work but your simple explanation quickly sorted out my problem.
    However, is it possible to set altitude with the BME 280 to get accurate pressure readings as with the DHT 22.

  • @eriklaken1025
    @eriklaken1025 5 ปีที่แล้ว

    Thank you, :)

  • @sanramos4443
    @sanramos4443 5 ปีที่แล้ว

    Hola Rui! Gracias :) hay forma de mover el proyecto sin modificar la programación y poner el acesso de wifi en el sitio web donde se ven las lecturas del sensor? Saludos!

  • @aaronchan1498
    @aaronchan1498 5 ปีที่แล้ว

    Hi, have you tried interfacing using I2C protocol with the HMC5983 sensor. And sending the data to the webserver.

  • @ssaniljainn
    @ssaniljainn 4 ปีที่แล้ว

    Hey, what is the equivalent pins for the esp32cam while connecting the sda and scl pins?

  • @freya4162
    @freya4162 2 หลายเดือนก่อน

    Hi Kim, sterkte met je rug! Leuk al die dahlia's ook. Ik ben eigenlijk wel benieuwd hoe het met jouw aardappelen gaat die aan het voorkiemen zijn. Heb je een update? Bij mij hebben ze al mooie paarse uitlopers, het is mijn eerste jaar met aardappelen.😊 Fijn weekend!

  • @kierankay5014
    @kierankay5014 4 ปีที่แล้ว +1

    Hi, I saw your video on the esp32 and bmp 280 pressure and temperature sensor and wondered if you could help me with a few problems that I am having with the same board and sensor.
    I am currently using the bmp280test example sketch from github but would like to add some extra on the bottom, unfortunately I don’t really know what I am doing, so wondered if you would know how to make the esp32 to use the pressure reading from the bmp280 to do something like this: PRESSURE (in PSI rather than hPa)>(any number imputed via WiFi. E.g. 12.5) = YES/NO
    Also when I try to upload the standard bmp280test sketch onto the esp32 it says “fatal error occurred: failed to connect to esp32: timed out”

  • @infotechpkk
    @infotechpkk 3 ปีที่แล้ว

    IS BMP280 Have its Own Server ? Or We Have to Our Own Site with any Language to Get Data

  • @leonardofigueiredo2483
    @leonardofigueiredo2483 4 ปีที่แล้ว

    Hi Rui. When I compile the code, the error appears: Arduino\libraries\Adafruit_BME280_Library-master/Adafruit_BME280.h:219:3: error: 'TwoWire' does not name a type

  • @ramongayo1032
    @ramongayo1032 4 ปีที่แล้ว

    OK, solo falta que la lectura se renueve de forma automatica : Añadir la línea despúes de esta: client.println("");

    new --------> client.println(""); //Actualizá la página cada 1 seg añadida por RAMON
    y antes de esta :
    client.println("");
    .......

  • @markpostlethwaite9672
    @markpostlethwaite9672 4 ปีที่แล้ว

    i have tried so many times at this and it never works. i dont understand why when i have the same equipment. even on the test it always says
    "Could not find a valid BME280 sensor, check wiring, address, sensor ID!
    SensorID was: 0xFF
    ID of 0xFF probably means a bad address, a BMP 180 or BMP 085
    ID of 0x56-0x58 represents a BMP 280,
    ID of 0x60 represents a BME 280.
    ID of 0x61 represents a BME 680."

    • @JanicekTrnecka
      @JanicekTrnecka 4 ปีที่แล้ว

      I am struggling with this too, I tried to use non ADAfruit library and it found the sensor. Now I am figuring out how to replace the library - cause some calls in this sketch are named differently as it seems from the compile errors.

    • @JanicekTrnecka
      @JanicekTrnecka 4 ปีที่แล้ว +1

      Just went other way - my sensor is not BME but BMP, so use BMP library (Adafruit one) and change all relevant lines bme -> bmp.
      Like:
      Adafruit_BMP280 bmp; // I2C
      if (!bmp.begin(0x76)) {
      and alle readbme.something lines

    • @JanicekTrnecka
      @JanicekTrnecka 4 ปีที่แล้ว +1

      Its able to read the sensor but it crashes (at least watchdog seems to be resetting it over and over)