We need pyserial to allow us to open the serial USB connection.
Commands are of the form: operation pin (value). Operation can be one of:
Oscillator
Photo resistor bridge - note for the Pico 5V is 3.3V
Two views of the relays showing the control connections and the 120VAC connections These relays have an opto-isolator driving the relay coil so the current draw is minimal - measured at 2ma.
Since we can't see inside anymore.