
aliusa
USA
Asked
— Edited

Hey,
I have 4 heavy duties servos, 1 HD, and 1 micro servo attached to EZB. And a bunch of LEDs, HBRIDGE, etc all but 1 addressable port is available.
Today I noticed one of my servos was failing. In fact, it smelled like plastic was burning. But it wasn't the servo itself but the plastic female pin connectors. The Red and Black ones melted together. Both at the EZB side and at the servo end.
Questions:
- What can cause this, and how can I avoid this? 2. Is there a way I check through the terminal if D16 is still functioning?
- I'm using the orange DFRobot labeled 2200mAh 7.4v battery but when I working with the servos the battery drains in a minute getting the "battery is low" message. Am I doing something inherently incorrect or is my battery just not enough to power everything?
Thanks, A
Related Hardware EZ-B v4
@Nink Right I scripted the servo positions and speed. So are you suggested creating actions called "Start Up" and "Shut Down" and call it via init during a connect:
I'm assuming during a "disconnect" there's a script I can trigger. I didn't realize that but it makes sense. That would definitely help!
@Jeremie: Servos
Where should I define min/max properties of a servos so they are global and aren't overwritten? Any best practice around this?
aliusa
"Where should I define min/max properties of a servos so they are global and aren't overwritten? Any best practice around this?"
isn that in the INIT script ?
@Nomad 6R,
That's where I have it. But if I have "servo skill" defined in the project, what values take precedence?
Every control has it's own MAX and MIN for flexibility across various robot designs. Read in manual here: https://synthiam.com/Support/ARC-Overview/Servo-Controls
The Auto Position ONLY moves into the positions defined in the frame, so it can never exceed min and max values because you're the one configuring them in the frame.
If you want to be lazy and ensure servos never ever move past a specific range, you can use these commands in an init script...
Set Max position limit: https://synthiam.com/Support/javascript-api/Servo/setMaxPositionLimit
Set Min position limit: https://synthiam.com/Support/javascript-api/Servo/setMinPositionLimit