An Arduino drives the switch-mode power supply ... schedule and other variables by sending serial commands through a USB connection. This protocol is detailed with comments in his sketch.