IoT - real time temperature chart in Webbrowser with ESP32 and WiFi

Поделиться
HTML-код
  • Опубликовано: 6 фев 2025

Комментарии • 20

  • @MrNebRebew
    @MrNebRebew Год назад

    You explain things very well and make it easy to understand. Can't wait for the next one! Thank you

  • @scottstevens7569
    @scottstevens7569 Год назад +1

    This has been an informative series, well presented. I have been doing just this with your #4 code, converting it to read an AHT10 sensor for Temp and Humidity.
    I think my next step is to have sort of data storage and allow various spans of time to be displayed. Keeping the slider as the picker to vary the amount of time between readings is another usefull feature for my purpose. Thanks!

    • @mothunderz
      @mothunderz  Год назад

      Thank you for your feedback, excellent usage of the slider!

    • @duribv
      @duribv 7 месяцев назад

      Hi, have you been successful? I am doing similar task, so I would appreciate if you could share your code.

    • @scottstevens7569
      @scottstevens7569 7 месяцев назад

      @@duribv This was a working version near where I left off. After more than a year and a HD loss, I'm not sure if it still has the slider, but everything else worked.

  • @dash5500
    @dash5500 Год назад +1

    I always love your videos ..very informative and helped me alot for my projects. keep it up

    • @mothunderz
      @mothunderz  Год назад +1

      Thank you very much for your feedback, really appreciated!

  • @wojtekdab7760
    @wojtekdab7760 3 месяца назад

    You are great man

  • @Fred830d
    @Fred830d 15 дней назад

    Here, you only send data every second. Can I send data every millisecond instead, or is there a limit to how fast I can send my data?

  • @marcosgiovanni9682
    @marcosgiovanni9682 Год назад

    Very good your videos, could implement the triggering of digital inputs and button triggers via websocket with a web interface

    • @mothunderz
      @mothunderz  Год назад +1

      Yes, will do in my next video - stay tuned

  • @WikkidDJ
    @WikkidDJ Год назад

    Hello and thank you for your vids. I'm new to coding and it makes me feel lost very easily. I see the same types of projects that do the exact same things, yet the code can be written several different ways. I tried plugging in parts from other sketches that have worked to get the sensor readout to be in Fahrenheit but it just exit's the upload before it flashes. Your coding is different that others, better I'd say cuz I can almost read the progression as the lines go on. But I'm still stuck at noob status unable to figure out this minor Fº conversion or formula. How can I get itto read out in Fahrenheit? Looking forward to future videos from you. You got my sub! Dan

    • @mothunderz
      @mothunderz  Год назад

      Hi Dan,
      Great to hear that my code is working for you. The temperature is read in the main loop with the following comment:
      dht.temperature().getEvent(&event);
      if this is successful, the temperature is available as a float value in event.temperature
      As you already noticed this is in Celsius. To convert this to Fahrenheit, you can do:
      float fahrenheit = (event.temperature* 1.8) + 32;
      With this statement we defined a new float variable "fahrenheit" that contains the temperature in fahrenheit. We then use this new variable as sensor variable, so this:
      sens_vals[ARRAY_LENGTH - 1] = round(10*event.temperature);
      should be changed to
      sens_vals[ARRAY_LENGTH - 1] = round(10*fahrenheit);
      NOTE: I am traveling and dont have a setup here to test this. I am fairly confident it is correct though. Please let me know if this worked for you.
      Regards,
      Sander

  • @BiqBanq
    @BiqBanq 4 месяца назад

    Instead of seeing website in our IP address, can we make it on real website? Any difference in the code? Thanks in advance...

    • @mothunderz
      @mothunderz  4 месяца назад

      You can look into mDNS for this. Alternatively you can use your router at home to configure a name instead of IP address

  • @bektinurwanto
    @bektinurwanto Год назад

    how to combine this using bootstrap sir

    • @mothunderz
      @mothunderz  Год назад

      My apologies, but I have not looked into this yet

  • @paulwilkie5350
    @paulwilkie5350 Год назад

    MoThunderz, where do I download the updated Javascript data file for this sketch - ESP32WiFiTenp Sensor.ino??

    • @mothunderz
      @mothunderz  Год назад

      Hi Paul, I am not sure I fully understand the question. The .ino sketch is on my github and it includes the javascript data files. The .ino file is here:
      github.com/mo-thunderz/ESP32WifiTempSensor/tree/main/Arduino/Esp32WifiSensor/
      and the javascript files are in the data subfolder:
      github.com/mo-thunderz/ESP32WifiTempSensor/tree/main/Arduino/Esp32WifiSensor/data