Ciao @4ib3r , thank you for your support to the PJON project. I accepted your pull request. What you proposed highers portability and reduces compatibility issues like this one in particular with MySensors. I will soon use your attached example to make a brief wiki page where to explain how to use PJON with MySensors.
Giovanni Blu Mitolo
@Giovanni Blu Mitolo
Best posts made by Giovanni Blu Mitolo
-
RE: Transport based on single wire PJON protocol
-
RE: Transport based on single wire PJON protocol
Ciao gryzli133! I am happy to hear that.
Are you testing SoftwareBitBang (PJDL v2.0) data-link?The system works also if using the human body as a common conductor, so yes, quite rugged I agree. There are a lot of setups around the world running PJDL, many of them have matured already years of operation. I have personally built a bus of more than 40 meters of wires in star topology, made by cat 5 ethernet (gnd, vin, PJDL bus, the rest is unused) positioned in the same channels where AC wiring is positioned.
With AC wiring or appliancies in the vicinity, without any pull-down resistor, the induced 50Hz waveform may be present in the bus stealing half of the bandwidth (the PJDL protocol is perfectly able to avoid the wave crests and operate nominally in this scenario) obviously placing pull down resistors that can be erased obtaining the best performance.
4ib3r worked out the support long ago and made a pull request, I am not sure what happened then and if that was accepted. Many things are changed since then in PJON so that work may be outdated, although it should be fairly simple to fix. I am obviously always available for support if required.
Latest posts made by Giovanni Blu Mitolo
-
RE: Transport based on single wire PJON protocol
Ciao kimot, yes the class that adds to Mysensors the support to PJON was made by 4ib3r 2 years ago, looking at the source, it is 101 lines of commented code.
It seems fairly simple to wire up PJON functions with Mysensor's.
If you need some help I am here although I am not able to physically setup a testbed running Mysensors for now. -
RE: Transport based on single wire PJON protocol
Ciao gryzli133! I am happy to hear that.
Are you testing SoftwareBitBang (PJDL v2.0) data-link?The system works also if using the human body as a common conductor, so yes, quite rugged I agree. There are a lot of setups around the world running PJDL, many of them have matured already years of operation. I have personally built a bus of more than 40 meters of wires in star topology, made by cat 5 ethernet (gnd, vin, PJDL bus, the rest is unused) positioned in the same channels where AC wiring is positioned.
With AC wiring or appliancies in the vicinity, without any pull-down resistor, the induced 50Hz waveform may be present in the bus stealing half of the bandwidth (the PJDL protocol is perfectly able to avoid the wave crests and operate nominally in this scenario) obviously placing pull down resistors that can be erased obtaining the best performance.
4ib3r worked out the support long ago and made a pull request, I am not sure what happened then and if that was accepted. Many things are changed since then in PJON so that work may be outdated, although it should be fairly simple to fix. I am obviously always available for support if required.
-
RE: Transport based on single wire PJON protocol
I should now point to your personal fork here https://github.com/4ib3r/Arduino and keep an eye on MySensors releases and change the link to MySensors master as soon as your proposal will be accepted, right?
-
RE: Transport based on single wire PJON protocol
Ciao @4ib3r , thank you for your support to the PJON project. I accepted your pull request. What you proposed highers portability and reduces compatibility issues like this one in particular with MySensors. I will soon use your attached example to make a brief wiki page where to explain how to use PJON with MySensors.
-
RE: Transport based on single wire PJON protocol
Ciao @4ib3r, really nice work. Can I ask you some help to write a brief documentation in the PJON's repository wiki to help users to have a nice experience using it with MySensors and your codebase? Compliments again!
-
RE: Transport based on single wire PJON protocol
Ciao @4ib3r, I am testing it with MySensors that is indeed a great work!
Maybe some considerations should be done on PJON's synchronous acknowledge (really efficient on noise free media like a single or a couple of wires), maybe in this case exchanging a higher level asynchronous acknowledge could be useless ontop of PJON, but I am still into the codebase, that its quite extensive, to be sure of what I am saying! Compliments again to MySensors creators and to you creating the PJON Transport. -
RE: Transport based on single wire PJON protocol
Ciao, consider that PJON is a multimedia system, so can be used also with radio transceivers, see https://github.com/gioblu/PJON/wiki/OverSampling