IKBFU's Vestnik

2019 Issue №3

Back to the list Download an article

Hardware-Software Im­plementation of 1-Wire Interface Based on STM32 Microcontroller



This paper presents an implementation of 1-Wire communication inter­face based on STM32 microcontroller with the usage of hardware timer. Im­plemented low-level library uses minimum of MCU resources, has address search functionality and can be applied for polling sensors in wired networks based on this interface.


1.  Complete 1-Wire Command Codes // OWFS Website. URL: http://owfs. sourceforge.net/commands.html (дата обращения: 05.08.2019).

2. Using a UART to Implement a 1-Wire Bus Master // Maxim Integrated. URL: https://www.maximintegrated.com/en/app-notes/index.mvp/id/214 (дата об­ра­ще­ния: 05.08.2019).

3.  Елисеев Н. Интерфейс 1-Wire: устройство и применение // ЭЛЕКТРОНИ­КА: Наука, Технология, Бизнес. 2007. Вып. 8. URL: http://www.electronics. ru/files/article_pdf/0/article_657_119.pdf (дата обращения: 05.08.2019).

4.  Программная реализация протокола 1-Wire (iButton, MicroLan) на микро­контроллерах AVR. URL: https://aterlux.ru/article/1wire (дата обращения: 05.08.2019).

5.  RM0008 Rev 20 Reference manual. STMicroelectronics. December 2018. URL: https://www.st.com/resource/en/reference_manual/cd00171190.pdf (дата обра­щения: 25.06.2019).

6.  1-Wire Online Tutorial // Maxim Integrated. URL: https://www.maximinteg rated.com/en/products/1-wire/flash/overview/index.cfm (дата обращения: 25.06.2019).