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


#1

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:
http://piwifio.com/AvonelleTrip.pcb
The PC board can be viewed AND ordered online
using free software from http://expresspcb.com

(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 http://digikey.com (edit later)
Total cost is $ (not much, post later)




#2

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)


#3

I’m thinking- in MANY of my needed applications- the Sonoff device will work perfectly- like, on a simple light switch-
https://www.itead.cc/sonoff-wifi-wireless-switch.html
-and I just CANNOT beat the Sonoff price!


#4

I JUST got all my parts from Digikey!
Yaaaay!
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)
and
(3) Solenoid8 PC boards (X4 = 12 Solenoid8 units)

My engineering goals have been met!
http://community.mydevices.com/t/cayenne-8-channel-esp12-e-solenoid-motor-relay-driver/1362


#6


#7

Perfect!

//#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()
{
  Serial.begin(9600);
  Cayenne.begin(token, ssid, password);
}

void loop()
{
  Cayenne.run();
}

#8

#9

I just got my PC boards for Solenoid8 AND Avonelle!