Strange serial communications problem

This topic contains 1 reply, has 2 voices, and was last updated by RC Tractor Guy RC Tractor Guy 2 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1410

    melcus
    Participant

    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
    Mel

    #1411
    RC Tractor Guy
    RC Tractor Guy
    Keymaster

    That is pretty strange, could the change you made have affected a timer in some way?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.