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!

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

Activity description clip:

Prepare:

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

  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.

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

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

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

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

Step 2: Connect the signal between 2 modules.

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

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.

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

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.

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

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

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

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.

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

Fixed module relay on plastic box with candle glue.

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

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.

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

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.

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

You connect the power cord to a light bulb.

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

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.

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

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.

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

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

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

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
5 ★ | 1 Vote