lesson

Updated 6 days ago ยท 1 view
Every time your 3D printer homes an axis or a paper printer measures carriage position, it reads motion without any physical contact or mechanical wear.
This frictionless sensing relies on an optical interrupter, which converts the physical blocking of an invisible beam of light into clean digital pulses.
What physical components sit inside that tiny plastic slot to make this beam?
Anatomy of a Slotted Optocoupler
A slotted optocoupler (or optical interrupter) consists of an infrared Light Emitting Diode (IR LED) as the optical transmitter and an NPN phototransistor as the optical receiver, mounted facing each other across an open mechanical slot.
๐Interactive diagram
The IR LED operates in the near-infrared spectrum (typically 940ย nm) so that visible ambient room light does not easily trigger the sensor.
How does incoming light physically turn on a transistor without any wire connected to its base?
Light-to-Current Conversion
In 1887, Heinrich Hertz discovered the photoelectric effect, showing that incident light can free charge carriers inside materials. A phototransistor utilizes this principle: incoming infrared photons strike an exposed, reverse-biased base-collector junction, creating electron-hole pairs that generate an internal base current.
This photo-generated current gets multiplied by the transistor's current gain (ฮฒ), allowing a substantial collector current (ICโ) to flow between the collector and emitter.
The sensor's sensitivity is measured by its Current Transfer Ratio (CTR), which is the ratio of output collector current to input LED forward current: CTR=IFโICโโร100%
How do we connect this component to an electronic circuit to produce standard digital high and low voltages?