Tagged: protocol

1-Wire over UART 0

1-Wire over UART

Today’s application mostly use somekind of operating system on microcontroller. Since these apps are not really real time anymore, keeping standard 1-Wire protocol developed with delays in software may make programmer’s life much harder and annoying. UART and 1-Wire protocols have 2 things in common: To reset 1-Wire network, we can use 9600 bauds on UART To read/write 1-Wire bit, we can use 115200 bauds on UART Detailed timings for the UART reset sequence, write/read bit can be found on...

HAL library 05- OneWire for STM32Fxxx 15

HAL library 05- OneWire for STM32Fxxx

Next port from STM32F4xx STD drivers to STM32Fxxx HAL drivers was done for OneWire library. This library is protocol based only. It features basic functions for read/write byte, reset port and search devices on OneWire port. 1-Wire is a device communications bus system designed by Dallas Semiconductor Corp. that provides low-speed data, signaling, and power over a single signal. It’s used in some temperature sensors, like DS18B20 temp sensor and many others products from Dallas. Library Read more about new HAL libraries Features...