I don’t have the spec sheet of the transformer handy right now.
However, the new setup is not using the transformer:
the servos are powered by SSC-32U from a wall plug.
The Arduino is powered by a battery, but only the board. So, presumably the power consumption isn’t huge.
I wonder whether there are anything wrong with regard to this connection in principle…
Arduino -> serial out (RX/TX) -> SSC-32U ->servos
Could you please comment?
This is fine.
What are the specs of the wall adapter then, and the specs of the battery you’re using for the Arduino?
Given the back and forth, can you provide a summary of your current setup?
The wall adapter is what I got from lynxmotion: 6V, 3A.
And Arduino is powered by a usb from a laptop, and programming etc is also through usb from a laptop.
My current setup is:
laptop usb to Arduino
Arduino RX/TX/GND to SSC-32U TX/RX/GND (SSC-32U is powered by a wall plug).
I didn’t use a battery as of now to avoid ambiguity.
Power supply - we have a known issue with certain 6V 3A power supplies whereas the arm does not even power up because of the inrush current. Your arm seems to be moving though, so it does not seem affected. If you get the same results with a 6V NiMh battery pack (which can provide at least 1C continuous discharge of around 2.5A or higher), then it’s confirmed that the code is the issue.
Note that RC servos are still “old” tech and maintaining a position under load will cause them to vibrate (but not spasm).
One more piece of information:
If I use the same wall plug to power SSC-32U and use servo sequencer through USB to control the arms, it works fine and smooth.
Does this mean that the wall plug is okay?
With regard to code/programming, I wonder whether there are any ways to verify that the communication between Arduino and SSC-32U works through serial RX/TX?
We know that Arduino by itself works, through blink and other programs.
If this is the right command, the servos doesn’t move at all. Very strange
.
Serial.println("#0 P1500");
The code compiles and transferred to arduino fine.
Can you once again try the SSC-32U directly to the computer via USB to see if it responds to the SSC-32U servo sequencer? Disconnect Tx and Rx.
Serial.println should work.
Have you tried looking at the values you’d actually be sending the SSC-32U based on the potentiometer values? Are the values steady or constantly fluctuating?
So, could you tell what could go wrong?
And it seems:
Serial.println still doesn’t work.
Does it tell anything?
Since the power is a 6V from the wall plug, the shaking symptom is almost gone.
The problem right now is that it overshoot and spasm still appears now and then.
Any suggestions? Maybe I shall aerage the output, but it seems that there are quite some coding to do.
The setup right now is:
potentiameters are powered by SSC-32U analog power 5V and GND, and output readings of potentiameters goes into analog inputs of Arduino, then RX/TX to SSC-32U and output to servos from 0-4 of digital output of SSC-32U.
I hope that this picture is clear.
SSC-32U to control all the servos 0-2 here.
Analog power and GND pins are used to power the potentiameters (silver wires), and the signal of potentialmeters go to the analog input of Arduino 101.
Arduino 101 RX/TX/GND goes to SSC-32U TX/RX/GND, respectively.
Arduino is powered by a PC, while SSC-32U is powered by a wall plug.
My current problem is that I couldn’t connect to more than 2 servos to the SSC-32U, otherwise, the blue power light on SSC-32U blinked and all servos appear lost power and control.
Can you connect the potentiometers directly to the Arduino rather than going through the SSC-32U?
What are the specs of the power supply you are using to power the servos?
To check that nothing is wrong with the board, and also check the settings, can you disconnect the Arduino completely and connect the SSC-32U to the computer and try to use the free SSC-32U Servo Sequencer Utility: robotshop.com/en/ssc-32-serv … ility.html
The power supply you have should be enough to power the arm., though there is an issue with some of the power supplies we shipped, and there is a chance this could be one of them.
We are working to resolve this ASAP with a new batch of power supplies which we’ve tested.
Can you please sent an e-mail to [email protected] with a link to this topic and your order number?