Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Node and Gateway lose communications #349
Last week I built a mysensors network, with just a serial gateway and a sensor node but since then I'm having an issue that I just can't figure out why it's happening:
Every few hours (randomly between 1 and 12hours), I lose communication between the node and the gateway. When this happens, I have to reset the sensor node and communications get back to normal.
I've soldered a capacitor directly on both nrf24l01+'s, between 3v3 an Gnd - this effectively improved communications but didn't solve the problem. I tried a separate 3v3 power supply on the sensor node just for nrf24l01. Also didn't help.
Can this be caused by software, like memory leaks on the sensor code? Recently I left a serial monitor open on the sensor node just to catch the moment. Here it is:
I've stopped using radio for now since the combination NRF24+MySensors isn't reliable.
If anyone else has the same issue with MySensors+NRF24L01+ and can take the limitations, it is possible to build a local gw + node without radio - look at development branch. Working flawlessly.