Convert led matrix library to drive servo instead of LED

Hi all. Have searched through the web and also this forum.
Nothing found.
Having an idea of running a 16x16 servo 2D matrix with Arduino that designs patterns by moving servos (i.e. for example a 2D sinusoidal wave on the surface starting from left side or even write letters) I am stuck in the software part.
The hardware part is quite simple by chaining PCA9685 and assigning for each row or column 16 outputs.
The software part seems to be quite challenging for me. So I was thinking of converting the LED matrix library into a servo matrix library.
But before being lost in a dark codeword I wanted to ask if someone has a better idea...
No need for RGB led. the LED brightness is enough to be converted into degrees for each servo.. Seems quite simple but it is not.... Thank You all.

I don't think that is a good idea.
The simple monochrome led matrix doesn't have ability to control the brightness of the each led, you can change the overall brightness of the whole matrix only.
In more complicated cases brightness of the individual led in the matrix is controlled by switching it on and off in selected timeframes and has nothing common with PWM, which used to control a servos.

PCA 9685 has the ability to control brightness via 12-bit resolution.

Controlling the brightness in the RGB matrix is as complex as in monochrome

PCA 9685 has the ability to control brightness via 12-bit resolution.

yes, but it incompatible with most led matrix libraries.
What matrix library do you intend to use?

Honestly? Have no clue... that's why I was asking. What do you think it is best suited for?
Regards

as I have answered in post#2 - I do not think it's a good idea.
But you can ask someone else

I think you might be better off looking at something like this. It has 16 individual PWM outputs and is controlled over I2C. They have multiple address selectors so you can chain 62 of them together giving you 992 total PWM outputs possible. Since each is 16, each board could control 1 row. Which would make your programming easier. What are you planning on displaying using this matrix? You won't be able to do anything like scrolling words I wouldn't think. The servos won't move fast enough.

Thanks Ryan. That's exactly what I was going to use. The problem is software implementation. I do not know how to start to begin with the library matrix.
I want to display letters, names, not scrolling items.
What thinking a way to use like MD_Parola but they use different libraries and >I was thinking how to port them to my needs.
Regards

You could try to convert that library over to controlling the servos...but you're going to be controlling 16 devices over I2C instead of just 1. The problem is that all the multiplexing of the signal is handled by the controller and not by the microcontroller. So, library isn't the only thing doing the work.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.