Esp12-e DUAL "Form C" Relay + 4 binary inputs + Power Regulator


Designed to fit inside standard electric wall boxes

Primarily for WiFi home automation retrofitting lighting controls

(2) independent Form “C” relays,
rated 125Vac/3Amps, on GPIO 4 and GPIO 5
connectorized to #14 ga. wire screw terminals

(4) binary switch inputs
with 10K pullup resistors, on GPIO 12, 13, 14 and 16
switch wire pairs connectorized to RJ48 jack
using standard TIA568B color code-
Blu/White = GPIO 12
Org/White = GPIO 13
Grn/White = GPIO 14
Brn/White = GPIO 16

Efficient 78SR3.3 switching power regulator, 7.5 to 36Vdc
connectorized to a standard 2mm BARREL style plug

You can download the CAD file by clicking:
The PC board can be viewed AND ordered online
using free software from

(3) PC boards yielding NINE Avonelle circuits
cost $65 (tax/shipping included) from ExpressPCB

Digi-Key parts kit (less Esp12-e units)
for (9) Avonelle PC boards is available
by clicking (edit later)
Total cost is $ (not much, post later)


I think this is the unit I will be installing in my new home.
It’s exactly what I want-
I’d rather run the +12DC to each wall box-
knowing that every device connected will have UPS/battery backup.

If I line-powered each unit, then, if a bad guy cuts my power, -they can rob me.
I’d rather have central battery/power distribution. Like a burglar alarm and ancillary devices.

Time to whip-up (27) of these devices! (9 PC boards X 3 units per board)
(Newer video to follow, I will show assembly/construction of the unit)


I’m thinking- in MANY of my needed applications- the Sonoff device will work perfectly- like, on a simple light switch-
-and I just CANNOT beat the Sonoff price!


I JUST got all my parts from Digikey!
The new PC boards will be arriving probably on Tuesday.

I got BOTH the Solenoid8 AND the Avonelle!
$135 for:
(3) Avonelle boards (X 3 = 9 Avonelle units)
(3) Solenoid8 PC boards (X4 = 12 Solenoid8 units)

My engineering goals have been met!




//#define CAYENNE_DEBUG         // Uncomment to show debug messages
//#define CAYENNE_PRINT Serial  // Comment this out to disable prints and save space
#include "CayenneDefines.h"
#include "BlynkSimpleEsp8266.h"
#include "CayenneWiFiClient.h"

// Cayenne authentication token. This should be obtained from the Cayenne Dashboard.
char token[] = "qrp6a2rr3e";
// Your network name and password.
char ssid[] = "FBI Wiretap";
char password[] = "insanefun";

void setup()
  Cayenne.begin(token, ssid, password);

void loop()



I just got my PC boards for Solenoid8 AND Avonelle!