element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Temperature-control with arduino / MAX31855 / NXP KTY84
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 8 replies
  • Answers 2 answers
  • Subscribers 393 subscribers
  • Views 2146 views
  • Users 0 members are here
  • temperature
  • maxim
  • nxp
  • arduino
  • sensor
Related

Temperature-control with arduino / MAX31855 / NXP KTY84

Former Member
Former Member over 11 years ago

Hello Community,

 

I'm a software engineer  so I don't have much experience with HW. My goal is to create a small temperature-control with an arduino and I already found some parts that might work together, but I'm not sure about that and it would be great  if someone more experienced could help me out.

 

Basically I want to measure temperatures up to about 200-250 °C that are created by a e-cigarette-heating element. If the temperature exceeds a certain limit, I want to turn off the heating element. If the temperature drops below a threshold I want to turn the heating element back on.

The control is done by an arduino UNO. Because the heating element needs a lot of power (well not THAT much, but propably more than the arduino can handle), I would use a MOSFET controlled by the arduino to switch it on and off.

 

The measurement could be done using a MAX31855 (Type K) connected via SPI to the arduino. As a thermocoupler I would use a NXP KTY84 which has a tempeture-range from -40°C to +300°C which should be good.

 

So here are the questions:

- Will a MAX31855 work with the NXP KTY84? (I think so, because it has a K in its label. image )

- What kind of MOSFET do you recommend? (I have no idea, but is needs to be activated with the 5V of the Arduino.

 

 

Here are some links to datasheets. They are also attached to this topic:

MAX31855: https://www.adafruit.com/datasheets/MAX31855.pdf

NXP KTY84: http://www.produktinfo.conrad.com/datenblaetter/175000-199999/183458-da-01-en-Temperatursensor_KTY84.pdf

Thanks in advance for your help!

 

Marc

Attachments:
image183458-da-01-en-Temperatursensor_KTY84.pdf
imageMAX31855.pdf
  • Sign in to reply
  • Cancel
  • shabaz
    0 shabaz over 11 years ago

    Hi Marc,

     

    The NXP device is not a thermocouple, according to the datasheet it's resistance varies with temperature. A thermocouple generates a voltage with temperature. So the MAX.. device is not compatible. The resistance of the NXP device could be measured using a constant current source and an ADC. I've not done the math to know if the ADC on an Arduino is sufficient for your needs, you'd need to go through the NXP data sheet and the data sheet for your ADC. You probably need to enlist the help of a hardware engineer at this stage though, I don't think a prototype for such a solution can be constructed just from existing Arduino shields.

     

    Maybe a bi-metallic strip is an alternative idea? I know nothing about them though.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 11 years ago

    Hi Marc,  I took a glance at the data sheet for the Max 31855 and they have a selection of recommended compatible thermocouples to go with it. They use the 31855 number and then add the K or other letter to designate the specific range it is intended for. As far as a good MosFET to use with the arduino you may want to take a look at the NTD4906. It will handle 30 volts and several amps and the gate will trigger at 5 volt logic levels. I believe that the manufacturer is discontinuing them in September but they are still available in some parts houses.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago

    I have recently posted a few YouTube  videos on how to drive MOSFETS and higher power loads, also how to read from none micro-controller voltage levels, you may find it useful

     

    www.youtube.com/user/thebreadboardca

     

    regards

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 11 years ago in reply to Robert Peter Oakes

    Hi Peter - Thanks for the time you put into those nice and informative videos.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to jw0752

    Hi John,

     

    I think what you mean is on page 12 ("ordering information"). But these are only the different variants of the MAX31855 because they are available for different thermocoupler-types. If you mean something else, please tell me what page.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to shabaz

    I feel really stupid right now, for not recognizing that the NXP is not a thermocouple...image Thx for the info!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    I looked up some Thermocouplers but they are quite expensive (way above 20€) or i looked in the wrong place. So i decided to go with the NXP KTY84 and create a little voltage devider and connect it to one of the ADC-Ports of the Arduino. Now I have to figure out the size of the resistor...

    My temperature-range goes from room-temp (10-20 °C) to about 200°C with corrensponds to about 550 Ohm (10-20°C) and about 1.7k Ohm according to the data-sheet of the NXP. Would it be reasonable to use somethin like a 1k Ohm resistor? So in low temperature i will get about 1/3 of the Vcc and in high temperature i will have about 2/3 of the Vcc. Am I right?

     

    I know that I have to do the conversion and math in the arduino but that's not a problem. It doesn't need to be that precise.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 11 years ago in reply to Former Member

    Hi Marc - Sorry I didn't look closer at the data sheet. You are probably right. As far as the resistors to use with the NXP as long as you are using 5 volts for the voltage feed to your resistive divider you will be fine. All you will have to do is map the voltage difference at your analog input and constrain it. This will give you 1023 increments of temperature between low and high that you can use in your program to approximate the temperature of the sensor. If you are going to use a feed voltage greater than 5 volts you will have to make sure that your resistors in the divider are appropriate to keep the analog input to less than 5 volts max. I have done soething similiar to this using the TMP 36 sensors but they will not read as high in temperature as you want to go. Don't feel bad about thinking the NXP was a thermocouple. I have a box of parts that I have accumulated from similiar acquisitions. It just proves the addage that one can't learn without making mistakes. This is certainly true for me at least. Good luck on your project.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube