How do I control 16 servomotors?

I want to build a spider; each leg should have two joints.
So I have to control 16 servomotors; can I use shift registers (74HC595) for that?

There are several Arduinos that have plenty of pins to allow control of 16 servos in the conventional way. No shift registers needed.

There is also an Adafruit 16 servo board that allows them to be controlled via I2C so very few pins are required. Adafruit 16-Channel 12-bit PWM/Servo Driver - I2C interface [PCA9685] : ID 815 : $14.95 : Adafruit Industries, Unique & fun DIY electronics and kits

Steve

Standard RC hobby servos? The typical way to do that is with a servo board.

These have the advantage of giving you and easy way to connect power to the servos independent of the arduino.

can I use shift registers (74HC595) for that?

No.

I’m sure there was a post for a spider with servos about 6 months back ?

vinceherman:
https://www.aliexpress.com/item/16-Channel-12-bit-PWM-Servo-Driver-I2C-interface-PCA9685-for-arduino-or-Raspberry-pi-shield/32710084048.html

These have the advantage of giving you and easy way to connect power to the servos independent of the Arduino.

Look useful. Ordered two. :grinning: