News for hackers. Stuff that matters.
Re:How we made the PJON network protocol from scratch by gioscarab on Sunday December 20, 2020 @12:27PM (#25487882)
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...

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-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.

Re:How we made the PJON network protocol from scratch by SV_BubbleTime on Sunday December 20, 2020 @12:51PM (#25488083)
Thanks, 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.

Re:How we made the PJON network protocol from scratch by gioscarab on Sunday December 20, 2020 @01:01PM (#25488154)
No 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 :)