3 ms·
What does the `accuracy` measurement on your benchmarks show ? How did you estimate max transmit distance of 50m. I know I am pretty negative but to me once yo
by antoinealb 11y ago
What does the `accuracy` measurement on your benchmarks show ? How did you estimate max transmit distance of 50m.
I know I am pretty negative but to me once you reach this level of complexity in your applications it is time to move on to microcontrollers with proper networking capabilites such as CAN, Ethernet, etc.
- gioscarab 11y agoHi there. PJON has networking capability, and it is designed as it is to be easily compatible with Arduino compatible devices. It contains the vast majority of patterns and implementations you can find in other communications bus system, also the proprietary ones. I tried as much as I could to bring it opensource and free to use, clear, elegant and easy to understand. Arduino and many other embedded systems have limited memory and program code has to be efficient. For this reason I wrote PJON that includes an entire communications bus system or communication network in 350 lines of well commented code. For sure for me was a project oriented to have the knowledge on how a communications bus system is built and which problems an engineer faces writing a new one. After this process, using and testing it I obtained great results in my home automation application and I would be happy if the community eill start to use it.
- gioscarab 11y agoI'm sorry I forgot to anwer you your firsts questions: - Accuracy is the ratio between packets correctly received and packets received with an error expressed in percentage. - I tried physically with a 50 meters long copper wire.
- jonsen 11y ago50 m might definitly lead to problems in other settings. "Because both ends of the RS-232 circuit depend on the ground pin being zero volts, problems will occur when connecting machinery and computers where the voltage between the ground pin on one end, and the ground pin on the other is not zero. This may also cause a hazardous ground loop. Use of a common ground limits RS-232 to applications with relatively short cables. If the two devices are far enough apart or on separate power systems, the local ground connections at either end of the cable will have differing voltages; this difference will reduce the noise margin of the signals. Balanced, differential, serial connections such as USB, RS-422 and RS-485 can tolerate larger ground voltage differences because of the differential signaling.", cited from: https://en.m.wikipedia.org/wiki/RS-232 https://en.m.wikipedia.org/wiki/RS-232