3 Great Arduino Temperature Sensors // LM34, DS18B20, and DS3231 Real Time Clock

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

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

  • @readyplayerprime8195
    @readyplayerprime8195 3 года назад +3

    I'm putting together a project using an Arduino Nano to control a small lake aeration system running a couple of oil-free compressors, some cooling fans for the after-coolers, indicator lights, pressure sensors, and solenoid valves to distribute air to 5 different locations throughout the water. I've used a 74hc595 to control an 8 relay module but I am still a bit short on pins. I will need to monitor temperature for the control enclosure and found your video while researching the DS3231 temperature sensor usage since I will be data-logging the system. Thanks for the video!

  • @jurzs6505
    @jurzs6505 2 года назад

    i have had trouble and have spent like 8 hours on fixing my ds 18b20 sensor,thank you ,this code fixed it

  • @kellnatalia2054
    @kellnatalia2054 11 месяцев назад +1

    THANK YOU THANK YOU THANK YOU SO MUCH FOR MAKING THIS VIDEO! It is really helpful for my project and I wish you all the best!!!

  • @celioissof2943
    @celioissof2943 Месяц назад +1

    I want to connect ds18b20 sensor to my 3d printer because the other one was that with the end in glass and it broke. It is possible?

    • @ScienceFunInnovations
      @ScienceFunInnovations  Месяц назад +1

      Depends on your 3D printer, they may have been using a different type sensor.

  • @icarossavvides2641
    @icarossavvides2641 3 года назад +1

    Quote from datasheet "The resolution of the temperature sensor is user-configurable to 9, 10, 11, or 12 bits,
    corresponding to increments of 0.5°C, 0.25°C, 0.125°C,
    and 0.0625°C". The datasheets are written for a reason everyone!

    • @ScienceFunInnovations
      @ScienceFunInnovations  3 года назад

      Good to know. 12 bit is much better, wonder why they just don't set it there all the time...

  • @hawkenvanguard3032
    @hawkenvanguard3032 2 года назад

    Something I have noticed is that the DS18B20 sensor is not super accurate at room temperature. It seems to report values a few degrees higher than it should. It becomes more accurate the farther away it is from room temp, but my sensor was report 80 degrees instead of 73-ish degrees for the ambient temperature

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад

      That is pretty far off. Mine have seemed better than that, but not super accurate.

  • @kellnatalia2054
    @kellnatalia2054 11 месяцев назад

    Also, for the DS3231, which DS3231 library did you use, and how to install it (do you install it from the Arduino IDE or from github?)

    • @ScienceFunInnovations
      @ScienceFunInnovations  11 месяцев назад

      That was so long ago... I probably got it from the Arduino IDE.

  • @williampowell7518
    @williampowell7518 2 года назад

    for the DS18B20. I am trying to figure out why the temperature doesn't update. if I apply heat or let it cool down the new temperature doesn't reflect unless I restart/reset the Arduino board. Any idea what could be causing this?

  • @ghijorihajar2563
    @ghijorihajar2563 4 года назад +1

    I used in my projet ds18b20 with ds3232 but ds3232 does not work successfully can you help me please

    • @ScienceFunInnovations
      @ScienceFunInnovations  4 года назад +1

      I just added the code I used to my Facebook page @ScienceFun4u
      Was there a specific problem that you are experiencing?

    • @ghijorihajar2563
      @ghijorihajar2563 4 года назад

      @@ScienceFunInnovations thank you very much .I solved the problem after I changed the code

  • @MugguntanMugguntan-x2w
    @MugguntanMugguntan-x2w 4 месяца назад

    Can i use THIS project for My School does IT help me ?

  • @otiro2045
    @otiro2045 3 года назад

    hey when I connect my DS18B20 exactly the same way you did it says 0 sensors found

  • @limitlessbuilds
    @limitlessbuilds 3 года назад

    Hey, I’m just starting to look into arduino stuff now, and might be over my head on this one. 😂. What I would like to do is control a stepper motor based on the temperature inside a box. The stepper will open and close the lid as required to maintain temp. Any chance you could help!??

    • @ScienceFunInnovations
      @ScienceFunInnovations  3 года назад +1

      Yes. I have videos on stepper motors, fan speed control based on temperature, and videos on linear actuators. Check out the videos on my channel. Not exactly what you are looking for, but if you pieced it all together you could get it working. Good luck!

  • @Organ18
    @Organ18 3 года назад

    How to rename the sensor on the display ??

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

    thank you for that very loud gun shot sound which woke up my kid and almost made me a heart attack

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

      LOL. That is actually a lightning bolt. Have to make sure that my viewers are paying attention. :-)

  • @pkmathclasses1038
    @pkmathclasses1038 5 месяцев назад

    Kitna ka hai

  • @650_vrushabhzunjurkarzunju9
    @650_vrushabhzunjurkarzunju9 3 года назад +1

    #include
    #include
    #define ONE_WIRE_BUS 2
    OneWire oneWire(ONE_WIRE_BUS);
    DallasTemperature sensors(&oneWire);
    int numberSensors=0;
    float Celsius;
    void setup(void) {
    sensors.begin();
    Serial.begin(9600);
    numberSensors= sensors.getDeviceCount();
    Serial.print(numberSensors);
    Serial.println("sensors found");
    Serial.println(Celsius);
    }
    void loop(void) {
    sensors.requestTemperatures();
    for (int i=0 ; i

  • @mihapeterle204
    @mihapeterle204 3 года назад

    accurasy is lower

    • @ScienceFunInnovations
      @ScienceFunInnovations  3 года назад

      Yes. But to control something like an greenhouse fan, it is close enough. Thanks for watching.