Thumbnail

PWM Servo Feedback (ADC)

by Synthiam

This control will allow hobby pwm servos to have positional feedback in ARC.

Requires ARC v10 (Updated 9/10/2022)

How to add the PWM Servo Feedback (ADC) robot skill

  1. Load the most recent release of ARC (Get ARC).
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Robot Skill from the button ribbon bar in ARC.
  4. Choose the Servo category tab.
  5. Press the PWM Servo Feedback (ADC) icon to add the robot skill to your project.

Don't have a robot yet?

Follow the Getting Started Guide to build a robot and use the PWM Servo Feedback (ADC) robot skill.


How to use the PWM Servo Feedback (ADC) robot skill

This control will allow hobby PWM servos to have positional feedback in ARC with a slight modification requiring a wire, soldering iron, and Philips screwdriver. This uses the ADC port on the EZ-B (v4, Arduino, etc.)

Example

In this video, we remote control a JD with another JD. The servo positions from one JD are read using this robot skill, and the positions are set to the other JD. This is like using one JD as a puppet to control the other JD.

Video Tutorial

Watch this video tutorial to see how the servos are modified and connected to the EZB. This video also shows how to calibrate the servos for the range position.

Config

The configuration menu is outlined in the above tutorial video. Select the ADC port for the servo and select the servo port. You can manually enter the ADC values or auto-calibrate the Min and Max positions.

User-inserted image


ARC Pro

Upgrade to ARC Pro

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

#9  

Thank you DJ, it's now working. You're fantastic!

#10  

Ya gotta love those Canadians. Best neighbors ever!

PRO
Synthiam
#11  

Updated with the ability to manually enter a min and max ADC value.

User-inserted image