|
Electronic Construction Project Portable Photo RelayRelay applies 120VAC power to load when it gets dark.Two amps maximum load. Adaptable to higher currents.
|
| * BIAS CONTROL: Increasing resistance biases circuit towards "ON" state. | |
| ** SAFETY POLARITY CHECK: Ground terminal for polarity check. If neon lamp lights, polarity is correct. If neon does not light, reverse input plug. Read the safety considerations below. |
|
| *** See load addendum below. |
| TRANSFORMER | 115V/6Vx2, BV020-5417.0 (Pulse), Digikey cat# 567-1007 |
| LDR | Light Dependent Resistor, All Electronics cat# PRE-12 |
| 7555 | CMOS timer, LMC555CN (Nat. Semiconductor), Digikey cat# LMC555CN |
| SS RLY | 2 Amp Solid-State Relay, G3MB-202PL DC5 (Omron), Digikey Z909 |
| POT | 1k ohm, 9mm, Digikey 3309-102 (Optional. If not used, replace with short.) |
| NE-2 | Neon Lamp, Mouser cat# 606-A1A |
| RECEPTICAL | 2-cond, snap-in, Digikey Q281 |
| CASE | Plastic, 4.5" x 2.75" x 1" (11.4cm x 7cm x 2.5cm) |
| MISC | Small parts as shown on schematic |
Digikey Mouser Electronics All Electronics
All parts are secured to the case with silicone rubber sealant (RTV).

Most of the small components for the project are mounted on the board.
The 2-pin header will connect to the LDR.






Tip jack (this will be the grounding terminal), 150k resistor, LED mounting sleave, NE-2.

in an ocean of RTV.


Yes, that's a bottle cap. It protects the LDR and gives it directionality.


This is an outside location protected from the weather under an eve.

This circuit, when constructed using the certified, hi-pot tested devices specified in the parts list (transformer and SS relay) is capable of very high electrical isolation. However, the Photo Relay shown constructed on this page is a self-contained portable (temporary) version. As such, several things should be kept in mind when using it:
Single-Pole:
The photo relay can be constructed as a 240VAC single-pole version by substituting a 240-volt transformer for the transformer shown in the Figure 1 parts list above and deleting the 150k resistor and neon lamp. No other changes are required. The single-pole version is appropriate for portable (temporary) service only if the relay will be connected to a 240-volt fully floating and balanced branch circuit protected by a ground-fault circuit interrupter (GFCI).
| TRANSFORMER | 230V/6Vx2, BV020-5388.0 (Pulse), Digikey 567-1022 |
Two-Pole:
A two-pole version is shown in Figure 2.
Schematic - 240VAC, 2-Pole Version

| * BIAS CONTROL: Increasing resistance biases circuit towards "ON" state. | |
| *** See load addendum below. |
| TRANSFORMER | 230V/6Vx2, BV020-5388.0 (Pulse), Digikey 567-1022 |
| LDR | Light Dependent Resistor, All Electronics PRE-12 |
| 7555 | CMOS timer, LMC555CN (Nat. Semiconductor), Digikey cat# LMC555CN |
| SS RLY (2) | 2 Amp Solid-State Relay, G3MB-202PL DC5 (Omron), Digikey Z909 |
| POT | 1k ohm, 9mm, Digikey 3309-102 (Optional. If not used, replace with short.) |
| RECEPTICAL | |
| CASE | |
| MISC | Small parts as shown on schematic |
The light sensor (LDR) can be remoted with low-voltage wiring to make a "weather-proof" version of the circuit as shown in Figure 3. Encapsulate the LDR in a transparent or translucent water-tight outside enclosure; install the remainder of the circuit at a weather-protected inside location.
Remote LDR

For higher current applications, the solid-state G3MB series relay/s and 390-ohm resistor/s specified can be replaced with a high-current solid-state relay (or relays) such as the Omron G3NA-2xxB-DC5-24 series (up to 90 amps). Replace the 390-ohm resistor/s with a short. Alternately, the Figure 1 circuit can be used to drive (pilot) a 120/240VAC electro-mechanical relay or contactor.
The relay circuit can be modified to de-energize the load when it gets dark. The circuit remains the same in all respects except that the wiring of the SS Relay and its associated 390-ohm resistor are changed as shown in Figure 4. Note that operation of the BIAS control changes.
Schematic - Off-When-Dark Modification.
| * BIAS CONTROL: Increasing resistance biases circuit towards "OFF" state. |
Minimum Load
Unlike an electro-mechanical relay, a solid state relay will not completely switch to the "OFF" state into a high resistance (i.e., low wattage) load or open circuit. The maximum resistance the Omron SS relay can tolerate is about 1200 ohms, equivalent to 12 watts of non-incandescent resistive load (0.1 amp) at 120 volts. For an incandescent load, minimum equivalent load is about two watts (the cold resistance of a 2-watt incandescent lamp is less than 1200 ohms). Interestingly, for a magnetic load (motor, transformer, etc.), the minimum load is virtually zero watts, since AC magnetic devices register very low resistance when de-energized. In other words, the minimum load depends on the type of load:
| Load Type | Minimum ON wattage for this load type | Typical OFF Resistance at this wattage |
| Resistive | 12 watts | 1200 ohms |
| Incandescent | 2 watts | <1200 ohms |
| Magnetic | <1 watt | <200 ohms |
Special Case - LED Loads
An interesting effect can be seen when the relay is connected to a string of LED decorative lights. These srings consist of a rectifier and 35 or so LEDs connected in series (70 LEDs for 240-volt strings). Since LEDs are high-speed non-linear devices, they switch off each time the drive voltage drops below a threshold of 2-3 volts per LED. This occurs in normal operation twice during each AC cycle. The LEDs appear to be glowing continuously but in fact are flashing at twice the frequency of the AC power line.
The minimum load/maximum resistance requirement comes into play when the SS relay switches to the "OFF" state. Each time the string voltage drops below the LEDs' threshold voltage, the string looks like an open circuit to the relay. The relay tries to supply current to the LED string and the string voltage rises to the threshold. The result is a series of clipped-at-the-threshold pulses being fed to the LEDs at 2x the line frequency. The visible result is, instead of going dark, the string glows dimly. This occurs regardless of the number of LED strings connected to the relay.
If this is not acceptable, the remedy is simple: Provide at least 2 watts of incandescent load in addition to the LED load. A single 2-watt (or larger) 120-volt lamp, or string of lamps, connected in parallel with the LED string, will completely eliminate the effect. Alternately, some sort of magnetic load can be used, a doorbell transformer or transformer-powered (non-switcher) wall wart power adapter, for example. (It's not necessary to connect the wall wart to its load.)
If your only concern is to eliminate the dim glow of the LEDs when the Photo Relay is off, a relatively high-value resistor can be used. While this will not allow the SS relay to completely switch to the "OFF" state, it will lower the output voltage enough to extinguish the LED string. Probably the most practical place for this resistor is across the terminals of the Photo Relay's output load receptical, as shown in Figure 5. The presence of this resistor will not affect operation of the relay with other load types.
Optional load resistor when Relay is to be used with LED strings.

(use 100k, 1w for 240VAC)