Asked — Edited
Resolved Resolved by Steve G!

Controller Ar-1202Mg Servo With ARC

Hello,

PLEASE describe to me exactly how to control an AR-1202MG servo using an EZ-B v4 wifi controller.

AS of now, when I plug in the servo to D0 and use the vertical servo control, the servo does not move and an LED quickly blinks. I can feel the servo and I know it is receiving power. Sometimes the EZ-B resets itself and I have to reconnect.

https://www.bananarobotics.com/shop/PowerHD-AR-1202MG-Standard-Analog-High-Torque-Robot-Servo-60g

Please advise on what to do.

Sincerely,

Dave Lawrence [email protected]


ARC Pro

Upgrade to ARC Pro

ARC Pro will give you immediate updates and new features needed to unleash your robot's potential!

United Kingdom
#9  

Pleased to hear you managed to sort out the reset issue. I was going to ask if you confirmed your EZ-B was connected to you computer/network, as Richard said, a flashing LED would mean it wasn't connected.

Also once you have confirmed a connection and the servo is still not moving, have you tried using another digital port?

One last thing, you say you have managed to reduce the voltage down to 6VDC. What power source are you using (battery/adapter, voltage ect)?

#10  

I need access to the code on the EZB-V4 hardware. Not the ARC application running on my PC. I need the code running on the internal micro on the device itself.

ATTN: DJSURES

I require access to the code running on my EZB-v4 robot controller.

I want to change your servo controller pulse period. I am sure that the pulse width changes to drive the servo are ok. What I think is happening is that your servo controls are set for only one type of servo. What I am using is different and would require a different pulse period.

What are the options to modify the hardware code running on the EZB?

Dave

Dave

PRO
Canada
#11  

Sorry Dave, there are no options to modify the code inside the ez-b hardware.

You can however send your own pulse width signals using the sendSerial() function on each Digital pin.

If you could find the pulse widths needed for this servo and share them with the community we could definitely help you out to generate the signals needed through software.

Truth be told though, ARC sends out servo pulses that are extremely common for a large amount of servos in the industry, I'm thinking you might have something else going on. Are you actually connected to the ez-b through the ARC software? Can you verify this by using the "ez-b info" control (under "Add controls" -> "General") and seeing the numbers change.

United Kingdom
#12  

You shouldn't need to play around with the hardware source code. Most if not all servos should work with the EZ-B as far as I'm aware. Besides, I don't think the source code is available anyway.

The reason I ask about your power source is because you said you have now have 6 volts going to your servo, which makes me think before dropping the voltage, you may have put more juice through the EZ-B and in to the servo than the servo could take, and possibly damaged it now which is why it's not moving.

#13  

@David... Dude, first of all is the servo confirmed working?... If it is dead you are kind of wasting your time.... Anyway, I still think you are barking up the wrong tree with the servo pulse issue... It should work unless the servo or the ezb is defective or you are not using the ezb/servo correctly....

  1. Is your ezb working with other controls?
  2. Do you have a regular sero to test?
  3. Have you tested the servo that you are trying to get working?
  4. Is the servo control set for 1 min and 180 max (not 90/90)
  5. Do you have it plugged in correctly to the ezb board?
#14  

"You can however send your own pulse width signals using the sendSerial() function on each Digital pin."

This is an interesting option I will be looking into.

Please do not respond with anymore simple solutions to difficult problems.

Dave

#15  

Well since your obviously smarter than me, here's another simple solution for your difficult problem... Have you read the specifications for the servo? It's a standard servo compatible with standard systems... below is a quote from your link from your first post... pay attention to the line in bold...

Quote:

The PowerHD AR-1202MG is a strong high torque analog servo with metal gears that has been designed especially for robots.

This robot actuator servo provides more than 180 oz-in of torque and has copper gears for extra strength. It is designed for building robotic joints with 180 degrees of movement.

This robot servo has a standard universal JR type connector and is fully compatible with standard servo hardware and software.

Documentation

Think about it... If it did have a unique servo pulse sequence to drive it, how would it work with standard RC controllers (radios), arduinos and other systems that use a standardized servo control pulses?

#16  

You still haven't answered the question about what your power source is. That was not an idle or simple question, but one that may directly relate to the issue. The EZ-B resetting when trying to move a servo is a classic example of insufficient amp power source. The rated amps matching the draw of the servos is often not sufficient due to the "inrush current" required by servos on startup. See post 24 of this thread: https://synthiam.com/Community/Questions/5724&page=3 or search for inrush current to see other descriptions of it. Particularly any post by @Jeremie

Alan