ds18b20 – connect multiple temperature sensors

ds18b20 – How to connect multiple temperature sensors:


At my first try i took 5V and GND from the breadboard and connected it to my second ds18b20 temperature sensor.

Then i connected the data pin of the second sensor to a unused gpio pin on the raspberry pi. This was wrong.

You must connect the data pin’s in a row. When you don’t do this you can just see one sensor and it’s also not possible to configure those multiple ports in the config file.

For multiple sensors you can take 5V and GND from the breadboard and connect it to all of the sensors each. The data pin’s must be wired together! (as you can see on the picture -> the red wire)

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Nach oben scrollen