Small utility for controlling electromagnets via serial connection to an Arduino