Thinking of replacing the dedicated microcontroller that runs my house with a BBB. Being able to read the existing 1-Wire network will be critical. Currently have 12 18B20 sensors on one bus, need more. Can the kernel module described here actually address and read multiple sensors on the same bus? Can it search and retrieve addresses from unknown sensors?
I see people selling 8-port capes, as if maybe this is a simple one device per bus routine… Wouldn’t help me!
As for the “considerations” of long buses, yes there was a learning curve. I have both active pull-up and active pull-down, with careful source-end termination. All cable is CAT-5, and all sensors are within 1m of a single linear topology installation. In several cases the bus goes out one pair of the CAT-5 to a distant sensor and comes back on another pair of the same cable to continue to the next destination. Branching.in a star fashion is death to 1-Wire. My current system works, reliably controlling serious solar hot water and outdoor wood boiler operation that could blow off expensive antifreeze fluid (a huge hassle to recharge) if anything overheated.
The t=24437 is the temperature in C times 1000. Warm up the probe and see what happens to the temp.
I believe this is stated properly, but could be confusing.
Be:
The t=24437 is the temperature in C times .001. Warm up the probe and see what happens to the temp.
?
Perhaps you mean:
Given t=24437, you can determine the temperature in C by multiplying t by .001. Warm up the probe and see what happens to the temp.
You could also say by dividing by 1000. Mark’s language was right because he was describing how t is derived from the temperature and not the other way around.