CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Detect BUS SHORT

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
arunkish



Joined: 23 Dec 2008
Posts: 83

View user's profile Send private message

Detect BUS SHORT
PostPosted: Tue Dec 20, 2011 5:32 am     Reply with quote

Hello All,

I am looking for a solution to protect PIC and keep the device working during Short Circuit. I have 10 devices connected to supply voltage +5v in series like this.

-----+5v--------D1--------D2-------D3 .............. D10
-------ve-----------------------------------------------|

If I have a shot circuit all the devices stops working. What I am planning to do is to have a device AFTER D3 named DX and if there is a short D1,D2 and D3 will continue to work and the +5v supply to the devices after DX will be terminated.

Now the question is how can i detect the short in the DX. Is there a method available?

Thanks in advance.
temtronic



Joined: 01 Jul 2010
Posts: 9161
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Dec 20, 2011 6:26 am     Reply with quote

Yes, I've used a variation of that since 1984 to allow communication in a network to continue even if the lines were cut or shorted.
It consists of a simple 'double ended' cabling system with 4 wires( power(2),com1(1) and com2(1). There are low power NC relays on each node tying com1 to com2, though each goes to a separate 'rcv' pin on the PIC.
Software is just as simple( remember this is 25 years old,still running), The Host sends the same data down both Com1 and Com2,then listens for the slaves responses. A simple compare deterines if there is a 'line fault'. If so, the Host commands the last good 'slaves' on both sides of the fault to open their relays thus isolating the 'shorted' line and slaves.The rest of the network will still work 100%.
This system runs about 15 miles on regular phone wires at low speed but is very,very reliable.Better than Ethernet,RS485,wireless1-wire,etc.Hackerproof as you control the data protocol,can run on 1 com wire.It is full duplex,interlaced,serial communications cheap to build, simple to code.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group