Serial communication problem of SBL 1360

7 years 3 days ago #29532390 by wkdxoghdi
Hello.
I really want to know how communicate SBL1360 with arduino.
I used RS232 Shifter and read manual but i could not find any solution or example helping me.

How do i set up SBL1360 to serial communicate with Arduino?
How do i send variable to Arduino from SBL1360? Which functions do i need for this?
How do i read serial print value of Arduino on SBL1360?

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

7 years 3 days ago #29532391 by blake
I'm not sure what TTL - RS232 Adapter you are using but essentially you need to get the output data (Tx) from the Arduino to the input (Rx) of the SBL1360, and the Tx of the SBL to the Rx of the Arduino. Double check your wiring, use an oscilloscope if needed as with some adapters this can get confusing.

The motor controller, when on, has an open serial line so is always ready to transmit and receive serial data. As long as your wiring is correct then you should simply be able to create a program on your Arduino to send commands, query data etc. As far as the programming to the Arduino is concerned you'll need to consult their documentation.

I have attached a simple sample Arduino program to get you started. This will essentially send a command to the controller to turn on a motor for 5 seconds, then off for 5 seconds in a loop. All of the commands and queries that will be sent to the controller from the Arduino will be those in section 16 of our user manual. Most often it will be in the format Serial.println("some command or query");


Attachment Arduino_RunMotorLoop.zip not found

Attachments:

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

6 years 9 months ago #29532604 by wkdxoghdi
Blake, Could you please send me the attached arduino file again?
Because the file can not be opened.

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

6 years 8 months ago #29532605 by blake
Please try the attached, it should work now. If for whatever reason it does not, contact me at This email address is being protected from spambots. You need JavaScript enabled to view it. and I will send to you via email

File Attachment:

File Name: Simple_Run...Loop.zip
File Size:1 KB
Attachments:

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

Moderators: tonysantoni
Time to create page: 0.060 seconds