Arduino MAX31855 Thermocouple Tutorial | SPI

Sdílet
Vložit
  • čas přidán 5. 08. 2024
  • Mish Mash Labs demonstrate the MAX31855 Thermocouple Amplifier Breakout Board during this tutorial.
    We show an Arduino Nano been connected to the MAX31855 Thermocouple Amplifier Breakout Board using SPI.
    This tutorial demonstrates how to solder, wire and program the Arduino Nano, and can be used to connect any Arduino to the MAX31855.
    We used a K-Type Thermocouple.
    Code on GIT:
    github.com/mishmashlabs/MAX31...
    #arduino #thermocouple #tutorial #mishmash
    Instagram: mishmashlabs
    Twitter: mishmashlabs/
    Music Credits:
    Intro & Outro by audionautix.com
  • Věda a technologie

Komentáře • 30

  • @user-xk2ee8cr7p
    @user-xk2ee8cr7p Před 2 lety +1

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

    • @user-xk2ee8cr7p
      @user-xk2ee8cr7p Před 2 lety +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  Před 2 lety

      Thank you sir!

    • @user-xk2ee8cr7p
      @user-xk2ee8cr7p Před 2 lety

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

  • @madhu7614
    @madhu7614 Před 4 lety

    Nice Video

  • @PeskyNgon
    @PeskyNgon Před 3 lety

    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  Před 3 lety

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

  • @tordtengstrand
    @tordtengstrand Před 3 lety

    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  Před 3 lety

      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 Před 3 lety

      @@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  Před 3 lety +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 Před rokem

    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. ?

  • @mathewroberts3003
    @mathewroberts3003 Před 2 lety

    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.

  • @muhammadhaseebtahir_313
    @muhammadhaseebtahir_313 Před 2 lety +1

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

    • @MishMashLabs
      @MishMashLabs  Před 2 lety

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

  • @narayananeshwaran1753
    @narayananeshwaran1753 Před 3 lety

    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  Před 3 lety

      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.

  • @chandra7734
    @chandra7734 Před 3 lety +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  Před 3 lety

      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 Před 3 lety

      @@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  Před 3 lety

      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 Před 3 lety

      @@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  Před 3 lety

      Yes, or sometimes loose connections.