DIY photo relay for street lighting

The best solution for controlling lamps is a photo relay. It regulates the operation of lighting devices and saves energy. And in this master class I will show you how to assemble a photo relay no worse than the factory one.

A photo relay, in short, is a device that responds to changes in lighting. If you connect it to lighting, you can control whether the lamps turn on and off. Most often, a photoresistor is used in a photo relay. In daylight, its resistance drops, the relay is open, and the lamp does not light. When twilight sets in, the photoresistor increases the resistance and (depending on the setting made by the trimmer resistor) the relay closes, thereby turning on the lamp.

Creating a photo relay:

The photo relay was made according to this scheme:

On the board I decided to place only a 7805 voltage stabilizer (its use is not necessary, and can be replaced with other 78xx) and the sensor itself, which includes an lm358 microcircuit (an operational amplifier in comparator mode), a photoresistor, a trimmer resistor and wiring for them. I soldered the power supply and relay with transistor separately using surface mounting. At the end of the article there will be an archive with the board and circuit.

The board was manufactured using LUT methods.And it was etched in a solution of peroxide with citric acid and salt.

After which the elements were sealed.

The photoresistor was carried out on wires in cambrics, and the sensor itself was placed in this kind of fastening for wires (see photo), I don’t know the name of the fastening.

The power supply is made on a case transformer with an output voltage of 11 Volts, a diode bridge in the case and a capacitor.

I bought a junction box in Leroy. There were racks at the bottom that interfered with the fastening of the elements. So I took a piece of getinax and secured it to the bottom of the box.

The board with the sensor was secured with one screw, and the power supply with the relay was secured with zip ties. For convenient power connection and controlled load, I bought Wago connectors.

About the device:

This photo relay uses hysteresis, which allows you to get rid of flickering of the lamp during sunrise and sunset. The capacitor on the board serves as protection against false alarms, that is, it sets the delay time for turning the lamp on or off. Its capacity can be any.

The board can be supplied with voltage from 7 to 20 Volts.

The relay in this circuit can be replaced with a triac, which will be more durable and practical.

Photo relay installation:

  • The sensor (photoresistor) must be installed so that it is exposed to daylight.
  • Any other artificial light sources should be located as far as possible from the sensor in order to avoid false alarms.

Watch the video

The video shows the operation of the device, where I showed how the on and off delay works.

Archive with signet and diagram:
fotorele.zip [26.84 Kb] (downloads: 212)
come back
Comment
  • bowtiesmilelaughingblushsmileyrelaxed relaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypassive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
4 minus one =
Comments (3)
  1. Sergey K
    #1 Sergey K Visitors October 20, 2021 11:11
    1
    An overly complicated circuit, why is there a transformer and especially a relay? For longevity, it’s better to have a semi-sector, and even power it directly from the mains voltage. And the size will be significantly reduced and the price will be adequate
  2. Sergey K
    #2 Sergey K Visitors 20 October 2021 22:15
    2
    Here is an example diagram
  3. Sergey K
    #3 Sergey K Visitors 20 October 2021 22:34
    2
    But on the same operating system