Welcome, Guest
Username Password: Remember me
Messages posted to this category need to be reviewed by the moderator before it gets posted.
  • Page:
  • 1

TOPIC: Arduino to Smart Motor troubles

Arduino to Smart Motor troubles 2 months ago #2294

Hello,

My research group is unable to set up communications to control an Animatics Smart Motor (3440D) with an Arduino (Mega). We are running the following code for setup and running:
bool initialiseSteering();

void setup() {
  Serial.setTimeout(2);
  Serial.begin(9600);
  
  initialiseSteering();
}

bool initialiseSteering() {
  Serial1.begin(9600);
  Serial1.print("WAKE ");
  Serial1.print("MP ");
  Serial1.print("BRKRLS ");
  Serial1.print("O=0 ");
  Serial1.print("A=500 ");
  Serial1.print("V=1300000 ");
  
  Serial1.print("P=8000 ");
  Serial1.print("G ");
}


Yet the Smart Motor fails to move.
Plugging directly into a computer with the SMI software running, the Motor runs fine in playground mode, but initialisation through the SMI console alone does not work. Are we doing the set up incorrectly?

Thank you,

Harry.

Re: Arduino to Smart Motor troubles 2 months ago #2296

  • csearcy
  • NOW ONLINE
  • Posts: 480
  • Karma: 23
If the motor does not have a specific address... you should be able to send commands directly without connecting the SMI software first. The SMI software give the motor an address and turns ECHO on.
You may just need to issue the ZS command. You can check the status lights on the motor. If you have one red LED... the motor is off... for some reason.
Try sending the following...
UCI
UDI
ZS

Re: Arduino to Smart Motor troubles 2 months ago #2297

Thankyou.
I do not have access today but will let you know how it goes tomorrow.
The following user(s) said Thank You: csearcy
  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 1.72 seconds