Electron relay control

Hey All,

Trying to piece together a sketch to use the electron to control a relay that turns on an outlet…cannot find anything that fits exactly. Sorry if I missed it in the threads.

Physically how you do it depends on what kind of relay you’re using (mechanical, solid state, power requirement, etc.). As far as the code goes, it could be nothing more than setting a particular pin to HIGH.

As @Ric mentioned in the above post, you connect a digital pin to the Relay Control’s IN and set to HIGH to turn on or LOW to turn off.