![]() |
Forum Index : Microcontroller and PC projects : Multiple DS18B20 on single pin
Author | Message | ||||
jtelectron Newbie ![]() Joined: 19/06/2016 Location: AustraliaPosts: 2 |
Hi everyone, Can somebody explain what seems to me a problem:- Connection of Multiple DSB1820 on a single pin. I have an unusual need to connect 15 of these devices on 1 bus in 3 wire mode. Realising the need to reduce the 4.8k pullup resistor in value. Most people seem to indicate that there are problems in coding and implementing this method[The MicroMite provides for 1 pin/device] |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Hi JTE, You might like to look thru some of my posts. This thread is one of the more recent updates. I've wanted all my temp sensors for a couple of projects on a single bus & pin and am doing just that successfully. You should be able to find the code I've posted. I use one piece of code to extract the serial numbers from individual devices. (At this stage I need to connect them ONE AT A TIME, & copy the numbers down). Then my main application just uses those serial numbers to address the sensors. One project currently has 4 on a daisy chain bus, the other has them all star connected at a central point. Both are still using a 4.7k pull-up. Chers Phil |
||||
jtelectron Newbie ![]() Joined: 19/06/2016 Location: AustraliaPosts: 2 |
Thanks Phil, I will do my best to understand your code and thanks all for your help!! |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |