4 ms·
Here you can find the implementation of PJDL used by Jack Anderson to determine the maximum range: https://github.com/gioblu/PJON/tree/master/src/strategies/So
by gioscarab 6y ago
Here you can find the implementation of PJDL used by Jack Anderson to determine the maximum range:
https://github.com/gioblu/PJON/tree/master/src/strategies/SoftwareBitBang https://github.com/gioblu/PJON/tree/master/src/strategies/So...
All devices listed in the compatibility section are able to communicate over a twisted pair with no additional hardware, as Fred well noted, you just need one wire and connect directly the IO pins. And up to 255 devices can share the same twisted pair.
As you can read in Video Camera Control Jack just used two arduinos, 2km of wiring within his university's network and a couple of pull-down resistors. The protocol works even when the human body is used as a conductor as shows the gif present in the article.
On social compare someone made this:
https://socialcompare.com/en/comparison/comparison-of-network-buses https://socialcompare.com/en/comparison/comparison-of-networ...
I think the comparison between PJON and LIN there is revealing. As you can see LIN handles up to 16 devices, it is master-slave and has a range of 40, with a complex front-end at a relatively high voltage.
PJON is free for use, it is all open-source. We do sell products to fund the development of the project.
- SV_BubbleTime 6y agoThanks, that helps. I had to check quick at a gas station and post this. For the most part, I took away 27kbps, and it seems the intention is software bit bang. Sure, it’s not master/slave like LIN, and with an arbitration scheme more like CAN. But, without hardware codec, DMA buffering and interrupts, I feel it’s a lot less useful to me as my embedded projects are already pushing their limits with hardware communication. Still, while it’s not good for me, I do see utility in a bit bang format for LED, IR, simple RF, etc. This makes sense and seems well thought out.
- gioscarab 6y agoNo worries, for sure the SoftwareBitBang implementation is not designed to stream digital audio or video at high speed but it is handy for many to move few bytes from sensors in a local network that can be built very quickly and at a low cost. Have a nice Christmas :)