Send an Inquiry

To receive a quote for your project, please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Part Number*
Quantity*
Message
Submit Inventory List

Please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Upload My List
Message

onsemi H21B2

Part No.:
H21B2
Manufacturer:
onsemi
Category:
Photointerrupters - Slot Type - Transistor Output
Package:
Slotted, PC Pins
Datasheet:
AetrixH21B2.pdf
Description:
SENSOR OPT SLOT DARL PC PINS
Quantity:
Payment:
Payment
Shipping:
Shipping

Inventory:3,342

Please send an inquiry. Send us your inquiry, and we will respond immediately.

Part Number
Quantity*
Price
Name*
Company
Email*
Comments

Product details

Overview

H21B2 from Fairchild Semiconductor is a gallium arsenide infrared emitting diode coupled with a silicon photodarlington in a plastic optical interrupter housing, designed for mechanical position sensing and object detection. It delivers 1.0 mA on-state collector current at 2 mA input, features 30 V VCEO, 1.0 V VCE(SAT), and operates across –55°C to +100°C ambient range - used in industrial encoder wheels and printer paper-path detection.

For engineers reviewing the H21B2 datasheet, pinout, applications, or equivalent options, key selection criteria include its 1.0 mA IC(ON) at 2 mA IF, 45 µs turn-on time, 250 µs turn-off time, opaque housing with 0.035" aperture, and compatibility with standard through-hole PCB assembly.

Technical Context

The H21B2 functions as a reflective or transmissive optical interrupter switch: IR LED emission is optically coupled to a photodarlington detector, enabling high-current gain (β ≈ 1000) and low-output saturation voltage. Its output stage provides open-collector switching with 30 V VCEO and 40 mA IC rating.

Designed for ambient light rejection via opaque housing and precise 0.035" aperture geometry, it supports reliable edge detection in dusty or variable-light environments. Thermal derating applies above 25°C (1.67 mW/°C), and soldering must follow specified iron (240°C/5 s) and flow (260°C/10 s) limits.

Key Specifications

ParameterValue and Actual Design Meaning
IC(ON) @ IF = 2 mA1.0 mA - minimum guaranteed output current for reliable logic-level detection at low drive
VCE(SAT)1.0 V max - ensures low power loss and compatible interfacing with 3.3 V/5 V digital inputs
ton / toff45 µs / 250 µs - enables operation up to ~2 kHz switching frequency in encoder applications
VCEO30 V - supports direct connection to 24 V industrial control rails without external pull-up limiting
Operating Temp–55°C to +100°C - qualified for under-hood automotive sensors and factory-floor automation
Ambient Light RejectionOpaque housing + 0.035" aperture - eliminates false triggering in unshielded lighting conditions

Pinout & Package

Package: 4-pin DIP (dual in-line package) with 0.3" row spacing, plastic opaque housing, 0.035" optical aperture gap between emitter and detector.

Pin/TerminalCircuit RoleDesign Meaning
PIN 1AnodeForward bias input to GaAs IR LED; requires current-limiting resistor (e.g., 220 Ω @ 5 V)
PIN 2CathodeReturn path for IR LED; common reference for input drive circuit
PIN 3CollectorOpen-collector output node; connects to pull-up resistor and load (e.g., microcontroller input)
PIN 4EmitterGround reference for photodarlington output stage; tied to system GND

Key Features

FeatureDesign Value
High IC(ON) gain1.0 mA output per 2 mA LED drive - reduces required input current and driver complexity
Opaque housingEliminates need for external light shielding - simplifies mechanical integration in enclosures
0.035" apertureDefines precise optical interruption zone - enables ±0.1 mm positional resolution in encoder slits
Low VCE(SAT)≤1.0 V at 1.8 mA - minimizes voltage drop and heat generation during sustained ON state

Applications

Industrial Encoder Wheel DetectionPrinter Paper-Path Sensing

Use Scenario: Detecting slots or marks on rotating metal or plastic encoder wheels in CNC motion controllers.

IC Role / Device Role / Timing Role: Optical interrupter providing digital edge pulses synchronized to wheel rotation.

Use Value: 45 µs ton supports >2 kHz pulse rates at 3000 RPM; opaque housing prevents ambient light interference in factory lighting.

Use Scenario: Confirming paper presence and jam location in laser printer paper feed mechanisms.

IC Role / Device Role / Timing Role: Transmissive sensor detecting paper insertion/removal through fixed slot.

Use Value: 1.0 mA IC(ON) ensures clean TTL-compatible signal even with aging LED output or dust accumulation.

Automotive Throttle Position FeedbackConveyor Belt Object Counting

Use Scenario: Monitoring throttle plate angle via slotted shutter attached to shaft in engine control modules.

IC Role / Device Role / Timing Role: High-reliability optical switch operating in under-hood thermal environment.

Use Value: –55°C to +100°C rating and 30 V VCEO allow direct use on 24 V vehicle bus without level-shifting.

Use Scenario: Counting boxes or packages passing through a fixed gate on packaging line conveyors.

IC Role / Device Role / Timing Role: Edge-triggered interrupter generating count pulses per object break.

Use Value: 250 µs toff enables accurate counting up to 4 kHz - sufficient for 2 m/s belt speed with 0.5 mm object spacing.

Equivalent & Alternatives

The following parts are listed as comparable options for similar optical interrupter switch applications.

Alternative PartTechnical DifferenceApplication DifferenceSelection Advice
H21A2Lower IC(ON) (0.5 mA @ 2 mA IF) and slower toff (350 µs); same package and pinoutSuitable only where lower sensitivity or slower response acceptableSelect H21A2 only if cost reduction outweighs reduced noise margin and speed
PC817XNIP0XPhototransistor output (not photodarlington); 16 mA IC but no internal gain stage; different 4-pin DIP footprintLacks built-in amplification - requires external transistor or comparator for same signal levelChoose PC817XNIP0X only when higher speed (>10 µs) needed and system can add gain stage

Compared with H21A2 and PC817XNIP0X, the H21B2 provides optimal balance of sensitivity (1.0 mA IC(ON)), speed (45 µs ton), and ease of integration - requiring no external amplification while maintaining robust noise immunity in industrial settings.

Availability

H21B2 is available at Aetrix Electronics and suitable for industrial encoder wheel detection, printer paper-path sensing, and automotive throttle position feedback requiring stable component supply and long-term lifecycle support.

Supply support for H21B2 includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.

Manufacturer

Fairchild Semiconductor was a U.S.-based analog and power IC manufacturer acquired by ON Semiconductor in 2016; known for high-reliability optocouplers and discrete power solutions.

The H21B2 belongs to Fairchild's photodarlington optical interrupter family, engineered specifically for robust position and presence sensing in noisy, thermally demanding industrial and automotive environments.

FAQ

What is the maximum continuous forward current rating for the H21B2 emitter?

The H21B2 emitter has a maximum continuous forward current (IF) rating of 50 mA at TA = 25°C. Derating is required above 25°C per the datasheet's linear derating curve (1.67 mW/°C). This limit ensures long-term reliability of the GaAs infrared LED and prevents thermal runaway in the photodarlington pair. The H21B2 is typically operated at 2–10 mA for optimal lifetime and coupling efficiency.

Does the H21B2 require an external pull-up resistor on its output?

Yes, the H21B2 output is an open-collector photodarlington configuration (PIN 3 = Collector, PIN 4 = Emitter), so it requires an external pull-up resistor to VCC (e.g., 4.7 kΩ for 5 V logic). Without this resistor, the output cannot transition to a valid HIGH state. The H21B2 itself does not contain internal pull-up circuitry, and proper resistor selection ensures fast turn-off (toff ≤ 250 µs) and adequate noise margin in the receiving logic stage.

Can the H21B2 be used in transmissive or reflective mode?

The H21B2 is designed exclusively for transmissive optical interrupter operation - its physical housing contains a fixed 0.035" gap separating the integrated GaAs emitter and silicon photodarlington, intended for interruption by an opaque object. It is not configured for reflective sensing (no dedicated detector orientation or lens for bounce-back light), and attempting reflective use results in insufficient signal margin due to low reflected IR intensity and poor optical coupling geometry.

What is the saturation voltage VCE(SAT) specification for the H21B2, and under what conditions is it measured?

The H21B2 has a maximum VCE(SAT) of 1.0 V, measured under IF = 10 mA and IC = 1.8 mA. A second condition specifies ≤1.5 V at IF = 60 mA and IC = 50 mA. This low saturation voltage ensures minimal power dissipation in the output stage and allows direct interfacing with 3.3 V or 5 V logic families without level shifting. The value reflects the photodarlington's inherent gain and junction characteristics, not external circuit dependencies.

Is the H21B2 RoHS compliant and halogen-free?

The original H21B2 datasheet (2002) predates RoHS Directive 2002/95/EC and does not declare RoHS or halogen-free status. As a legacy Fairchild part, it was manufactured prior to mandatory compliance timelines. For new designs requiring RoHS/halogen-free assurance, engineers should consult ON Semiconductor's current cross-reference documentation or consider modern alternatives like the FODM8071, as the H21B2 may contain leaded solder and brominated flame retardants per 2002 process standards.

H21B2 Specifications

Product attributes
Attribute value
Manufacturer:
onsemi
Series:
-
Package/Case:
Slotted, PC Pins
Packaging:
Tube
Product Status:
Obsolete
Sensing Distance:
0.118" (3mm)
Sensing Method:
Through-Beam
Output Configuration:
Photodarlington
Current - DC Forward (If) (Max):
50 mA
Current - Collector (Ic) (Max):
40 mA
Voltage - Collector Emitter Breakdown (Max):
30 V
Response Time:
7µs, 45µs
Operating Temperature:
-55°C ~ 100°C
Grade:
-
Qualification:
-
Mounting Type:
Through Hole, Flange

H21B2 FAQ

1.How can I place an order for H21B2 through Aetrix?

Please submit a Request for Quotation (RFQ) for H21B2 on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.

2.Are the price and stock information for H21B2 reliable?

The price and inventory of H21B2 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for H21B2 is usually 5 days.

3.What payment methods are accepted for H21B2?

We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for H21B2 transactions.

Note: Certain payment methods may incur a processing fee.

4.How is shipping managed for H21B2?

H21B2 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.

Once your H21B2 order is processed, you will receive an email with the shipment details and tracking number.

Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.

5.How can I obtain technical support or documentation for H21B2?

For technical support, including H21B2 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your H21B2 requirements.

6.How does Aetrix verify that H21B2 is sourced from the original manufacturer or authorized distributors?

All H21B2 products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that H21B2 meets industry standards.

7.What is the process for return or replacement of H21B2?

All H21B2 units undergo pre-shipment inspection (PSI). If there is an issue with H21B2, returns or replacements are accepted under the following conditions:

1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.

2.The issue is reported within 90 days of delivery.

3.The H21B2 part is unused and in its original packaging.

Return procedure for H21B2:

1.Submit a request within 90 days.

2.Obtain a Return Material Authorization (RMA) from Aetrix.

H21B2 Tags

  • H21B2
  • H21B2 PDF
  • H21B2 Datasheet
  • H21B2 Specifications
  • H21B2 Images
  • onsemi
  • onsemi H21B2
  • Buy H21B2
  • H21B2 Price
  • H21B2 Distributor
  • H21B2 Supplier
  • H21B2 Wholesale
Related Products
GP1S094HCZ0F
GP1S094HCZ0F

SHARP/Socle Technology

GP1S092HCPIF
GP1S092HCPIF

SHARP/Socle Technology

GP1S396HCPSF
GP1S396HCPSF

SHARP/Socle Technology

LTH-301-07
LTH-301-07

Lite-On Inc.

RPI-352
RPI-352

Rohm Semiconductor

RPI-0226
RPI-0226

Rohm Semiconductor

TCPT1300X01
TCPT1300X01

Vishay Semiconductor Opto Division

EE-SX1320
EE-SX1320

Omron Electronics Inc-EMC Div

TCUT1300X01
TCUT1300X01

Vishay Semiconductor Opto Division

EE-SX1103
EE-SX1103

Omron Electronics Inc-EMC Div

H22A1
H22A1

Isocom Components 2004 LTD

EE-SX1041
EE-SX1041

Omron Electronics Inc-EMC Div

Tech Hub

Search

Search

PRODUCT

PRODUCT

PHONE

PHONE

USER

USER