by PedroR » Thu Feb 07, 2013 11:27 am
by PedroR
Thu Feb 07, 2013 11:27 am
If COM3 and COM4 are enabled then it's most likely an issue with the signal levels between the two boards.
I believe the signal level on Roboard is 5V TTL.
I'd recommend that you check the following:
1)
Check if your Ultrasonic range finder is outputting TTL at 5V or at 3.3V
If it's outputting at 3.3V you'll probably need to use a logic level converter (see here
http://robosavvy.com/store/logic+level ) to boost the signal to 5V on arrival at the Robot.
What happens most of the times is that 5V systems can't always see incoming data when it's at 3.3V.
Arduino's can cope with this very well but I believe Roboard doesn't. You should make sure the signal levels match.
If you have access to an oscilloscope you should be able to analyse the input/output levels on the serial port on Roboard and compare them to what's going on with the serial on Arduino.
2) Make sure you have the baud rate and handshake settings all set correctly.
This is a bit obvious but it's a good idea to double check.
Pedro.
If COM3 and COM4 are enabled then it's most likely an issue with the signal levels between the two boards.
I believe the signal level on Roboard is 5V TTL.
I'd recommend that you check the following:
1)
Check if your Ultrasonic range finder is outputting TTL at 5V or at 3.3V
If it's outputting at 3.3V you'll probably need to use a logic level converter (see here
http://robosavvy.com/store/logic+level ) to boost the signal to 5V on arrival at the Robot.
What happens most of the times is that 5V systems can't always see incoming data when it's at 3.3V.
Arduino's can cope with this very well but I believe Roboard doesn't. You should make sure the signal levels match.
If you have access to an oscilloscope you should be able to analyse the input/output levels on the serial port on Roboard and compare them to what's going on with the serial on Arduino.
2) Make sure you have the baud rate and handshake settings all set correctly.
This is a bit obvious but it's a good idea to double check.
Pedro.