Hey Everyone,
I recently finished my senior design, and for our project we had controlled and RC car with hand motions from a glove. We used two bluesmirf bluetooth modems for the wireless communication at 115200 bps. For my partner and I, it was our first real experience with microcontrollers, and the arduino in particular. We managed to get the car to respond how we wanted to the hand motions, but only for a minute or so, then the response of the car would start to be delayed by quite a few seconds. If we powered off the glove or the car, the car would respond properly as soon as another connection was made, but then again after a little bit of time the delay would come back. The bluetooth modems were configured to autoconnect to each other. I have attached the code for both the glove and the car. I would appreciate it if someone could look at it and let me know there thoughts on why this delay may be happening. As I stated before we are already done with the senior design, but i do want to fix this so my kids can enjoy it. Thanks .