Display Popup icon Display Popup — Full-screen popup display for ARC: show custom text with configurable timeout, font, text/background color, size and position via controlCommand(). Try it →
Asked — Edited

Building A Slave System

Hello all. A few questions here. I'm building a POC. And i need a little info and some help.

Is it possible to add 8 pots to the ADC ports and control 8 servos?

I'd like to build a slave system to control something. The idea is I have a contraption that I use that has pots located at joints, as i move the pots the servos move with the input from the pots.

I've looked around and found several threads on how to connect the pots to the ADC ports, but I cant seem to find any code to help me use the pot data to directly control the servos.

Also is there a way to add more ADC ports short of adding another EZB?


ARC Pro

Upgrade to ARC Pro

ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.

Author Avatar
PRO
USA
LinkedIn Twitter Google+ YouTube
#18  

Awesome! Thanks will give it a go this morning.

Author Avatar
PRO
USA
LinkedIn Twitter Google+ YouTube
#20  

Amazing as always! I’m concentrating on trying to find a better series of pots. I’ve ordered several from amazon.

I favor the mean filter, on 8 with a 25 sleep. Very smooth on the micro servo I tested with. I have like 2 dead zones that I think are related to the pot I bought. Just a cheap $1 pot.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#21  

Have you tried the complimentary filter as well? The dampening value is a percentage, and you might find it's quite flexible as well.

Author Avatar
PRO
USA
LinkedIn Twitter Google+ YouTube
#22  

Yes I tried both. Can these be stacked or use one or the other?

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#23  

I sure wouldn't stack - if you think about what they do... You can, because they're commands. And as you learn programming, commands can be used anyway you wish. You can learn more about programming using the robot program found in the learn section - Professor E has a great video on variables, loops and logic.

There's an update to the complimentary filter which allows custom dampening to be applied as an optional parameter. It's documented in the help displayed of the plugin.

Author Avatar
PRO
USA
LinkedIn Twitter Google+ YouTube
#24  

Got it thanks!