How to measure temperature using arduino

แชร์
ฝัง

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

  • @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

      👍🏼

  • @tryingtonot3369
    @tryingtonot3369 3 หลายเดือนก่อน +1

    Life savior ❤❤❤

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

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

  • @abduhfitrahramadhan8767
    @abduhfitrahramadhan8767 4 หลายเดือนก่อน

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

  • @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

  • @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

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

    thanks, worked perfeclty

  • @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);
      }

  • @hasibulhossainshanto7042
    @hasibulhossainshanto7042 8 หลายเดือนก่อน

    Hi. Can i use this with 1k resistor?

  • @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

  • @ashiquzzamanashiquzzaman261
    @ashiquzzamanashiquzzaman261 ปีที่แล้ว

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

  • @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

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

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

  • @thusharpa2924
    @thusharpa2924 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.

  • @athuldev5307
    @athuldev5307 4 ปีที่แล้ว +3

    😁

  • @90simissthe
    @90simissthe 2 ปีที่แล้ว

    ah i understand now.

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

    its showing -275.5 -254.2 300.1 and stuff :/

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

      Try changing resistors

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

      @@ElectroRetro happens same

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

      @@RandomlySelectedUserName change float CL values

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

      @@ElectroRetro to what do we change it ser?

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

      In the code change float CL values.