The item you are looking for is a dc-dc buck converter. Also known as a step-down.
Use the 12v for LEDs, parallel a line into buck to get 5v for the MCU.
I did that for a xmas light setup.
The item you are looking for is a dc-dc buck converter. Also known as a step-down.
Use the 12v for LEDs, parallel a line into buck to get 5v for the MCU.
I did that for a xmas light setup.