Skip to main content

示例:控制通过 OneWire 连接的 DS18B20 温度传感器

产品: CODESYS Control for Raspberry Pi

OneWire.project 项目显示了一个应用程序,它检测通过 OneWire 连接的设备。此外,还控制了一个DS18B20型温度传感器。在这种情况下,OneWire 数据线连接到 GPIO4。

有关详细信息,请参阅: 配置 OneWire

注意

_example_icon.png 安装后 CODESYS Control for Raspberry Pi,示例项目位于 CODESYS Control for Raspberry Pi 安装目录,在 Examples 目录。

系统要求和限制

编程系统

CODESYS Development System (版本 3.5.18.0 或更高版本)

运行系统

CODESYS Control for Raspberry Pi (4.5.0.0 或更高版本)

附加组件

OneWire 温度传感器