I
I
Igor Chernyshev2013-07-19 11:04:39
Do it yourself
Igor Chernyshev, 2013-07-19 11:04:39

Connecting multiple 1w sensors to Raspberry Pi

Good day.

Is it possible to connect multiple sensors to Raspberry Pi? On the Internet, there are manuals for connecting one sensor (temperature) to GPIO4 everywhere. What if I want to connect more than one? 2-3-5?

Whether it is possible to plant them on one port? How is this generally done? What are the difficulties?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Ocelot, 2013-07-19
@Ocelot

w1 -> 1w (1 wire)?
If yes, then it is possible and even necessary, the 1w protocol explicitly provides for connecting several devices to one bus.
All sensors are connected in parallel. The required sensor is accessed at a unique address, all the others do not interfere at this time. Before starting work, it is necessary to carry out the device search procedure in order to find out the addresses. Key phrase for Google: 1-wire search rom.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question