Controlling 7 servos with CapSense

Hello,

I am planning on building seven small scissor lifts that should be able to move independently from each other.
For the control I wanted to use capacitive sensors for each lift or a virtual controller (maybe in processing).

So my questions are:
How does it work with an external power source for all servos?
Is it possible to create "Presets", which moves each servo into a certain angle?
How would it work with the capacitive sensors? Would it be exact enough to move the servo?

I have some experience in coding and electronics but would call me a newbie :slight_smile:
I am using an Arduino MEGA 2560, seven small micro servos and the CAP1188 Capacitive Touch Sensor board.

Any help is appreciated! If more information is needed please let me know.

From a quick look at Adafruit's website it seems that the CapSense device just gives a digital response for inputs that are touched so it should be just the same as having 8 push button switches. How you interpret the switch presses is up to you.

The servos should have their own power 5v or 6v power supply - allow about 1 amp per servo - more if you are using big servos with heavy loads. The power supply ground should be connected to the Arduino ground.

There would be no difficulty having an array of servoPositions in the Arduino software so each servo can have its own position, or , if you wanted, each servo could have several preset positions.

One thing to be aware of is what the servos do when they system is powered up. The servos may (probably won't) stay where they were last time, and your software probably won't "remember" where they were anyway. You probably need to design a suitable start-up sequence. And maybe also a shut-down sequence - though that won't happen if someone pulls the plug.

I suggest you buy a cheap servo and experiment with it. You will probably learn far more that way. There are some example servo sketches in the Arduino IDE.

...R