I am trying to figure out how to achieve the master-slave configuration shown below.
The aim is to individually address an array of 150mA LEDs, driven by the IS31FL3265A PWM driver. For this specific application, I am tying the driver's outputs in groups of 3 to achieve the desired current. The IS31FL3265A supports 16 different slave addresses, but those need to be hardware-configured and are limited in number.
I am hence thinking of another possible solution, where my controller addresses a series of microcontrollers with configurable addresses (could be simple AVR processors?) on an RS-485 bus.
I would like the microcontrollers to all run the same software, but their unique ID should be configurable (increase/decrease) through two buttons on the PCB hosting them. In turn, they should communicate through I2C with the LED drivers to dictate which LEDs will light up at any given time. My master controller (the Teknic ClearCore) only supports RS-232 serial communication, so I presume I will need some kind of converter to achieve long-distance multi-node communication.
Could anyone help me understand how I could achieve such a configuration? What components are needed and what details should I take into consideration when trying to build this? What protocols are required to ensure communication between all the parts involved? Is there just a better and more straightforward way to make this work?
Thanks in advance!