How to measure temperature using arduino

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

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

  • @ElectroRetro
    @ElectroRetro  4 года назад +4

    code:- drive.google.com/file/d/1hFtZOZ4nYTx-XEkdkFRlEnsFX7IqBVLP/view?usp=drivesdk

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

      Tip: People Always see the thumbnail, preview, channel name, logo and length of the video to determine if they are going to click on the video, and because it can be done in 4 minuets and there are tutorials which show it in less time and provide more information than your video, that would be one of those reasons why this video has less views then others. people want to get it working in small amount of time but your video is over 7 minuets long which at this point people would watch this video if they want nice presentation or some video making technique or for entertaining purposes. so Good Luck on which type of video you want to make, usually entertaining videos make more views, subs, likes but less use.I am not blaming that this video is not good so don't mind me and if anyone found it useful then please reply me so i can know if my reply was usefull to someone's life. Have a good day.

    • @ElectroRetro
      @ElectroRetro  3 года назад +2

      👍🏼

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

    I have tried the same program, but the temperature reading is not the same as the thermo gun, please help me

  • @tryingtonot3369
    @tryingtonot3369 3 месяца назад +1

    Life savior ❤❤❤

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

    Hey! What should I change to make it work with 5 kOhm thermistor?

    • @papaikarmakar84
      @papaikarmakar84 14 дней назад

      I think you need to change the R1 value also to 5kΩ

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

    thanks, worked perfeclty

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

    can you mention which ntc thermistor is being
    used here....

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

      I am using this ntc thermistor : robu.in/product/b3950-10k-ntc-thermistor-temperature-sensor-525mm-with-xh2-54-connector-with-0-5-meter-cable/?gad_source=1

  • @hasibulhossainshanto7042
    @hasibulhossainshanto7042 8 месяцев назад

    Hi. Can i use this with 1k resistor?

  • @mukz7447
    @mukz7447 9 месяцев назад

    How do you know which is + and - on the wire?

    • @ElectroRetro
      @ElectroRetro  9 месяцев назад

      For NTC resistor there is no + and -

    • @mukz7447
      @mukz7447 9 месяцев назад

      @@ElectroRetro thanks :) also for the code it is saying could not create the sketch, is it possible you paste the code for me?

    • @ElectroRetro
      @ElectroRetro  9 месяцев назад

      int ThermistorPin = A1;
      int Vo;
      float R1 = 10000;
      float logR2, R2, T;
      float c1 = 1.009249522e-03, c2 = 2.378405444e-04, c3 = 2.019202697e-07;
      void setup() {
      Serial.begin(9600);
      }
      void loop() {
      Vo = analogRead(ThermistorPin);
      R2 = R1 * (1023.0 / (float)Vo - 1.0);
      logR2 = log(R2);
      T = (1.0 / (c1 + c2*logR2 + c3*logR2*logR2*logR2));
      T = T - 273.15;
      Serial.print("Temperature: ");
      Serial.print(T);
      Serial.println("c");
      delay(100);
      }

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

    How did you arrive at the formula:
    R2 = R1 * (1023 / Vo - 1)
    Can you explain this please.

    • @ElectroRetro
      @ElectroRetro  3 года назад +2

      It's Steinhart-Hart equation used to convert resistance to temperature.
      en.m.wikipedia.org/wiki/Steinhart%E2%80%93Hart_equation

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

      @@ElectroRetro I am asking about the step before the Steinhart-hart equation, where you calculate the resistance of R2.

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

      R2 is calculated by the value of resistor R1, Input voltage Vin, output voltage Vout (the voltage between the thermistor and resistor R1) R2= (VOUT * R1) /(VIN - VOUT).

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

      @@ElectroRetro So what is the significance of the numbers "1023" and "1.0".

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

      Analog values of measured output

  • @thusharpa2924
    @thusharpa2924 4 года назад +3

    👍

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

    what about accuracy?

    • @ElectroRetro
      @ElectroRetro  2 года назад +1

      +/- 1 degree Celsius

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

      @@ElectroRetro
      thanks for fast reply
      i want to make incubator controller using this
      can it give accuracy much more???

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

      I think this will work fine for the incubator.

    • @ElectroRetro
      @ElectroRetro  2 года назад +1

      Or you can use w1209 thermostat. Previously I made an incubator using w1209 and it works.

    • @ambalapetlover7904
      @ambalapetlover7904 2 года назад +1

      @@ElectroRetro
      i m already using w1209
      but i want to make a fully automatic incubator
      commercial controller are costly
      i use your code 10 minut before
      this work fine for me
      only problem is noice problem
      temperature reading fluctuate very much
      not give me a stable reading

  • @j.tunoud
    @j.tunoud 2 года назад +1

    Mister, What if my board is an esp32 and it only supply out a 5V will that effect the accuracy? or what should I change in order to match the one you show

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

    Brother I need a help to built a temperature measurement system?

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

    sir, I want to calculate child body temperature when so please make a video on that.

  • @athuldev5307
    @athuldev5307 4 года назад +3

    😁

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

    The link for the code tries to execute a JS virus script!

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

      drive.google.com/file/d/1L_1ppzY5ntrKaL_lm-xtDeN60wLGyvCq/view?usp=drivesdk. Try this link, now i use Google drive. Previously i used mediafire.

  • @90simissthe
    @90simissthe 2 года назад

    ah i understand now.

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

    its showing -275.5 -254.2 300.1 and stuff :/