Communica

Optocouplers and Photodetectors for CDS002 LDR (5mm) Applications - A South African Guide

Comprehensive guide for South Africans on using optocouplers and photodetectors with CDS002 5mm LDRs. Find application tips, wiring diagrams, and stocked brands at Communica.

sensors and semiconductors
January 17, 2026
5 min read

Choosing Sensor Pairings

How to match optocouplers and photodetectors with 5mm LDRs for reliable detection.

Wiring & Calculations

Step-by-step guide to connecting and biasing your CDS002-based circuits.

Stocked Brands & Access

Popular ranges of LDRs, optocouplers, and accessories are available at Communica branches.

Overview: Optocouplers, Photodetectors, and CDS002 LDR Applications

Light-dependent resistors (LDRs) such as the CDS002 (5mm) are key components in projects where ambient light measurement or basic optical detection is required. South African students, hobbyists, and engineers often need to interface these LDRs with optocouplers or photodetectors to achieve signal isolation, automated switching, or remote light sensing in control circuits. Understanding the matching of CDS002 LDRs with suitable optocoupler and photodetector types can ensure more robust, safe, and accurate circuit designs.

Optocouplers (also known as optoisolators) provide electrical isolation between input and output by using a light emitter (typically an LED) and a photosensitive receiver (such as a phototransistor or photodiode). Photodetectors convert received light into an electrical signal, which can be further amplified or processed.

CDS002 LDR (5mm): Features and Local Popularity

AttributeTypical Value
Package size5mm (round, through-hole)
Dark resistance~1 MOhm (dark room, 0 lux)
Light resistance~5-10 kOhm (bright sunlight)
Wavelength sensitivity~540 nm (green peak)
Operating voltageUp to 150V DC (via biasing resistor; check datasheet)
Local Note: The 5mm CDS002 LDR is widely found at leading SA suppliers like Communica for education and industry projects, often used in laboratory, home automation, and instrumentation applications. It is compatible with commonly available 4N35/4N25 optocouplers and TCRT5000/TEMT6000 photodetectors.

How LDRs, Optocouplers, and Photodetectors Work Together

In practical circuits, the CDS002 LDR is typically placed in a voltage divider to produce a voltage proportional to ambient light. This analog signal can be used to:

  • Drive the input side of an optocoupler for mains isolation applications (e.g., triggering a relay depending on light levels).
  • Activate a photodetector setup (phototransistor/photodiode) for more sensitive or digital light threshold switches.

Common applications in South African projects include:

  • Day/night switching for lighting or alarms
  • Sunlight sensors for green building automation
  • Remote measurements over long cable runs requiring optoisolation

Key Selection Criteria

When choosing optocouplers and photodetectors for your LDR circuit, keep in mind:

  • LDR Sensitivity: Match the optical response and resistance range of the CDS002 to your detection threshold.
  • Optocoupler Input Current: Calculate the voltage divider to ensure enough current to drive the optocoupler LED.
  • Load Requirements: Photodetector output current or voltage should be compatible with your subsequent electronics (comparators, microcontrollers, PLC inputs).
  • Package & Mounting: 5mm LDRs and standard DIP optocouplers (e.g., 4N35, PC817) are breadboard-friendly and ideal for rapid prototyping in labs, schools, and industry.
When sourcing optocouplers or phototransistors, consider local stock availability and lead times; Communica's online categories often list both entry-level and brand-name options suitable for South African projects.

Related Sensors & Semiconductors Products

Discover quality sensors & semiconductors products related to Optocouplers and Photodetectors for CDS002 LDR (5mm) Applications - A South African Guide

Tt Opi1264a Optocouplers, Photodetectors & Photointerrupters

Tt Opi1264a Optocouplers, Photodetectors & Photointerrupters

TTOptocouplers, Photodetectors & Photointerrupters
ZAR56.93

Tt Opi1264a Optocouplers, Photodetectors & Photointerrupters

Communica Pt331c Optocouplers, Photodetectors & Photointerrupters

Communica Pt331c Optocouplers, Photodetectors & Photointerrupters

CommunicaOptocouplers, Photodetectors & Photointerrupters
ZAR2.88

Communica Pt331c Optocouplers, Photodetectors & Photointerrupters

Vishay Cqy80n Optocouplers, Photodetectors & Photointerrupters

Vishay Cqy80n Optocouplers, Photodetectors & Photointerrupters

VishayOptocouplers, Photodetectors & Photointerrupters
ZAR13.66

Vishay Cqy80n Optocouplers, Photodetectors & Photointerrupters

Communica 4n32 Optocouplers, Photodetectors & Photointerrupters

Communica 4n32 Optocouplers, Photodetectors & Photointerrupters

CommunicaOptocouplers, Photodetectors & Photointerrupters
ZAR9.18

Communica 4n32 Optocouplers, Photodetectors & Photointerrupters

Tlp785gb Single Ch Opto Coupler Ctr= 100-600% Dip4

Tlp785gb Single Ch Opto Coupler Ctr= 100-600% Dip4

ToshibaOptocouplers, Photodetectors & Photointerrupters
ZAR4.31

Tlp785gb Single Ch Opto Coupler Ctr= 100-600% Dip4

Communica Tlp521-1gb Optocouplers, Photodetectors & Photointerrupters

Communica Tlp521-1gb Optocouplers, Photodetectors & Photointerrupters

CommunicaOptocouplers, Photodetectors & Photointerrupters
ZAR28.75

Communica Tlp521-1gb Optocouplers, Photodetectors & Photointerrupters

Communica Sfh600-2 Optocouplers, Photodetectors & Photointerrupters

Communica Sfh600-2 Optocouplers, Photodetectors & Photointerrupters

CommunicaOptocouplers, Photodetectors & Photointerrupters
ZAR23.29

Communica Sfh600-2 Optocouplers, Photodetectors & Photointerrupters

Communica Moc3021 Optocouplers, Photodetectors & Photointerrupters

Communica Moc3021 Optocouplers, Photodetectors & Photointerrupters

CommunicaOptocouplers, Photodetectors & Photointerrupters
ZAR10.29

Communica Moc3021 Optocouplers, Photodetectors & Photointerrupters

Communica H11d1 Optocouplers, Photodetectors & Photointerrupters

Communica H11d1 Optocouplers, Photodetectors & Photointerrupters

CommunicaOptocouplers, Photodetectors & Photointerrupters
ZAR11.27

Communica H11d1 Optocouplers, Photodetectors & Photointerrupters

Vishay 6n135 Optocouplers, Photodetectors & Photointerrupters

Vishay 6n135 Optocouplers, Photodetectors & Photointerrupters

VishayOptocouplers, Photodetectors & Photointerrupters
ZAR16.04

Vishay 6n135 Optocouplers, Photodetectors & Photointerrupters

Communica 4n33 Optocouplers, Photodetectors & Photointerrupters

Communica 4n33 Optocouplers, Photodetectors & Photointerrupters

CommunicaOptocouplers, Photodetectors & Photointerrupters
ZAR7.76

Communica 4n33 Optocouplers, Photodetectors & Photointerrupters

Communica 4n25 Optocouplers, Photodetectors & Photointerrupters

Communica 4n25 Optocouplers, Photodetectors & Photointerrupters

CommunicaOptocouplers, Photodetectors & Photointerrupters
ZAR7.76

Communica 4n25 Optocouplers, Photodetectors & Photointerrupters

Basic Circuit Example: CDS002 LDR with 4N35 Optocoupler

A classic approach is to connect the CDS002 LDR in a voltage divider with a fixed resistor, feeding the divided voltage to the LED side of a 4N35 optocoupler. The output (phototransistor) then signals the control circuit, isolated from the sensor side.

+5V
 |
[Fixed R] ---+---[LDR]--- GND
             |
           [Optocoupler LED input]

The output phototransistor of the optocoupler can be pulled up with a resistor and read by a microcontroller input.

Calculating Resistor Values for Reliable Triggering

  • Choose a fixed resistor to complement the LDR's operating range. For CDS002 (5mm):
    Dark (night): RLDR ~ 1 MOhm;
    Bright (day): RLDR ~ 5-10 kOhm.
  • Set the divider to provide enough voltage to forward-bias the optocoupler LED above its Vf (usually ~1.2V).
  • Typical forward current (If) for 4N35/PC817 LED input is 10-20mA.
  • Example: Rfixed = 10kOhm, LDR = 10kOhm (sunlight); divider output is 2.5V. Use an extra resistor in series with the LED to set actual input current. Calculated as:
    I = (Vdivider - Vf) / Rseries
Always check the datasheet for the optocoupler's maximum LED current and match with the LDR divider output. For student labs, it helps to experiment with values from 4.7kOhm up to 100kOhm, observing trigger levels in practice.

Popular Optocouplers & Photodetectors at Communica

TypePart ExampleNotes / Features
Optocoupler4N35, PC817DIP-6, widely used, easy to source locally
PhototransistorTEPT5600, TEMT6000Ambient light sensing, direct analog output
Reflective SensorTCRT5000Infrared, for proximity or basic light/dark detection

South African stock may vary - always check the Sensors and Semiconductors categories and confirm with the Samrand branch or your nearest location.

Troubleshooting Common Issues

  • LDR does not trigger optocoupler: Check for inadequate divider voltage or wrong polarity. Measure with a DMM.
  • Unstable switching: Use a Schmitt trigger or comparator at the output to stabilize noisy or slow transitions.
  • Phototransistor too sensitive: Reduce ambient infrared interference by shielding the sensor.
  • Long lead times for specialty parts: If preferred optocoupler or detector is not in immediate stock, Communica stocks alternatives (e.g., 4N25, PC123) and can advise similar ratings.
Tip: For student or STEM projects requiring VAT invoices, Communica offers official quotations and branch pickup - see Branches & Trading Hours for hours and stock checks.

Conclusion: Applying CDS002 LDRs with Optocouplers & Photodetectors

For South African engineers and education users, the CDS002 LDR (5mm) paired with locally available optocouplers and photodetectors enables flexible, safe, and effective light sensing designs. By understanding matching principles, wiring, and supplier options, you can confidently build both teaching and real-world automation circuits.

Sources

Communica Samrand — Electronic Component Experts

Communica supplies semiconductors and electronic components to industries such as automotive, electrical, automation, mining, and education.

Last updated: January 18, 2026

Disclaimer: This content is for educational purposes only. Product availability, pricing, and specifications are subject to change. Always verify current details on the retailer's website before making a purchase. We may earn affiliate commissions from qualifying purchases.

Frequently Asked Questions

Get answers to common questions about Sensors And Semiconductors

Why Choose Communica?

*Free Shipping

Free shipping for orders over ZAR 1,000.00.

7-Day Returns

Get a full refund if you had the product for less than 7 days.

Quick Delivery

Nationwide delivery within 2 - 4 working days.