Serial Communcation from D-Sun to FBl2360

3 years 4 months ago #29533505 by QingYang
i am trying to connect C# program through D-Sun USB to TTL Serial Communication to the RS232 Pin 3 of the FBL2360 and sending data. but I do not know how to script the Roborun to receive string data from D-Sun USB to TTL. And how to command the motor to move according to the input string. I am sending 0 to 5000 in hopes that it will be able to program the voltage of the motor from 0 to 5 volts. so that both the motors can move. I have zero experience with RoboRun.

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

3 years 4 months ago #29533507 by Gabriel_Isko
Replied by Gabriel_Isko on topic Serial Communcation from D-Sun to FBl2360
The voltage logic of our RS232 implementation is not at TTL levels, so you will need a TTL to RS232 converter. Our controllers are also currently unable to receive an input string for MicroBasic scripts over their serial port - in fact there is no string manipulation utility in MicroBasic. You can only construct string literals for use in print statements.

My recommendation is to set the channel of the FBL2360 you are using to drive your motor in open loop, limiting it's power output to 5 volts based on your supplied voltage, and using the !G command over serial from your D-Sun.

A great way to get more familiar with our products and their use is by reading our User Manual . It goes over the proper operation of our motor controllers in depth.

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

Moderators: tonysantoni
Time to create page: 0.067 seconds