3 ms·
Hi there I wrote in years of trial and error PJON library for my home home automation project. It is a multi-master, single wire, addressed and checked communic
by gioscarab 11y ago
Hi there I wrote in years of trial and error PJON library for my home home automation project. It is a multi-master, single wire, addressed and checked communication protocol and is designed to be an alternative to i2c, 1Wire, Serial and the other Arduino compatible protocols with the addition of all the functionalities you need to fastly bring working a multipurpose embedded devices network. It was a really enourmous physical and mental effort of years to bring together all the knowledge and code skills to let all this work, so I hope could be useful for all Arduino users. Please feel free to suggest and crytic if necessary and if you can TEST IT would be an enormous pleasure!!!
Have a nice summer! :)
- raphman_ 11y agoThank you, this may be exactly what I need for a project!
- gioscarab 11y agoIts a pleasure!!! Please try it and write me an email if you have some problem gioscarab@gmail.com
- raphman_ 11y agoIf I understand correctly, PJON is not directly a replacement for the 1-wire bus as it does not specify pull-up/-down hardware that would be necessary for using VCC as the physical communication medium, right? (Which means that I would need to define/implement this part myself.)
- gioscarab 11y agoHi raphman_2 yes there is not the functionality of 1wire you are speaking about! I never had time to dig further and work on this functionality. In any case would be amazing to add it in PJON. But should be taken into account the duration of 0s and probably a capacitor to rectify input voltage. I generally use a single pulldown resistor on the bus to reduce interference.
- harwoodr 11y agoNot having looked closely at your code yet - how would you say it compares to something like: https://github.com/ClusterM/clunet https://github.com/ClusterM/clunet ?