Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 2.07 KB

README.md

File metadata and controls

51 lines (32 loc) · 2.07 KB

DoorBellSwitch

Double push-type remote switch.

Introduction

Recently, I'm interested in home automation and more specifically OpenHab.

As I find that some products are shamefully expensive, and that the world of electronics allows us to create them at a reduced price.

As in the past, I was interested in the world of arduino. I discovered ESP8266 modules. They are not expensive, they are not bulky, they do not consume much and can work with arduino code that I already knew. And Cherry On The Cake, they can speak the "MOSQUITTO" thanks to the MQTT protocol that OpenHab also knows.

Destination of this project

Home Automation and more specifically for OpenHab, but other domotics project can probably also work.

Material and knowledge needed

1. Material

Wifi Shield : ESP-01S ESP8266
Power Supply : Hi-Link HLK-PM03 AC-DC 220V to 3.3V Mini Power Supply Module
Resistor : 1 KOhm
2 Simple Push Button Normaly Open (Contact Free), One for Door Bell, One Contact when the door is open.

2. Knowledge

Arduino language Here
ESP-01 Flashing Here
MQTT "Mosquitto" Here
OpenHab items and Rules in text files. Here

Sub Folder Content

Arduino-Code : Code Arduino and config file for your own wifi and mosquitto parameter
Fritzing : Download Fritzing Here to view connecting schema.
OpenHab : Items, Rules, Transform Files
Gerber : If you want to make a beautifull PCB. I'm not sponsorized but this one is cheap.

PCB View Real Size 35 x 35 mm

alt text

Fritzing View

Warning ! Use a HLK-PM03 it is 3.3V and not a HLK-PM01 it is 5V or your are going to burn your ESP-01 !

alt text