![]() If you need a temperature with accuracy of 0.0625 degree, the DS18B20 would be a good choice.īut DS18B20 has an really time sensitive 1-wire protocol. The temperature captured by thermistor won’t be too accurate, just around 1 degree or so. You know, a common solution to this is to use some thermistor and try to use some ADC(Analog-Digital-Converter) to capture the voltage on that. I’m trying to add some temperature sensor to my STM32-based computer water-cooling controller. If you just want to use 1-wire based device and just don’t want to know any technical detail, jump to the last part. 4.3 principle behind simulating 1-wire using UART - RESET.4.2 principle behind simulating 1-wire using UART - READ.4.1 principle behind simulating 1-wire using UART - WRITE.Using UART+DMA to implement the 1-Wire Protocol 2.2 Analysis on DS18B20 specific function. ![]() STM32 - 1-Wire protocol analysis & Implementing of OneWire Protocol using UART peripheral and DMA
0 Comments
Leave a Reply. |