Menu

Topic-icon SDC2130 and Arduino serial communication???

More
8 years 4 months ago #29526063 by bradensbad
Has anybody gotten the sdc2130 working with the arduino? So far everything works great with pwm control analog control, but when i try to control it with the arduino MCU it doesnt work. im sending simple char strings to it ex:\" !G 500 \\r \" but the sdc2130 is just reading random numbers. ive read through the manual for serial comm protocol many times but there does not seem to be much info on the protocol. just 115200 baud etc etc.

sample code:

void loop ()
{
Serial.print(\"!G 250 \\r\");
delay (10);
}

is this not printed as ascii or something? i\'ve tried almost everything any help would be appreciated.

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

  • roboteq
  • roboteq's Avatar
8 years 4 months ago #29526065 by roboteq
Replied by roboteq on topic SDC2130 and Arduino serial communication???
Is the Arduino serial port true RS232 (ie -12V/+12V inverted signals) or is it TTL non-inverted.

The SDC2130 uses real RS232. It will take 0-5V but the signal must be inverted.

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

More
5 years 11 months ago - 5 years 11 months ago #29528930 by g1989
Did you find a way to solve this problem? I am working on a similar project and I will be thankful if you can help me.

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

More
5 years 10 months ago #29529013 by g1989
I know in the datasheet it is stated that serial communication properties such as baudrate are fixed. But does that mean there is no way to change it with reboot or sth?
(I microcontroller does not support 115200. I need to change this default baudrate)

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

  • Griffin Baker
  • Griffin Baker's Avatar
5 years 10 months ago #29529014 by Griffin Baker
Replied by Griffin Baker on topic SDC2130 and Arduino serial communication???
Correct.

Does your micro-controller specifically state which baud rates it supports?

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

More
5 years 10 months ago #29529015 by g1989
Maximum 57200

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

  • Griffin Baker
  • Griffin Baker's Avatar
5 years 10 months ago #29529016 by Griffin Baker
Replied by Griffin Baker on topic SDC2130 and Arduino serial communication???
Unfortunately that isn't going to work. It would most likely require a firmware change to make it work at that rate.

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

  • Griffin Baker
  • Griffin Baker's Avatar
5 years 10 months ago #29529017 by Griffin Baker
Replied by Griffin Baker on topic SDC2130 and Arduino serial communication???
Please send us an email to This email address is being protected from spambots. You need JavaScript enabled to view it.. There may be a work around would like you to try.

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

Moderators: tonysantoni
Time to create page: 0.098 seconds
Go to top