UCL-Embedded -Relay Communication Box

by Obayda_haj in Circuits > Arduino

346 Views, 1 Favorites, 0 Comments

UCL-Embedded -Relay Communication Box

46479873_493168261176005_5787721838725431296_n.jpg
46495263_268529377199104_4860343661130416128_n.jpg

The main idea about this project is to control a set of two relays and a DHT11 sensor with a Blynk app using WiFi communication and a Nodmcu esp8266 micro controller.

Parts List

NodeMCU_ESP8266_development_board_1024x1024.jpg
65-00.jpg
51e81ca8-7e4c-4c48-afaa-5e9f98de03cc.jpg
20181119_162744.jpg
sku_140196_1.jpg

  • 1x NodeMcu Lua ESP8266 ESP-12E WIFI Development Board.
  • 1x DHT11 Temperature Humidity Sensor Module
  • 1x Mini Bread Board
  • 2x 5V 1 Channe Relay Module
  • 2x LEDs
  • 1x Double Side Prototype PCB
  • some breadboard cables
  • some wire jumbers
  • Additional : Box to protect the module

Building the Module

communication relay module_bb.jpg

This Fritzing Diagram was made for another board "Wemos D1" . The board functioned perfectly. Though the need to minimize the total size of the whole circuit , set the board replacement in consideration.
Wiring with Node Mcu is the same.( An edition to be added soon with the used board Node Mcu. )

IO List

New Microsoft Word Document (2) - Word 11_20_2018 12_38_32 AM.png

The virtual pins will be explained in the next step.

Blynk App

46482921_256693281672963_3526423623260700672_n.png
46495081_2188003051458803_5916486491562835968_n.jpg


The following steps explain how to use the app I built.

  1. Download blynk app to your phone or tablet. IOS devices and Android devices are supported.
  2. Press on Scan QR on the top right corner.
  3. Scan the QR code attached. That is all.

Blynk app can be used with many different kind of boards. It is very easy to be used with many control possibilities.

The app can:

· Track the humidity and the temperature of the room

· Control 2 relays separately through WI-FI

Features

· When disconnected, the app sends a notification to the phone screen.

· The app can be scheduled with some events to control e.g. relays depending on temperature or time and date.

The Code

The Blynk app need some special libraries to be installed. The WiFi credentials and the Auth token need to be set in the code.

Downloads