gioblu / PJON

PJON (Padded Jittering Operative Network) is an experimental, arduino-compatible, multi-master, multi-media network protocol.
Other
2.73k stars 239 forks source link

PJON SoftwareBitBang does not work for NodeMCU v3 (esp8266) when it acts as a transmitter. #430

Open kberkut opened 9 months ago

kberkut commented 9 months ago

PJON SoftwareBitBang does not work for NodeMCU v3 (esp8266) when it acts as a transmitter. Used scetch for NodeMCU (transmitter): lib/PJON-master/examples/ARDUINO/Local/SoftwareBitBang/NetworkAnalysis/Transmitter/Transmitter.ino Used scetch for arduino nano (receiver): lib/PJON-master/examples/ARDUINO/Local/SoftwareBitBang/NetworkAnalysis/Receiver/Receiver.ino

If transmitter - arduino nano and receiver - NodeMCU, then PJON work perfectly. I used different timings that I found on the github for PJON. I also tried it on other NodeMCU and arduino nano microcontrollers. The result is the same, when NodeMCU is a transmitter, the arduino nano does not respond to messages.

The combination of NodeMCU (ESP32S) and arduino nano works well in both directions. The connection of NodeMCU (ESP32S) and NodeMCU v3 (esp8266) works only when NodeMCU v3 (esp8266) is a receiver. The connection of NodeMCU (ESP32S) and NodeMCU v3 (esp8266) when NodeMCU v3 (esp8266) is a transmitter does not work either.

Using different pins of NodeMCU v3 (esp8266) when it acts as a transmitter does not solve the problem.