onewire

command
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Onewire uses broadcast addressing mode to efficiently start the temperature conversion on all DS18x2x sensors on the 1-Wire bus simultaneously. The bus should be connected to the UART6 (PC6 pin). Next it waits for all sensors to finish the conversion. After that is searchs for the individual sensors on the bus and communicates with them using conventional unicast adressing mode, reads and and prints the mesured temperatures on the serial terminal connected to the UART2 interface (PA2, PA3 pins).

Starting the conversion on many sensors at the same time requires much power so it may not work in parasite power bus configuration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL