There is a very interesting development of a single-wire communication protocol between devices PJON
But when using it, I was faced with the fact that I could not use NodeMCU ESP8266 as a transmitter.
Used sketch for NodeMCU (transmitter):
Transmitter.ino
Used sketch for arduino nano (receiver):
Receiver.ino
I wrote a bug report, but it looks like the author is no longer watching them.
The author of the library mentioned that it is necessary to edit timings, but I could not find a working solution. Can anyone tell me how to calculate timings?
They are specified in the file: Timing.h
And also the settings are located in the file:
SoftwareBitBang.h
1 post - 1 participant