What devices (and in what scenarios) do you use to control custom hardware?

For example, I tend to use the Raspberry Pi Pico W with MicroPython firmware installed, however that is only one of many good options (e.g., Arduino).