Micro-controller selection

I wan to use a PLC to trigger an ESP32/STM32 micro-controller that controls two 24 V RGB LED strips to display a Red → Yellow → Green countdown based on a process signal

  1. Is the Flow chart described below correct?
    2 . Can someone suggest some cheap micro-controller (1 input and 2 or more output) and voltage converter for my case

@ag777 ,

Your topic was moved to its current location as it is more suitable.

Could you also take a few moments to Learn How To Use The Forum.

It will help you get the best out of the forum in the future.

Thank you

Your diagram is ok.
Any MCU will work, the Raspberry Pi PICO is under $2 plus shipping from AliExpress.
A Buck converter from many suppliers that can handle at least 24VDC to get 5VDC can be had for about $3USD on Amazon https://www.amazon.ca/CANADUINO-DC-DC-Converter-Output-Terminals/dp/B07B2L1CDT/ref=asc_df_B07B2L1CDT
Change the link to your country.

I suggest you get a copy of the Arduino Cookbook and then skim it cover to cover, you should find most if not all of your answer including code and wiring information

I would have thought the PLC should be able to do this on its own ?