Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is maximum cable length between iButton and PIC?

Status
Not open for further replies.

predrage

Full Member level 2
Joined
Jul 23, 2005
Messages
132
Helped
7
Reputation
14
Reaction score
3
Trophy points
1,298
Location
Serbia
Activity points
2,357
1-Wire cable length

Hi. I am doing some project with iButton and PIC. I would like to ask you what is maximum cable length between iButton and PIC and which type of cable should I use. I am a little afraid of EMI because a long cables should be connected directly to several pins of PIC. What is yours experiences?
 

Re: 1-Wire cable length

Hello,

I think, unshielded twisted pair should be o.k. for most applications. E. g. Conica-Minolta uses it inside photocopier/printer to access toner id-chips, could be 1 m cable length for each chip, several connected in parallel at controller board.

I remember, the topic is also widely discussed in some Dallas application notes.

Regards,
Frank
 

Re: 1-Wire cable length

FvM said:
Hello,

I think, unshielded twisted pair should be o.k. for most applications. E. g. Conica-Minolta uses it inside photocopier/printer to access toner id-chips, could be 1 m cable length for each chip, several connected in parallel at controller board.

I remember, the topic is also widely discussed in some Dallas application notes.

Regards,
Frank

Cable length that my application required is approximately 15m in noisy enviroment (mostly fluo lamps). Can you point me to that application note. I skimed through some today and didn't find anything useful.
 

Re: 1-Wire cable length

Hello,

in AN244 "Advanced 1-Wire Network Driver" cable length up to 100 m is discussed. Noise immunity of 1-Wire-Protocol is said to be based on integrity checking and retranmission when necessary, see app159 "Ultra-Reliable 1-Wire Communication". To my opinion, If the fluorescent lamps aren't switched on and off permanently, you have a good chance of succesful transmission after one or two retries at maximum.

Regards,
Frank
 

Re: 1-Wire cable length

FvM said:
Hello,

in AN244 "Advanced 1-Wire Network Driver" cable length up to 100 m is discussed. Noise immunity of 1-Wire-Protocol is said to be based on integrity checking and retranmission when necessary, see app159 "Ultra-Reliable 1-Wire Communication". To my opinion, If the fluorescent lamps aren't switched on and off permanently, you have a good chance of succesful transmission after one or two retries at maximum.

Regards,
Frank

I am reading iButton often is possible and I'm doing crc check. Thats not a problem. I am consider of eventual strange behaviour of PIC (reset, buging...)
 

Re: 1-Wire cable length

Hello,

yes, the PIC interface should be mainly protected against voltage transients, that could probably damage it. Also high frequency interferences should be supressed. I think, that the "Advanced 1-Wire Network Driver" circuit is a good starting point. To suppress interferences, a common mode filter could be meaningful.

Regards,
Frank
 

1-Wire cable length

hello,
max 10m for ds18b20
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top