Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

This device will significantly reduce your monthly electricity bill if you are a forgetful person.

This device will significantly reduce your monthly electricity bill if you are a forgetful person.

In our house, there must be a light bulb that needs to be turned on when it is dark and when it is light, turn it off. It could be a light bulb outside, a garden light bulb . Usually we will have to actively turn on these lights when it's dark and turn them off when it's morning.

Funny to say it is turned off by "rice". In today's tutorial we will help you build devices that are able to turn on and off the lights automatically when it is dark / bright super simple. With this device, if you forget to turn off the power every morning, it will no longer happen. Let us begin with!

Picture 1 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

Activity description clip:

Prepare:

Picture 2 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

  1. A light sensor module (price range: VND 25,000).
  2. A Relay module (price range: VND 30,000).
  3. A plastic box (take advantage of old items not used in the house).
  4. A piece of power cord with plug.
  5. 7 color strings.
  6. An old phone adapter does not work.

Step 1: Attach light sensor module to the box.

Picture 3 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

You chisel a hole in the plastic box, fit the optical head on the light sensor.

Picture 4 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

Then fix the light sensor module into the box with candle glue.

Step 2: Connect the signal between 2 modules.

Picture 5 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

On the light sensor module we have 3 pins: the DO pin is the signal foot, the VCC GND is the 2 pins that supply power to the active module.

Picture 6 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

Connect the DO pin of the light sensor module to the IN pin on the Relay module.

Talk a little bit about Relay module. This module has 6 pins.

Picture 7 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

In which 3 pins DC + DC - is the power pin, IN is the input signal pin to enable Relay.

Picture 8 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

The other three pins are: COM and NC NO are the pins for us to use to close the electrical devices. COM is the middle foot. NC stands for Normal Close which means normally closed. NO is Normal Open meaning normally open.

Step 3: Connect the power supply cable to the Relay Module and the active light sensor module.

Picture 9 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

Fixed module relay on plastic box with candle glue.

Picture 10 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

Connect 2 power cords of light sensor with 2 power adapter.

In order for these two modules to work, we need to power them. The power supply is 5V DC, since both modules use 5V DC power, so we connect the two power cords together.

Picture 11 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

Then connect to DC + and DC- pins.

You use the Adapter Red wire connected to the VCC pin of the 2 modules, the black wire is connected to the GND pin.

Step 4: Connect the control lamp from the Relay module.

Picture 12 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

You connect the power cord to a light bulb.

Picture 13 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

The other two wires of the light bulb connect to the NO pin on the Relay module, the other end of the power supply is connected to the COM pin.

Picture 14 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

You can look at this diagram to see more clearly how to connect.

To adjust the sensitivity of the light sensor, you use a variable screw screwdriver on the module to adjust the parameters accordingly.

Picture 15 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

So we have completed the steps to create a device that automatically turns on and off the light.

Picture 16 of Instructions for making devices turn on and turn off lights automatically when the light / dark is super simple with only 50,000 VND

Good luck!

  1. Instructions for homemade readers to clap the device to turn on the lamp / fan very simply
  2. Homemade the Asphalt 8 steering wheel set with extremely high quality flange box
Update 24 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile