Optocouplers, Photodetectors & Photointerrupters: The Complete Selection Guide for SA Engineers and Makers
Expert guide to selecting optocouplers, photodetectors, and photointerrupters. Local stock, calculations, and SA application notes from Communica.

Isolation & Sensing Essentials
Optocouplers protect logic; photodetectors sense light; photointerrupters detect position.
Select by CTR, Wavelength, Gap
Match current transfer ratio, spectral response, and mechanical gap to your application.
Local Stock, Fast Collection
Communica stocks top brands in Samrand, Pretoria, and Cape Town for same-day pickup.
Why These Three Components Are the Unsung Heroes of Robust Electronics
In the real world, signals don't always play nice. High-voltage spikes, ground loops, noisy motor drivers, and mechanical movement all threaten the integrity of your circuit. Optocouplers, photodetectors, and photointerrupters are the quiet heroes that keep your logic safe, your sensing accurate, and your systems reliable. Whether you're a student building a line-following robot, a technician repairing industrial control boards, or an engineer designing a medical monitor, understanding how these three families work, differ, and complement each other is essential. Communica stocks a deep local range from brands like Vishay, Broadcom, Everlight, and Sharp, so you can get the right part without waiting on international shipping. This guide cuts through the marketing jargon and gives you the selection criteria, calculations, and SA-specific context you need to buy with confidence. For the full category overview, explore all product collections and filter by your application.
Optocouplers: Isolation for Safety and Signal Integrity
An optocoupler (also called an optoisolator) contains an infrared LED and a photodetector in a single opaque package. The input signal drives the LED, which emits light across a physical gap; the photodetector converts that light back into an electrical signal. Because there is no electrical connection between input and output, you get galvanic isolation. This is critical when interfacing a 3.3V microcontroller to a 24V industrial sensor, or when breaking ground loops that cause noise and hum in audio or measurement circuits.
Key parameters to check:
- Isolation voltage: Typically 2.5kV to 5kV RMS. Higher is safer for mains-referenced circuits.
- Current Transfer Ratio (CTR): The ratio of output current to input current, usually expressed as a percentage. A CTR of 50% means 10mA in gives 5mA out. CTR varies with temperature and aging, so design with margin.
- Speed: Standard optocouplers are fine for DC and low-frequency signals (up to ~100kHz). For digital data rates above 1Mbps, use high-speed types with photodiodes and internal gain stages.
- Output type: Transistor, Darlington (higher gain, slower), TRIAC (for AC loads), or logic gate (for clean digital output).
Popular SA-stocked options include the 4N25/4N35 general-purpose transistor output, the TLP521 for cost-sensitive designs, and the HCPL-316J for gate drive in motor control. Always calculate your current-limiting resistor for the LED: RLED = (Vsource - VF) / IF. With a 5V source, 1.2V forward voltage, and 10mA target, R = (5 - 1.2) / 0.01 = 380Ω - use a standard 390Ω. Power dissipation in the resistor is I²R = 0.01² × 390 = 0.039W, so a 0.125W or larger resistor is fine. For a deeper dive into available brands, visit Shop by Brand.
Photodetectors: Turning Light into Precise Signals
A photodetector is a semiconductor device that converts incident light into an electrical current or voltage. Unlike optocouplers, they are not necessarily isolated; they are used to sense ambient light, detect objects, measure distance, or receive optical data. The main types are photodiodes (fast, linear, low gain), phototransistors (higher gain, slower), and photodarlingtons (very high gain, slowest). Photodiodes are preferred for precision light measurement and high-speed communication; phototransistors are common in object detection and line-following sensors.
Selection criteria for photodetectors:
- Wavelength range: Match to your light source. Silicon photodiodes peak around 900nm (near-infrared) but respond from ~400nm to 1100nm. For visible light sensing, a photodiode with a blue-enhanced response is better.
- Responsivity: Output current per unit optical power (A/W). Higher is better for low-light applications.
- Dark current: Leakage current with no light. Lower is better, especially for precision measurements.
- Active area: Larger area collects more light but increases capacitance, reducing speed.
- Package: Consider ambient light rejection - black epoxy or filtered windows reduce unwanted visible/IR interference.
In South Africa, photodetectors are used in security beams, automatic gate sensors, and student projects like solar trackers. A common circuit uses a photodiode in photovoltaic mode (zero bias) for low noise, or photoconductive mode (reverse bias) for faster response. For a 5V system, a transimpedance amplifier with a feedback resistor Rf converts current to voltage: Vout = Iphoto × Rf. If you expect 5µA and want 2V output, Rf = 2V / 5µA = 400kΩ. Use a low-bias-current op-amp like the TL072 or MCP6002. Need a specific part? Browse the Collections page for sensors and semiconductors.
Related Sensors & Semiconductors Products
Discover quality sensors & semiconductors products related to Optocouplers, Photodetectors & Photointerrupters: The Complete Selection Guide for SA Engineers and Makers
Tt Opi1264a Optocouplers, Photodetectors & Photointerrupters
Tt Opi1264a Optocouplers, Photodetectors & Photointerrupters
Communica Pt331c Optocouplers, Photodetectors & Photointerrupters
Communica Pt331c Optocouplers, Photodetectors & Photointerrupters
Vishay Cqy80n Optocouplers, Photodetectors & Photointerrupters
Vishay Cqy80n Optocouplers, Photodetectors & Photointerrupters
Communica 4n32 Optocouplers, Photodetectors & Photointerrupters
Communica 4n32 Optocouplers, Photodetectors & Photointerrupters
Tlp785gb Single Ch Opto Coupler Ctr= 100-600% Dip4
Tlp785gb Single Ch Opto Coupler Ctr= 100-600% Dip4
Communica Tlp521-1gb Optocouplers, Photodetectors & Photointerrupters
Communica Tlp521-1gb Optocouplers, Photodetectors & Photointerrupters
Communica Sfh600-2 Optocouplers, Photodetectors & Photointerrupters
Communica Sfh600-2 Optocouplers, Photodetectors & Photointerrupters
Communica Moc3021 Optocouplers, Photodetectors & Photointerrupters
Communica Moc3021 Optocouplers, Photodetectors & Photointerrupters
Communica H11d1 Optocouplers, Photodetectors & Photointerrupters
Communica H11d1 Optocouplers, Photodetectors & Photointerrupters
Vishay 6n135 Optocouplers, Photodetectors & Photointerrupters
Vishay 6n135 Optocouplers, Photodetectors & Photointerrupters
Communica 4n33 Optocouplers, Photodetectors & Photointerrupters
Communica 4n33 Optocouplers, Photodetectors & Photointerrupters
Communica 4n25 Optocouplers, Photodetectors & Photointerrupters
Communica 4n25 Optocouplers, Photodetectors & Photointerrupters
Photointerrupters: Reliable Position and Motion Sensing
A photointerrupter (also called a photointerrupter or optical switch) combines an infrared emitter and a photodetector facing each other in a single package, with a gap for a mechanical flag or object to pass through. When the object blocks the light path, the output changes state. This makes them ideal for end-of-travel detection in 3D printers, paper presence sensors in printers, encoder wheels in motors, and vending machine drop sensors. Unlike mechanical switches, they have no contact wear, no bounce, and can switch at high speeds.
Types of photointerrupters:
- Slotted (transmissive): Emitter and detector face each other across an open slot. Object blocks the beam. Common gap widths: 3mm, 5mm, 10mm.
- Reflective: Emitter and detector are side-by-side; light reflects off a nearby surface back to the detector. Used for edge detection and short-range proximity.
- Logic output vs. analog: Some include a Schmitt trigger for clean digital output; others give an analog voltage proportional to light received.
Critical specs to compare:
| Parameter | Typical Range | Selection Tip |
|---|---|---|
| Gap width | 3mm - 10mm | Match to your mechanical flag thickness plus clearance. |
| Forward current (LED) | 20mA - 60mA | Lower current extends life and reduces heat. |
| Output type | Phototransistor, logic | Logic output simplifies interfacing to MCUs. |
| Response time | 10µs - 100µs | Choose faster for high-speed encoders. |
Common SA-stocked part numbers include the Sharp GP1S094HCZ0F (5mm gap, phototransistor output), the Omron EE-SX1041 (3mm gap, logic output), and the Honeywell HOA0901 reflective sensor. For a student project, a slotted photointerrupter with a 5mm gap and a 10kΩ pull-up resistor to 5V gives a clean 0-5V signal that any microcontroller can read. For industrial use, choose a logic-output type with hysteresis to avoid false triggering from dust or vibration.
Application Example: Building a Motor Speed Encoder with a Photointerrupter
Suppose you have a DC motor with a slotted disc attached to its shaft. You mount a photointerrupter so the disc's slots pass through the gap. As the motor turns, the detector output pulses. You can calculate RPM: RPM = (pulses per second × 60) / slots per revolution. If you count 500 pulses in 10 seconds with a 20-slot disc, pulses per second = 50, so RPM = (50 × 60) / 20 = 150 RPM. Use an interrupt pin on your MCU to count pulses without missing any. Add a 100nF capacitor across the output to ground to filter noise from the motor. This setup is far more reliable than a mechanical encoder and costs a fraction of an optical encoder module. Communica stocks the discrete components you need - photointerrupters, resistors, capacitors - all under one roof. For a full list of passive components, see All Products.
Troubleshooting Common Issues
Optocoupler output stuck low: Check LED forward current. If too low, CTR drops and output may not saturate. Increase IF within limits. Also verify pull-up resistor on output - too high a value with slow rise time can cause false triggering.
Photodetector noise: Shield from ambient light, especially 50Hz mains flicker. Use a modulated IR source (e.g., 38kHz) and a demodulator like the TSOP4838. Add a bypass capacitor near the detector.
Photointerrupter false triggers: Dust or debris in the gap. Clean with compressed air. If mechanical vibration is an issue, add hysteresis in software or use a Schmitt trigger buffer.
When you need parts fast, Communica's branch network in Samrand, Pretoria, and Cape Town means you can collect same-day. For bulk orders or education accounts, request a quote and get a VAT invoice. Our team understands the pressure of a project deadline - we've been supplying SA's makers and engineers since 1977. Explore the full range, check stock, and get your design working. Visit the Communica homepage to start your search or view branch trading hours for collection.
Communica supplies semiconductors and electronic components to industries such as automotive, electrical, automation, mining, and education.
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.
























