hi, I need to connect my Arduino to 22 servos and a microphone should I only do that through Arduino mega or there is another alternative with the Arduino uno through the Adafruit 24-Channel which is better to buy
ps. I already have an Arduino uno.
You can control 48 servos directly with the Mega and the Servo library.
How do you intend to power 22 servos? That will take a pretty hefty power supply.
which is better to buy
That is impossible to say until we know how you define "better".
I have used Adafruit's 16 channel I2C module many times. Actually once, but then I bough many knockoffs from aliexpress for about 1/10 the cost.
The 16 channel boards have worked very well for driving multiple servos.
I2C can talk to multiple boards for more than 16 servos.
The 24 channel board that you link to is not intended to drive servos. From their product page:
Designed (and ideal) for LED control, this board is not good for driving servos.
well im still learning the Arduino but im trying to do an art project where I want to control servos with sound. I have seen a tutorial where they mentioned you can use 2 Adafruit's 16 channel I2C modules and connect them to an Arduino so which one do you think would be better buy 2 Adafruit channels or 1 Arduino mega.
Two PCA9685 boards should be much easier.
You can just plug the servo connectors onto the pinheaders of the board.
Each board has a screw connector for servo power.
Any (small) Arduino could drive two (or more) of those boards.
Leo..
Thank you so much this helps so much
I agree with Wawa.
I had to do a lot of soldering to get 18 servos connected to a Mega and powered from an external battery.
The PCA9685 covers all of the connections.
I also agree with WAWA. For the sacks os simplicity, with the PAC9685, one only need to wire the two i2c wires, Vcc and GND wires from the Arduino. nice and neat.