Can't Use Roborun over TTL Serial

7 years 7 months ago #29527944 by bkmr
Hi Guys,

I can connect to my SDC1130 using RS232 OR TTL in a terminal program and can send commands, change configuration, etc.

However, when I try to use Roborun with the TTL pins I cannot get a connection (just says \"COMX Closed\" regardless of com port). Connecting using RS232 works fine.

Any ideas? Is it some timing issue? Does the TTL serial go to the same MCU pins as the RS232 controller?

I\'m using an FTDI-232R-5V USB to TTL serial cable for reference.

Please Log in or Create an account to join the conversation.

7 years 7 months ago #29527945 by Griffin Baker
Replied by Griffin Baker on topic Re:Can\'t Use Roborun over TTL Serial
Have you tried inverting the ttl logic?

Please Log in or Create an account to join the conversation.

7 years 7 months ago #29527946 by bkmr
I don\'t think that\'s the problem - using a terminal program I have no issue communicating with the controller.

Please Log in or Create an account to join the conversation.

7 years 7 months ago #29527947 by Griffin Baker
Replied by Griffin Baker on topic Re:Can\'t Use Roborun over TTL Serial
What pins are you using to connect the ttl? The RS232 lines are on the designated Tx and Rx lines as specified in the datasheet. Perhaps you can try connecting tot those pins.

Please Log in or Create an account to join the conversation.

7 years 7 months ago #29527948 by bkmr
Perhaps I\'m not being clear enough in my question?

I can connect (and send and receive) to RS232 using pins 2, 3 and 5. I can do this with TeraTerm or Roborun.

I can connect (and send and receive) to TTL using pins 6, 7, and 5. I can do this with TeraTerm, but not with Roborun.

I\'m just struggling to understand why I can use TTL with TeraTerm but Roborun can\'t connect using the same setup.

Please Log in or Create an account to join the conversation.

7 years 7 months ago #29527949 by Griffin Baker
Replied by Griffin Baker on topic Re:Can\'t Use Roborun over TTL Serial
Because Roborun communicates through that line on the pins 2, 3 and 5.

So with that in mind the only suggestion I can make at this point is to suggest checking your comport settings and see what the differences are between the RS232 to usb adapter, and your ttl connection.

Please Log in or Create an account to join the conversation.

7 years 7 months ago #29527950 by bkmr
OK, will do.

I still don\'t understand why TTL works in terminal mode but not using Roborun.

Please Log in or Create an account to join the conversation.

7 years 7 months ago #29527951 by roboteq
Replied by roboteq on topic Re:Can\'t Use Roborun over TTL Serial
This is because there is a \"discovery mechanism\" where Roborun sends 0x05 and expects the controller to reply 0x06. These are invisible characters that do not interfere with the regular communication.

This mechanism is only active on USB and the main RS232 port.

It is not enabled in the TTL port.

The thinking is that Roborun runs on PC and that there will either be a USB or a real RS232 port.

A PC with a TTL port is rather unusual

Please Log in or Create an account to join the conversation.

7 years 7 months ago #29527952 by bkmr
Thanks, that\'s _exactly_ what I was trying to understand.

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.167 seconds