Skip to content
martlaak edited this page Aug 15, 2022 · 16 revisions

Welcome to the OneWireTemperatureSensor wiki!

Introduction

The goal of this project is to serve as an example for how you can use the OneWireIO library to read sensor values off of sensors using the 1-Wire protocol.

OneWireIO uses the Raspberry Pi 1-WIRE bus interface. You need to enable the one-wire interface by addint the following line to /boot/config.txt, before rebooting your Pi:

dtoverlay=w1-gpio,gpiopin=x

, where is is GPIO number used.

The OneWireTemperatureSensor app is can be read unlimited number of sensors from the Raspberry Pi 1-WIRE bus. Temperature sensors should be connected to Raspberry Pi like is shown in the following diagram:

Here you can see the photo example how the sensors are connected using test breadboard:

This is a preview of what the OneWireTemperatureSensor GUI looks like:

Clone this wiki locally