Hello Arduino Gurus,
I usually establish a wireless link between two Arduino Unos using xbees, with a labview modulated window at the receiving end. Recently I was testing them and I found that the sender Arduino was resetting after some time, and it wasn’t a consistent amount of time. Sometimes it would automatically reset after 10 seconds, other times after 15-20 seconds. We later discovered that the antennas may not have been able to see each other very well and raised them to get good line of sight and everything worked fine. I’m now designing something else where I may not be able to ensure that the link is always good. This has me worried about whether the sender Arduino will keep resetting.
So, does the Arduino reset if the serial buffer overflows? If it does, how does one fix the problem?
The code’s attached (all the extra zeros being written out to serial are because of deficiencies in the labview code), the header file defines.h contains all the values of the constants.
Telemetry_sender.ino (3.91 KB)