Max31865
Max31865 library for stm32 hal
Install / Use
/learn @nimaltd/Max31865README
MAX31865 Library
- http://www.github.com/NimaLTD
- https://www.instagram.com/github.nimaltd/
- https://www.youtube.com/@nimaltd
This is the MAX31865 STM32 HAL Library
Based on https://github.com/adafruit/Adafruit_MAX31865
How to use this Library:
- Select "General peripheral Initalizion as a pair of '.c/.h' file per peripheral" on project settings.
- Enable SPI and set clock below 2MHz,MSB,CPOL LOW,CPHA 2 Edge.
- Enable a gpio as Output for CS Pin.
- Include Header and source into your project.
- Config "Max31865Conf.h".
- Call Max31865_Init( .. .. .. ).
#include "Max31865.h"
Max31865_t pt100;
bool pt100isOK;
float pt100Temp;
int main()
{
Max31865_init(&pt100,&hspi3,SENSOR_CS1_GPIO_Port,SENSOR_CS1_Pin,4,50);
while(1)
{
float t;
pt100isOK = Max31865_readTempC(&pt100,&t);
pt100Temp = Max31865_Filter(t,pt100Temp,0.1); // << For Smoothing data
HAL_Delay(1000);
}
}
<a ><img src="1.jpg" height="300"/></a> <a href="https://www.adafruit.com/products/3328"><img src="2.jpg" height="300"/></a>
Related Skills
node-connect
340.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.2kCommit, push, and open a PR
