If you’ve got an Arduino lying around (and what budding electrical engineer doesn’t these days?), that may prove to be the easiest way to control the LED bars via PWM. Use a circuit like below, with an n-channel MOSFET and the Arduino powered through the barrel jack connector by a 12V wall wart