Well, I think it is about time to reveal the design for my dual-channel protocol converter. This will take one of my plastic ATR boxes. This design takes two (2) Rasberry Pi(s) and two (2) SPI to CAN bus modules, and lastly one dual RJ45 breakout board. The CAN module(s) will have its end-of-line terminator resistor enabled as well.
On the rear of the ATR box, I will have a DIN-5 female bulkhead-mounted jack, this plug will carry all power to the unit, and my standard is as follows:
|
I will be using Java to write the software as this simplifies things. Basically, all you do is create four streams two for input and the others for output. One set is for the ethernet, the other set is for the SPI/CANaerospace interface. And that's about it. Oh yes, each of the two RJ45 connectors on the brake-out board is that they also have status lights. So when the Pi detects a connection that light will be light. and whenever the module is transmitting or receiving it will also aluminate. The nice part of this to test this out all you need is to send packets from A to B, and, or visa versa. |