2024-12-11 09:29 PM
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?
2024-12-12 12:38 AM
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?
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?