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
Experimenting with Thermal Switches
  • Challenges & Projects
  • Design Challenges
  • Experimenting with Thermal Switches
  • More
  • Cancel
Experimenting with Thermal Switches
Challenge Blog 3D Printer Thermal Runaway / Thermistor Tester #4 - Detecting Transition From ON to OFF on Thermal Sensors
  • Challenge Blog
  • Forum
  • Documents
  • Files
  • RoadTests
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: guillengap
  • Date Created: 4 Feb 2022 12:47 PM Date Created
  • Views 1071 views
  • Likes 4 likes
  • Comments 2 comments
  • kemet
  • experimenting with Thermal Switches
Related
Recommended

3D Printer Thermal Runaway / Thermistor Tester #4 - Detecting Transition From ON to OFF on Thermal Sensors

guillengap
guillengap
4 Feb 2022

Table of Contents

  1. Project Introduction
  2. Testing the OHD1-50B Thermal Sensor
  3. Testing the OHD1-50B and M-TRS5-60B Thermal Sensors
  4. Detecting Transition From ON to OFF on Thermal Sensors
  5. Activation of a Fan with a OHD1-30B Thermal Sensor
  6. Cutting Power to the 3D Printer when Thermal Sensor Detects Thermal Runaway
  7. Project Report Updated

**********************************************************************************************************************

Detecting Transition From ON to OFF on Thermal Sensors

As part of the discussion I had in my blog number 2, the idea of investigating the transition from ON to OFF in thermal sensors came up. This is important since it gives us an idea of the response speed of the thermal sensors and if this transition is clean.

Update: At the end of this post I compare the transition from ON to OFF between a thermal sensor and a relay.

OHD1-50B Thermal

First we will sample the signal through an ADC port of an Arduino board and see the data flowing through the serial port, and then we will see it through the serial plotter. The code used is simple and I uploaded it on an Arduino MEGA 2560 board but you can use any Arduino board, I will show you the code below.

Test_ADC.ino

int analogPin = A3; // potentiometer wiper (middle terminal) connected to analog pin 3
                    // outside leads to ground and +5V
int val = 0;  // variable to store the value read

void setup() {
  Serial.begin(9600);           //  setup serial
}

void loop() {
  val = analogRead(analogPin);  // read the input pin
  Serial.println(val);          // debug value
}

In the video below you can see the test done.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

You can see the transition between ON and OFF, but it is still not clear to us how clean the signal is since the Arduino IDE has a lot of noise. The solution is to observe the signal through a digital oscilloscope since this can capture the signal at the moment of the transition, only it´s necessary to experiment with the data that is entered into the oscilloscope. Next I show you the experiment that I did.

image

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

As you can see, it's possible to see a transition of the signal from ON to OFF with the digital oscilloscope. In addition, this signal is clean and occurs in a time interval of approximately 200 microseconds. In the image below I show you a screenshot.

image

MTRS5-60B Thermal Sensor

Now I just have to check if this transition occurs in all thermal sensors, for this reason we repeat the experiment with the MTRS5-60B Thermal Sensor and this is what I observed using Arduino IDE.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

I also repeated the test with the digital oscilloscope and this is what I saw.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

The signal behaves in a similar way in all the thermal sensors, below I show you an image captured with the digital oscilloscope.

image

Grove-Relay

I have repeated the same experiment but with a relay and the objective is to compare its transition behavior with the thermal sensors. Below I show you the video.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

The relay signal behaves in a similar way with to thermal sensors,as we can see in the image captured with a digital oscilloscope.

image

Conclusion

  • Transition signal of a thermal sensor: a signal of 500 mv drops to approx. 40 mv abruptly. In the end, the signal falls linearly from 40 mv to 0 mv in approximately 150 microseconds.
  • Transition signal of a mechanical relay: a signal of 150 mv drops to approx. 50 mv abruptly. In the end, exponentially the signal falls from 50 mv to 0 mv in approx. 220 microseconds.
  • The thermal sensors signal behaves in a similar way with a relay, as we can see in the images captured with a digital oscilloscope. However, I see a slightly faster and cleaner response in the thermal sensor.
  • Sign in to reply
  • guillengap
    guillengap over 3 years ago in reply to DAB

    You're right! these sensors have a clean transition...it's amazing!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 3 years ago

    Good test, it behaved as expected.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • 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