Interfacing Photon with PowerSwitch Tail 2

Can I connect the Photon directly tp the PowerSwitch Tail 2 or do I need to put an interfacing circuit between them?

Thanks.

Jim

Yes you can connect it directly, it has an optoisolator so there’s no direct electrical connection between your device and the relay.

Yeah, it should work. Infact this is my weekend project. I am following the steps/code here: https://learn.adafruit.com/adafruit-io-basics-digital-output/arduino-wifi (just need to ignore the wifi specific part from the article). Should be pretty simple.