EmbeddedRelated.com
Forums

1 wire bus protocol

Started by mago Umandam August 10, 2005

hello,

i am mago from the philippines.

i have a project that measures temperature and sends it to a data logger through ethernet. but the temperature sensor i have uses 1 wire bus protocol. Any help on this? Has anyone proved 1 wire bus protocol on rabbit?

thanks in advace


Start your day with Yahoo! - make it your home page

Hi Mago.

I have done EXACTLY what you want to do.

I used the "LINK" interface from http://ibuttonlink.com
You can connect to this device with a serial port (Port E or F) and
use a low level protocol to bit-bash the 1-wire bus, or you can use
their LINK-HT device and let the interface do all the hard work. You
just ask for "all the temperatures" and you get back a formatted
serial string.

You can see my live and charted temperature data here:

http://www.ourcoolhouse.com/monitor/monitor.htm

I posted the code a while back (Oops... watch out for the source code
police).

Here it is:

http://www.ourcoolhouse.com/downloads/

In the /lib folder there is a "ATO_OW.lib" file (OW = OneWire)
It's not my best code, but it may give you some ideas.

I used the basic LINK interface because LINK-HT wasn't invented yet :)

Good luck.

Phil.
--- In rabbit-semi@rabb..., mago Umandam <magzky02@y...>
wrote:
>
> hello,
>
> i am mago from the philippines.
>
> i have a project that measures temperature and sends it to a data
logger through ethernet. but the temperature sensor i have uses 1
wire bus protocol. Any help on this? Has anyone proved 1 wire bus
protocol on rabbit?
>
> thanks in advace >
> ---------------------------------
> Start your day with Yahoo! - make it your home page




 

Thank you very much for the helful info..

you guys are great.

mago

 

 

 

Phil Malone <o...@mr-phil.com> wrote:

Hi Mago.

I have done EXACTLY what you want to do.

I used the "LINK" interface from http://ibuttonlink.com 
You can connect to this device with a serial port (Port E or F) and
use a low level protocol to bit-bash the 1-wire bus, or you can use
their LINK-HT device and let the interface do all the hard work.  You
just ask for "all the temperatures" and you get back a formatted
serial string.

You can see my live and charted temperature data here:

http://www.ourcoolhouse.com/monitor/monitor.htm

I posted the code a while back (Oops... watch out for the source code
police). 

Here it is:

http://www.ourcoolhouse.com/downloads/

In the /lib folder there is a "ATO_OW.lib" file (OW = OneWire)
It's not my best code, but it may give you some ideas.

I used the basic LINK interface because LINK-HT wasn't invented yet :)

Good luck.

Phil.
--- In r...@yahoogroups.com, mago Umandam <magzky02@y...>
wrote:
>
> hello,
>
> i am mago from the philippines.
>
> i have a project that measures temperature and sends it to a data
logger through ethernet. but the temperature sensor i have uses 1
wire bus protocol. Any help on this? Has anyone proved 1 wire bus
protocol on rabbit?
>
> thanks in advace>            
> ---------------------------------
>  Start your day with Yahoo! - make it your home page

__________________________________________________