ac-relay

Public

@kikeelectronico

Download board files

Files for version 1. Pick what you came for.

Share ac-relay

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading 3D model… large boards can take a moment.

README

AC Relay

It is a relay controlled by an ESP8266 and a push button. It is powered by the main AC.

Firmwares

Test

This firmware allows you to test the hardware if needed. It will change the relay status each 400 millisenconds when the button is pressed and it will send the push button status via serial communication.

AdafruitIO

This firmware is based in the Adafruit example for comumnicate with its MQTT broker called AdafruitIO. You can see more in io.adafruit.com

In order to use it you should set:

  • Your WiFi setting
  • You Adafruit user name
  • API Key from Adafruit IO
  • The MQTT feed which will be used in Adafruit IO

MQTT

This firmware allows you to communicate with a MQTT broker. For example, you can install your own MQTT broker in a Raspberry Pi.

This is the actual firmware that I am using at home with this circuit, and it is prepared for being working 24/7. It does:

  • Recovery after a power failure.
  • Wake up message
  • Reconnect message
  • Serial debug
  • WiFi reconnect if the signal is lost
  • MQTT Broker reconnect if the signal is lost

For future revisions

  • LED: LED as IO instead of Power LED
  • ESP8266: ESP8266 as SoC instead of the ESP8266-12E module
  • UPS: Uninterrupted Power System. Cesar Fernández idea
  • Capacitive button: A capacitive external button that acts as the push button

Licencia Creative Commons
Home AC relay by Enrique Gómez licensed by Creative Commons Attribution-ShareAlike 4.0 International License.

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.