Intel Galileo will not communicate with Uno?

Hello,

I want to communicate with my arduino uno via serial on pins 0 and 1 of the Galieo and SoftwareSerial on Uno pins 10 and 11. I have checked the baud rate and all i get when i read the SoftwareSerial port is garbage. Does anybody know why this is happening?

Thanks

sort by: active | newest | oldest
iceng3 years ago

Are you inadvertently sending inverted signals ?

Are there the proper number of stop bits ?

Are you using a parity bit ?

Are you sending 8 bit or 7 bit ASCII ?

Are you sending Hex or Binary ?

A

D5quar3 (author)  iceng3 years ago

I am using Serial.print() on the Galileo. I have even tried Serial.read() on the Uno connected to pins 0 and 1. Still coming up with nothing

iceng D5quar33 years ago

No scope and you don't know about party, polarity or stop bits is a tough sit.

Try feeding Galileo to Galileo or Uno to Uno if you have two of either.

BTW did you try reversing pins 11 & 10 or 1 & 0 in case you are sending to a sending line ?

D5quar3 (author)  iceng3 years ago

I have two Galieo's but not Uno's but I can't write the read on the same serial port, so I don't know how I can test that.

iceng D5quar33 years ago

Test the Galleo's send G(a) to G(b) ..

See if you can get ASCII from one to the other.

This will confirm the Galleo's are working or not.

Right now you don't know if the Galleo's, the Uno or you are not working.

Prove the Galleo's work also shows you do too.

iceng iceng3 years ago

Set one G to send and set the other G to receive connect the two ports

Tout(a) >> Rin(b) and Rin(a)<<Tout(b) for both lines and ground.

D5quar3 (author)  iceng3 years ago

Aren't pins 0 and 1 the same as the USB client? How would I be able to see what is being communicated between the two?

iceng D5quar33 years ago

If you are using USB already madeup cables I would look for a way or cable that flips the transmit / receive lines. Or maybe there is a way to invert port lines on the Ono pcb.. Steve uses the Uno he may know..

How did you know G was not talking with Uno ?

Obviously, write a routine to send, any of the received data to a small LCD !

D5quar3 (author)  iceng3 years ago

I was writing the input of SoftwareSerial to the serial monitor with the Uno, and I'll try to find an LCD. I don't think I have one. I was using an LED to test the output...if char == 1 then light the led...but no luck.

Get an oscilloscope and look at the signals. Are the Galileo and Uno voltage compatible ?

D5quar3 (author)  steveastrouk3 years ago

I do not have access to an ocilloscope. Yes they are both 5v systems

A "true" nerd needs access to an oscilloscope......

Try Iceng's trick of reversing the connection to one of the serial ports

D5quar3 (author)  steveastrouk3 years ago

I have switched the lines and messed with the baud rates