- This topic has 1 reply, 2 voices, and was last updated 8 years, 5 months ago by RC Tractor Guy.
- AuthorPosts
- November 27, 2015 at 8:38 pm #1410melcusParticipant
Hi,
I have run into a very odd problem and was wondering if anyone else has seen it.
I am testing my first tractor circuit. I have an arduino pro mini 3.3v controlling the radio com’s and some of the lights and a 5v pro mini to drive the steering, motors, etc. The two arduinos use serial comms to talk to each other.
Everything was going ok the comms were working fine both were set to a baud rate of 9600. I made a change to the tractor cab and body code for the rear hitch nothing to do with comms as far as I can tell, however after I loaded the change, the tractor body was no longer receiving an info from the cab.
While trying to debug the problem I mistakenly changed the baud rate on the serial monitor connected to the tractor body arduino from 9600 to 19200 and all of a sudden I was getting information that I expected to see appear, I checked the code and the serial for both arduinos are still set at 9600. So I don’t know if the cab is transmitting at 19200 or if the body is listening at 19200 but according to the code they are both set to 9600.
Has anyone else seen this kind of thing before? And any hints on how to solve the problem?Thanks
MelNovember 30, 2015 at 1:29 am #1411RC Tractor GuyKeymasterThat is pretty strange, could the change you made have affected a timer in some way?
- AuthorPosts
You must be logged in to reply to this topic.