Digitemp + 4 Channel Hub

700 views
Skip to first unread message

Jason Sipula

unread,
May 6, 2013, 2:59:50 PM5/6/13
to digi...@googlegroups.com
Hello!

I'm trying to add the HobbyBoard 4 Channel Hub (https://www.hobby-boards.com/store/products.php?product=4-Channel-Hub) to my 1-wire network. I"m doing this because my serial port is not pushing out enough power to power all my sensors, as well as some of my sensor's don't have a passthough (the T-String from ibutton). So I need to use a hub to read all these sensors.

Digitemp does not like the hub it seems, so I'm not sure how to go about configuring it to agree with the hub. Not sure where to look or what to modify... 

When I do : .digitemp -s/dev/ttyS0 -i 

I get:

~/digitemp-3.5.0]# ./digitemp -s/dev/ttyS0 -i
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
.
Searching the 1-Wire LAN


then that's it. 

When I do a ./digitemp -a i get:

~/digitemp-3.5.0]# ./digitemp -a
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
CRC Failed. CRC is 63 instead of 0x00
CRC Failed. CRC is 63 instead of 0x00
CRC Failed. CRC is 63 instead of 0x00
CRC Failed. CRC is 63 instead of 0x00
CRC Failed. CRC is 63 instead of 0x00
CRC Failed. CRC is 63 instead of 0x00
CRC Failed. CRC is 63 instead of 0x00
CRC Failed. CRC is 63 instead of 0x00

and it continues forever until I CTRL+C it. 

If I plug my serial adapter into the hub's in port, then plug some sensors into the passthrough port, I can read those sensors OK. But if I try to plug anything into the actual 4 hub ports, I get nothing, as if Digitemp is not aware of the hub.

Please help! Any advice is appreciated!

Brian C. Lane

unread,
May 10, 2013, 9:29:28 AM5/10/13
to digi...@googlegroups.com
On Mon, May 06, 2013 at 11:59:50AM -0700, Jason Sipula wrote:
> Hello!
>
> I'm trying to add the HobbyBoard 4 Channel Hub (
> https://www.hobby-boards.com/store/products.php?product=4-Channel-Hub) to
> my 1-wire network. I"m doing this because my serial port is not pushing out
> enough power to power all my sensors, as well as some of my sensor's don't
> have a passthough (the T-String from ibutton). So I need to use a hub to
> read all these sensors.
>
> Digitemp does not like the hub it seems, so I'm not sure how to go about
> configuring it to agree with the hub. Not sure where to look or what to
> modify...
>
> When I do : .digitemp -s/dev/ttyS0 -i
>

The first thing to do is to -w (walk) the 1-wire bus. That will show all
devices, even if digitemp doesn't support them.

From a quick skim of the manual for this hub it looks like it is using a
custom part with a family code of 0xEF, not a set of DS2409 couplers so
it isn't going to work with digitemp until someone adds support for it.

--
http://www.brianlane.com

Jason Sipula

unread,
May 10, 2013, 11:15:42 AM5/10/13
to digi...@googlegroups.com, b...@brianlane.com
From the Man himself! First off, Thank's Brian for all the work put into this program. It works very well and is a great tool to have available for any Sys Admin's server room!

Ok, so I did a -w and I can see the hub, it's reported as "Unknown Family Code" as you suggested it would. I think I'm going to take a crack at this, although my C skills leave much to be desired (I'll just pretend it's Java!). I'm assuming the trouble spot would be in the digitemp_DS2490, digitemp_DS9097 and digitemp_DS9097U program's source somewhere... ?

Oguzhan Kayhan

unread,
Dec 2, 2014, 7:57:21 AM12/2/14
to digi...@googlegroups.com, b...@brianlane.com

try DRJ version.. somebody added that support. https://github.com/bcl/digitemp/pull/2/files

digitemp_DS2490 -i
DigiTemp v3.6.0-DRJ Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Found DS2490 device #1 at 2/3
Calling Walk1Wire to find Roms and add them to the sensor and coupler lists
Turning off all DS2409 Couplers (and Hobby Board 4ch Hubs)
...(HB4Ch turned off)285E2493020000E2 : DS18B20 Temperature Sensor
81ADA73000000096 : DS1420 iButton Serial ID
EF7E702015000014 : Hobby Boards Microprocessor-based slave

Found 1 hubs at Hub=0, Channel=0
.....28A164150400005C : DS18B20 Temperature Sensor
......28BD2E150400002E : DS18B20 Temperature Sensor
28275B15040000EF : DS18B20 Temperature Sensor
.....28C46D1504000087 : DS18B20 Temperature Sensor
.....28D67B1504000052 : DS18B20 Temperature Sensor
.Devices on the Main LAN
285E2493020000E2 : DS18B20 Temperature Sensor
81ADA73000000096 : DS1420 iButton Serial ID
EF7E702015000014 : Hobby Boards Microprocessor-based slave

Hub type HobbyBoard4Ch : 
Devices on Ch1 of Hub : EF7E702015000014
28A164150400005C : DS18B20 Temperature Sensor

10 Mayıs 2013 Cuma 18:15:42 UTC+3 tarihinde Jason Sipula yazdı:
Reply all
Reply to author
Forward
0 new messages