778Views13Replies

Author Options:

Intel Galileo will not communicate with Uno? Answered

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

13 Replies

user
iceng (author)2014-04-30

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

Select as Best AnswerUndo Best Answer

user
D5quar3 (author)iceng2014-05-01

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

Select as Best AnswerUndo Best Answer

user
iceng (author)D5quar32014-05-01

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 ?

Select as Best AnswerUndo Best Answer

user
D5quar3 (author)iceng2014-05-01

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.

Select as Best AnswerUndo Best Answer

user
iceng (author)D5quar32014-05-01

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.

Select as Best AnswerUndo Best Answer

user
iceng (author)iceng2014-05-01

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.

Select as Best AnswerUndo Best Answer

user
D5quar3 (author)iceng2014-05-02

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?

Select as Best AnswerUndo Best Answer

user
iceng (author)D5quar32014-05-02

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 !

Select as Best AnswerUndo Best Answer

user
D5quar3 (author)iceng2014-05-04

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.

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)2014-04-30

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

Select as Best AnswerUndo Best Answer

user
D5quar3 (author)steveastrouk2014-05-01

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

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)D5quar32014-05-01

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

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

Select as Best AnswerUndo Best Answer

user
D5quar3 (author)steveastrouk2014-05-02

I have switched the lines and messed with the baud rates

Select as Best AnswerUndo Best Answer