Page 1 of 1

Support more 1-wire hub & sensors

Posted: Thu Dec 11, 2008 1:22 pm
by tparvais
Hello

Do you plan to support more 1-wire sensors (from Hobby board i.e.) with master hub serial or USB interface ?

Thank you

Support more 1-wire hub & sensors

Posted: Sun Dec 14, 2008 11:54 pm
by RDNZL
Hi, maybe in the future, I don't have that hardware to test with, and cannot find any protocol specs the hobbyboard uses, do you have any techincal information about them?

Regards,
Ron.

Support more 1-wire hub & sensors

Posted: Mon Dec 15, 2008 2:06 pm
by tparvais
Hi Ron

All the info regarding USB interface is here: http://owfs.org/index.php?page=usb-ds9490r
I don't think it's far different from Serial. You can mount 1-wire with owfs very easily under linux. And access all sensors like a filesystem or web (via wget)

regarding others sensors, this is not too complex neither. You'll find all info on owfs pages

Regarding test, I can do them, I've some different sensors available.


Thomas

Support more 1-wire hub & sensors

Posted: Tue Dec 16, 2008 5:34 pm
by RDNZL
Ok so you use 1-wire filesystem with your hub?
Maybe I can test/develop support for that with my old serial 1-wire dongle..
Which sensors do you have, so I can focus on those first.

Regards,
Ron

Support more 1-wire hub & sensors

Posted: Thu Dec 18, 2008 8:26 pm
by Stevexyz
You can do this another way using the 1-wire drivers which come with the Linux kernel. There's one for the DS2490 USB 1-wire master, the 2433, 2760 and the thermometers and more.
If you want to read the a DS1820 you can do this:

$ cat /sys/bus/w1/devices/10-000800daf9fd/w1_slave
26 00 4b 46 ff ff 0e 10 bb t=18875

Or to read ADC C on a DS2450:
$ cat /sys/bus/w1/devices/20-0000000dcfb7/c_adc
25572

It's just reading from a device; I don't know if this makes it easier for DomotiGa.

Steve

Support more 1-wire hub & sensors

Posted: Fri Dec 19, 2008 11:49 pm
by tparvais
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">
Ok so you use 1-wire filesystem with your hub?
Maybe I can test/develop support for that with my old serial 1-wire dongle..
Which sensors do you have, so I can focus on those first.
Regards,
Ron<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">All sensors sold by http://www.hobby-boards.com : barometer, temperature, humidity, lightning, rain....

You will find all info on this website.

Ready to support you in test & validation

Thomas

Support more 1-wire hub & sensors

Posted: Sat Dec 20, 2008 1:51 pm
by RDNZL
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by tparvais</i>
<br /><blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">
Ok so you use 1-wire filesystem with your hub?
Maybe I can test/develop support for that with my old serial 1-wire dongle..
Which sensors do you have, so I can focus on those first.
Regards,
Ron<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">All sensors sold by http://www.hobby-boards.com : barometer, temperature, humidity, lightning, rain....

You will find all info on this website.

Ready to support you in test & validation

Thomas
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

I'm sorry but you're not very helpful, I don't have time to search through websites in search of sensors I don't know and have to build support for. A little bit more detailed and to the point info would help me though.

Support more 1-wire hub & sensors

Posted: Mon Dec 22, 2008 12:50 pm
by tparvais
Ok. Please let me exactly what youy want to know (and details level) in order to prepare this for you. (= I don't know what you already know about 1-wire)

Is this kind of info about Temperature reading not enough ? http://owfs.org/index.php?page=ds18b20

example (shell script) : tempread=`cat /home/thomas/owfs2/10.4F7494010800/temperature` to read the T of the sensor 10.4F7494010800 (10. stands always for temperature 26. for humidity ...)

with Owfs, you will find some simple doc to discover automatically all 1-wire available on your bus.

Please tell me what do you need. I'll help you.

If you're able to