You must all appreciate that as a retired engineer I use PIC programming to keep my brain; active that is far superior to crosswords or sudukos. So the choice between using a ready to go protocol or designing a custom one is a no brainer :-) __________________________________________ David C Brown 43 Bings Road Whaley Bridge High Peak Phone: 01663 733236 Derbyshire eMail: dcb.home@gmail.com SK23 7ND web: www.bings-knowle.co.uk/dcb *Sent from my etch-a-sketch* On 23 October 2017 at 17:53, Denny Esterline wrote: > Exactly. > The CAN physical layer is designed such that bus contention does not caus= e > damage to any parts. > > The collision detection is managed (grossly simplified description) by > having every transmitter receive at the same time it is sending. If the b= it > transmitted does not match the bit received -> error. > > > The actual CAN protocol is a pretty large pile of information and then it > gets expanded from there into several specific variants. But simply takin= g > those two basic concepts and using them as a physical layer for most any > protocol will get you a long way. > > > On Sun, Oct 22, 2017 at 3:20 PM, wrote: > > > Doesn't specially need to be CAB bus, but use CAN transceivers as > > transceivers on an RS485 bus. Simplifies the TX/RX switching (you don't > > need to) and the receiver is 'always on' then you need to compare the > > received message with the transmitted message to detect a collision. > > > > > > > -----Original Message----- > > > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On > Behalf > > > Of Denny Esterline > > > Sent: 22 October 2017 19:17 > > > To: Microcontroller discussion list - Public. > > > Subject: Re: [EE} Collision detection > > > > > > Look into CAN bus. > > > Even if you just consider mis-using the CAN transceivers and physical > > layer, > > > there's some really interesting possibilities. > > > > > > > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .