cancel
Showing results for 
Search instead for 
Did you mean: 

Temperature Drop at k type thermocouple when heater is switched ON

arham1026
Visitor

Hi, I am kinda new to this community.I am working with STM32L432KC micro controller and using it to control a PTC heater having power rating of 20Watts.The control is basically ON/OFF control with single pin activating the relay and switching the heaters ON.I am continously measuring the temperature of these heaters through k thermocouple and MAX6675IC.The problem is when below a certain threshold temperature heater is switched ON the the temperature immediately drops to zero. Any one having any insights on this Problem?

1 REPLY 1
SofLit
ST Employee

Hello @arham1026 and welcome to the community,

As per MAX6675 datasheet, this IC is using SPI. What actually did at this stage as debug? did you probe MISO pin? 

SofLit_0-1733992476037.png

When you say: 


@arham1026 wrote:

The problem is when below a certain threshold temperature heater is switched ON the the temperature immediately drops to zero. Any one having any insights on this Problem?


What do you mean by the temperature drops to 0? how you did conclude that? in a value read in your software?

What tool are you using STM32CUbeIDE/STM32CubeMx? Cube HAL as STM32 drivers?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.