HI all,
I have been looking for a way to sent data over a two wire connection and have been stumped until I remembered that modern model railroad layouts use such a scheme to control their engines. Its called DCC.
http://www.nmra.com/standards/DCC/st...91-2004-07.pdf

They power the track with two pulse lengths of alternate polarity generated with an H bridge. There is an active DIY community, but everything I have found is in assembly. Has anyone done any of this in PBP?

I need the comm for other use, so the protocol is not as important as the coding and decoding on a PIC.

I'm going to try and get a fast enough PIC to use DT-ints for comm and still be able to get 8 channels of PWM.

Thanks for any thoughts
Bo