Automatic Lights Connected With Door and Door Monitoring.

by JayPanchal347 in Circuits > Arduino

1118 Views, 6 Favorites, 0 Comments

Automatic Lights Connected With Door and Door Monitoring.

IMG_20190102_214850.jpg

It seems to be very difficult to find the switch board in the dark but this project is really helpful to solve this problem. Follow the steps below to know the solution of this.....

Things You Need.

2-ch-relay-module.jpg
bulb.jpg
ir-sensor-module-.jpg
Node mcu.jpg

In this project you will need :

1. NodeMCU (esp8266)

2. Relay

3. IR sensor

4. Bulb

5. Few jumper wires (connectors)

Circuit Diagram and Connections.

nodemcu_pins.png

Code for NodeMCU

Just copy and paste the code in your arduino ide and replace the device id with your device id and upload the code. (See video for help)

Downloads

Connecting to Thingsio.ai

Go to the following link https://thingsio.ai/ and create a new account.

1. Then click on new project

2. Enter project name and click on create.

3. Enter device name. ( for example DOOR ).

4. Click on add new property.

5. In property name you have to write VALUE and in property type select BOOLEAN.

6. Then select energy parameter and in transformation select none.

7. Finally click on update device.

8. A new window will open here on top left corner you will find device id.

See Video for full Explanation.

Watch the Video for Full Instructions.

Automatic Door lights and Door monitoring