system
January 26, 2011, 11:28pm
1
Hey!
I am trying to send send data from my Mega to a Duemilanove.
Both boards are set up on only 300 baud, TX and RX and ground are connected correctly.
A code like Serial1.println("SOUND"); will only result in random (but the correct count) characters on the Duemilanove.
Does the wires need to shielded or something?
gardner
January 26, 2011, 11:56pm
2
Do you have your Duemilanove connected to a USB? The USB connection uses the UART, and there is only one. Talking simultaneously on the USB and pins 1 & 2 to the same Arduino is not going to work all that well.
system
January 27, 2011, 12:28pm
3
Both boards are set up on only 300 baud, TX and RX and ground are connected correctly.
Why so slow? If the boards are hard-wired, you can bump that speed all the way to 115200.
Does the wires need to shielded or something?
How long are they? What do they run near?
system
January 28, 2011, 10:56am
4
Thanx for your replies.
Yep indeed. My Duemilanove is connected over USB. I had to see what was sent:-)
Well! I must try some LED flashing then;-)
PaulS: I only ran at that speed to rule out that it was not a speed issue.