Arduino MAX31855 Thermocouple Tutorial | SPI

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

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

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

    hi there. im following this tutorial but im having a problem and hoped you might have some suggestions.
    im just using the example sketch and havnt made any changes to it. with a K type thermocouple.
    when i read the thermocouples temperature, it gets lower when i put it against a hot object, and vice versa.
    its ambient reading is 15C lower than the arduinos, and if i press the probe into my cheek, the temperature goes as low as -23C.
    apparently this can be caused by incorrect polarity on the thermocouple leads, so i tried swapping them, but it had no effect. the temperature still dropped instead of rose.
    do you have any idea what might be causing this? id be grateful for your help.

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

      Hi,
      It could be poor connections, or poor quality components. Just make sure the connections are made well and try once again

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

    Nice video! however I have an issue while uploading the code. It said that "Error compiling for board NodeMCU 1.0 (ESO-12E Module)"
    the massage showed
    Arduino\libraries\ArduinoJson\libraries\Adafruit_MAX31855_library/Adafruit_MAX31855.h:30:32: fatal error: Adafruit_SPIDevice.h: No such file or directory
    #include
    ^
    compilation terminated.
    I hope you can help me to solve the problem, thankyou.

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

      This application was built on an arduino nano, the libraries are compatible with all arduinos, they are likely not compatible with the ESP range or NodeMCU. You need to find an alternative llibrary for the MAX31855 sensor.

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

      @@MishMashLabs I got the same massage when i was using the arduino uno. I have already install required libraries for max31855 but it still gave the same massage

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

      You also have the Adafruit_SPIDevice.h installed from the Adafruit Bus IO Library?
      github.com/adafruit/Adafruit_BusIO or you can istall it using the Arduino Library Manager - "Adafruit BusIO"

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

      @@MishMashLabs Thankyou so much, it worked. However the thermal input in the serial monitor is so fluctuative e.g. it can rise from 15 to 100 then dive to -25. Is it probably because of the quality of the thermocouple itself?

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

      Yes, or sometimes loose connections.

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

    I want the code!! Can you plz share the link for this?

    • @MishMashLabs
      @MishMashLabs  2 ปีที่แล้ว

      The code has always been linked in the description
      github.com/mishmashlabs/MAX31855_LCD_Relay/tree/main/Thermocouple_with_LCD

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

    You shouldn't be using crimped connectors on the leads of a thermocouple as this introduces another junction which in turn incurs, usually a 1 degree error. Another thing to consider is the terminal block. Professional instrumentation use non ferrous terminals. However, if you know the errors you can offset them in software.

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

    Thank you for your description! It is very good. I have tried to use your description, but the temp are far from correct. I have a probe I can check with an meter that it is OK . I guess the amplifier max31855 is sensitive , so I bought another one but the result is still very random from houndred degrees C to thousand. even negative., The probe I use has a yellow contact. something is wrong but I cannot figure out what. Any idea? I have read on arduino forum on similar problems

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

      If it is bouncing around, you may have a dodgy cable or bad connection.
      K type thermocouples are roughly +/- 2.5% accuracy. If it's just a poor quality thermocouple and it's a stable result, you could add an offset in the the software to make it more accurate.

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

      @@MishMashLabs Thank you for your answer! I guess MAX31855 is very sensitive, My probe has a yellow connector so I can use it to check with my meter, I did not want to remove the connector therefore I used small cables between the connector and MAX31855. Do you think they are picking up noise?

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

      They could be, without a picture I couldn't say though. Try replacing with bigger wire, a making sure the connections are solid. If you're worried about noise. Twist the cables around one another to create a twisted pair.

  • @robertcoyle1532
    @robertcoyle1532 2 ปีที่แล้ว

    Had nothing but trouble with these modules. I'm trying to control a kiln. Everything fine until the temp gets to around 1400 F then signal gets wacky or loses contact with the software. Anyone else have this trouble. this doesn't happen with the Analog Devices chip. ?

  • @user-xk2ee8cr7p
    @user-xk2ee8cr7p 2 ปีที่แล้ว +1

    This is an excellent video with thorough description and clear photo/videography!

    • @user-xk2ee8cr7p
      @user-xk2ee8cr7p 2 ปีที่แล้ว +1

      Opps, but there's an error in the voice-over at 4:28 where the connections to the nano's digital I/O are identified as pins 2 (digital output), 3 (chip select) and 4 (clock speed) contrary to the info at 3:55.

    • @MishMashLabs
      @MishMashLabs  2 ปีที่แล้ว

      Thank you sir!

    • @user-xk2ee8cr7p
      @user-xk2ee8cr7p 2 ปีที่แล้ว

      @@MishMashLabs Hi again, Im having trouble - both temperature readings are always 0. Swap TC between hot water and cold water baths and still COM3 output is (always) 0 deg C. Connections between max31855 & arduino have tested OK with multimeter. Confirm 3.3V supply to the breakout board. Confirm voltage across TC terminals changes as TC swapped between HW and CW baths. Is there a way to diagnose further?

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

    Could you share your code ?
    I want to use this for a arduino based protype for dc moter!!
    let me know if this code helps?

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

      Hi, there is a link in description or you can follow this link; github.com/mishmashlabs/MAX31855_LCD_Relay/tree/main/Thermocouple_with_LCD
      I recommend using a PWM controller for your DC motor so you can control speed. But this will also work.

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

    Nice Video

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

    i actually thought the visual reference for the connections was poor. but thank you for sharing i was able to eventually figure it out with you upload.