Skip to the content
PCBKitNew board
2 layers37.5 × 43.5 mmIr sensor strobe, the printed circuit board in 3D

Ir sensor strobe

bburan/ir-sensor-strobe

A small four‑channel infrared emitter/detector board. Four IR LEDs (OP140) are driven as a single strobed array; four phototransistors (OP550) act as independent detectors, each presenting an analog output to a…

Size
37.5 × 43.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
27
Nets
18
Pads
75
Tracks, vias
66, 0
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
9 Sep 2026
Updated
14 Sep 2026

Overview

Ir sensor strobe is an open-source printed circuit board by bburan, from the bburan/ir-sensor-strobe repository on GitHub. It is a 2-layer board of 37.5 × 43.5 mm with 27 parts on 18 nets, routed with 66 tracks and 0 vias.

It is built around the TLC555CP. Its parts include 12 resistors, 8 connectors, 5 capacitors, 1 IC and 1 transistor. It belongs with the sensors and measurement boards of this library.

Main components

1

README

README.md

Strobed IR Emitter / Sensor Board

A small four‑channel infrared emitter/detector board. Four IR LEDs (OP140) are driven as a single strobed array; four phototransistors (OP550) act as independent detectors, each presenting an analog output to a downstream acquisition system.

The strobe carrier can come from either an on‑board ~500 Hz oscillator or an external control signal, selected by a jumper at J1. The optoelectronics mount remotely and connect through headers. The board is all through‑hole and is intended to be hand‑soldered.

Board overview


1. Overview / Theory of Operation

The board contains three functional blocks that share a common +5 V / GND rail.

1.1 Strobed IR emitter (one switch, driving four LEDs)

text
 +5V ──┬─[68Ω R2]─▷|─ D1 ─┐
       ├─[68Ω R3]─▷|─ D2 ─┤
       ├─[68Ω R4]─▷|─ D3 ─┤   common cathode
       └─[68Ω R5]─▷|─ D4 ─┴────────────┐
                                        │ (collector)
   CTL ──┬─[1kΩ R1]── B  Q1 (2N4401)    ◄
         │                E ── GND
       [10kΩ R10]
         │
        GND

All four IR emitters (D1–D4, OP140) sit between the +5 V rail and a common node, each with its own 68 Ω series resistor (R2–R5) setting the forward current to roughly

text
I_LED ≈ (5 V − V_f − V_CE(sat)) / 68 Ω ≈ (5 − 1.5 − 0.2) / 68 ≈ 48 mA per LED

The common cathode node is pulled to ground by low‑side NPN switch Q1, driven from the CTL node through the 1 kΩ base resistor R1 (I_B ≈ 4.1 mA at 5 V). When CTL is high, Q1 saturates and all four LEDs illuminate together; when CTL is low the array is dark. Peak collector current in Q1 is the sum of the four branches, ≈ 190 mA.

R1 is deliberately left at 1 kΩ rather than a lower value. It has to be drivable both by U1 and by an external source (see §1.2); dropping it to 470 Ω would gain only ~5 % LED current while approaching the TLC555's ±10 mA output rating and putting the external drive out of reach of a typical line‑level output.

The 10 kΩ resistor R10 pulls CTL to ground so the array stays dark whenever CTL is undriven or the J1 shunt is removed.

⚠ Q1 orientation differs between board revisions. The current schematic uses an EBC pin mapping (pin 1 = emitter, pin 2 = base, pin 3 = collector), matching a standard TO‑92 2N4401 installed per the silkscreen.

Boards fabricated from the earlier netlist have pads 1 and 3 transposed, and need Q1 inserted rotated 180° (flat face opposite the silkscreen). Built the other way round, Q1 runs reverse‑active (β_R ≈ 5–20 instead of ≈ 150) and the emitters run several times dim with nothing obviously wrong. See §6 for the one‑meter check that tells the two cases apart.

1.2 Strobe source — on‑board oscillator or external (J1)

text
                 +5V
                  │
                [1k R11]
                  │
    ┌─────────────┴── DIS (7)
    │                            ┌──────┐          J1
  [14k R12]      U1  TLC555 ─────┤ Q (3)├──── 1  ○ INT CTL
    │                            └──────┘         │
    ├─────────────┬── THR (6)                   2  ○ ── CTL ── R1 → Q1 base
    │             └── TR  (2)                      │
 [0.1µ C3]                                       3  ○ EXT CTL ── external drive
    │
   GND

U1 is a TLC555 wired as a standard astable:

text
f = 1.44 / ((R11 + 2·R12) · C3) = 1.44 / ((1k + 28k) · 0.1 µF) ≈ 497 Hz
D = (R11 + R12) / (R11 + 2·R12) = 15k / 29k ≈ 51.7 %

C4 (0.01 µF) decouples the control‑voltage pin; C5 (0.1 µF) is local supply bypass. RESET (pin 4) is tied to +5 V.

J1 selects the strobe source — the silkscreen marks the two ends INT CTL and EXT CTL:

ShuntSourceUse
1–2On‑board oscillator (U1)Board self‑strobes at ~497 Hz. No host output needed.
2–3External driveHost supplies the carrier on pin 3.

With no shunt fitted, R10 holds CTL low and the array stays dark.

A CMOS TLC555 is specified rather than a bipolar NE555 deliberately: its output swings close to the rails (a bipolar 555 drops ~1.7 V, starving Q1's base) and it does not inject the large supply transients an NE555 does on each edge, which matters on a board carrying 10 kΩ‑impedance analog sensor lines.

Why ~50 % duty. For a square carrier of fixed peak current, the amplitude recovered at the fundamental is (2·I_pk/π)·sin(πD), maximised at D = 0.5. The maximum is flat, so the astable's 51.7 % costs about 0.15 % — the diode trick often used to force exactly 50 % is unnecessary here.

1.3 Photodetectors (four independent channels)

text
 +5V ──[10kΩ]──┬──────► Vout (to J2 / J6)
               │ C
              (Q_photo, OP550)
               │ E
              GND (J5)

Each phototransistor (Q2–Q5, OP550) is wired common‑emitter: collector pulled to +5 V through a 10 kΩ load resistor (R6–R9), emitter to ground. The output is taken at the collector:

  • Dark / no IR: phototransistor off → output pulled high (≈ +5 V).
  • Illuminated: phototransistor conducts → output pulled toward ground.

The response is therefore inverting. The four channels are electrically independent; only the emitter array is strobed, in common.

The detectors are not modulated — only the emitters are. Recovering the signal at the carrier frequency (e.g. quadrature demodulation at ~497 Hz) rejects ambient light, mains‑derived flicker, and the DC offset of each phototransistor, which is what makes the board usable through an AC‑coupled input.

1.4 Notes and caveats

  • Supply bypassing is on‑board. C1 (10 µF) + C2 (0.1 µF) sit across the +5 V/GND entry at J4 to absorb the ~190 mA switching transient of the emitter array. Additional bulk upstream never hurts on a long supply lead.
  • CTL has an on‑board pulldown. R10 (10 kΩ) holds CTL low when undriven or unjumpered, so the array defaults to dark. Any 3.3–5 V logic high will switch Q1.
  • The emitters cannot be gated individually. One switch drives all four. The detectors are read individually.
  • No reverse‑polarity or over‑current protection. Observe supply polarity at J4 — C1 is polarized and a reversed supply will stress it along with Q1 and the phototransistors.

2. Bill of Materials (what to order)

Quantities are per board. All parts are through‑hole. 27 placements, 75 joints.

Ref(s)QtyValue / PartPackage / FootprintNotes
R1, R1121 kΩAxial ¼ W, 7.62 mm pitch (DIN0207)Q1 base resistor; 555 charge resistor
R2, R3, R4, R5468 ΩAxial ¼ W, 7.62 mm pitchLED ballast, ~48 mA each (82 mW worst case)
R6, R7, R8, R9410 kΩAxial ¼ W, 7.62 mm pitchPhototransistor collector load
R10110 kΩAxial ¼ W, 7.62 mm pitchCTL pulldown
R12114 kΩAxial ¼ W, 7.62 mm pitch555 timing (E96 value)
C1110 µFRadial electrolytic, 2.5 mm pitch (polarized)Bulk bypass at J4; observe polarity
C2, C3, C530.1 µFCeramic disc, 2.5 mm pitchC2 supply HF bypass, C3 555 timing, C5 U1 local bypass
C410.01 µFCeramic disc, 2.5 mm pitch555 control‑voltage decoupling
U11TLC555CPDIP‑8, 7.62 mm row spacingCMOS 555 — do not substitute NE555 (see §1.2)
Q112N4401TO‑92 (inline)EBC pinout. See orientation warning in §1.1
J113‑pin header2.54 mm PinHeader 1×03Strobe source select (INT CTL / EXT CTL)
J214‑pin header2.54 mm PinHeader 1×04Detector outputs to acquisition
J315‑pin header2.54 mm PinHeader 1×05Ground bus for the Vout harness
J412‑pin header2.54 mm PinHeader 1×02Power in: pin 1 = +5 V, pin 2 = GND
J514‑pin header2.54 mm PinHeader 1×04OP550 return (emitters, all GND)
J614‑pin header2.54 mm PinHeader 1×04OP550 out (collectors)
J714‑pin header2.54 mm PinHeader 1×04OP140 in (common cathode return)
J814‑pin header2.54 mm PinHeader 1×04OP140 out (anodes)

Off‑board optoelectronics (not on the PCB, wired via the harness — see §3.2):

Ref(s)QtyPartNotes
D1, D2, D3, D44OP140 IR emitterAnode to J8, cathode to J7
Q2, Q3, Q4, Q54OP550 phototransistorCollector to J6, emitter to J5

Emitter/detector wavelength. Confirm the detector's spectral response overlaps the emitter's output for your specific parts before ordering in quantity, and consult current datasheets for lead configuration.

Sourcing note. Through‑hole ICs are being discontinued industry‑wide. If TLC555CP (DIP‑8) becomes hard to source, the SOIC‑8 TLC555CD is cheaper and better stocked, but requires a footprint change.


3. Assembly

All through‑hole, hand‑solder friendly. Nothing requires reflow. Budget roughly 20–30 minutes per board.

3.1 Soldering order

Populate lowest‑profile parts first so the board sits flat while you work:

  1. Resistors R1–R12 (axial). Bend leads to the 7.62 mm pitch, seat flat, solder, trim. Non‑polar. Double‑check value groups:
    • R1, R11 = 1 kΩ
    • R2–R5 = 68 Ω (LED ballast)
    • R6–R9 = 10 kΩ (detector load)
    • R10 = 10 kΩ (CTL pulldown)
    • R12 = 14 kΩ (555 timing) — easy to confuse with the 10 kΩ group
  2. Ceramic caps C2, C3, C4, C5 (non‑polar) and transistor Q1 (TO‑92). Check §1.1 for Q1's orientation before soldering — it depends on which board revision you have. Seat Q1 with a few mm of lead so the case is not stressed.
  3. U1 (DIP‑8). Match pin 1 to the notch/dot on the silkscreen. A socket is worth fitting if you expect to experiment with the timing components.
  4. Headers J1–J8. Solder one pin, reflow while pressing the header flush and square, then solder the rest. Pin 1 of each connector is the square/rectangular pad.
  5. Electrolytic cap C1 (10 µF, polarized). Match the + lead to the + pad; the silkscreen band indicates the negative side.

Clean flux as appropriate and inspect for bridges, especially at the connector rows.

3.2 Remote optoelectronics harness

The OP140 emitters and OP550 detectors are not mounted on the PCB. They are wired on flying leads so they can be positioned on a fixture — aimed across a nose‑poke or lick spout, for example. Four headers carry them:

HeaderSilkCarriesPin mapping
J8OP140LED anodes (one per channel, each via its own ballast)pin 1 → D4, pin 2 → D3, pin 3 → D2, pin 4 → D1
J7OP140LED cathodes — all four pins common, returning to Q1any pin; one per LED keeps the harness symmetric
J6OP550Detector collectors (the outputs)pin 1 → Q2, pin 2 → Q3, pin 3 → Q4, pin 4 → Q5
J5OP550Detector emitters — all four pins are GNDone per detector, giving each channel its own return

⚠ J8's pin order is reversed relative to the D1–D4 reference designators (pin 1 is D4, pin 4 is D1). J6 runs in order (pin 1 = Q2 … pin 4 = Q5). Check this when building the harness; getting it backwards silently swaps which physical emitter pairs with which detector channel.

Polarity out at the remote device still matters: the OP140 anode goes to J8 and its cathode to J7; the OP550 collector goes to J6 and its emitter to J5. A reversed LED will not emit; a reversed phototransistor will not conduct properly.

Giving each detector its own return conductor to J5 rather than daisy‑chaining them keeps inter‑channel ground coupling down on long harnesses.


4. PCB Fabrication (what to order)

Generate Gerbers/drill from IR sensor strobe.kicad_pcb (KiCad 8: File → Fabrication Outputs → Gerbers and Drill Files), or order directly from the KiCad project at any standard fab.

ParameterValue
Layers2 (F.Cu / B.Cu)
Board size≈ 37.5 mm × 43.5 mm
Thickness1.6 mm
MaterialFR‑4
FinishHASL or ENIG (either is fine — all THT)
Min featureDefault KiCad clearances; no fine‑pitch parts, so any vendor's economy process is adequate
SilkscreenBoth sides used (title/attribution on back)

There are no controlled‑impedance, high‑voltage, or thermal requirements.

The back silkscreen reads "Strobed IR emitter/sensor w/ internal generator", which distinguishes this revision from the earlier board — worth checking before assembly, since Q1's orientation differs between the two (§1.1).

If ordering assembled: the board is 100 % through‑hole, which is the worst‑priced category at every CM because it is hand‑soldered. At low quantity hand assembly is usually cheaper than the setup fees. If assembly cost matters at volume, converting the passives to 0805 and U1 to SOIC‑8 moves the bulk of the work onto automated SMT and leaves only the nine connectors to solder by hand.


5. Connector Pinout & Usage

ConnectorPinsSignalDirectionDescription
J4 (Power)1+5 VinBoard supply.
2GNDinSupply return.
J1 (CTL select)1INT CTL—On‑board oscillator output (U1 pin 3).
2CTL—Q1 base drive. Shunt 1–2 for internal, 2–3 for external.
3EXT CTLinExternal strobe input. Logic high → all IR LEDs on.
J2 (Vout)1–4Vout[1..4]outThe four detector outputs, same nets as J6. High ≈ dark, low ≈ illuminated.
J3 (GND)1–5GND—Ground bus; all five pins common. Return/reference for the Vout harness.
J5 (OP550 return)1–4GND—Detector emitter returns.
J6 (OP550 out)1–4Vout[1..4]—Detector collectors — the remote sensor cable.
J7 (OP140 in)1–4LED common cathode—All four pins common, returning to Q1's collector.
J8 (OP140 out)1–4LED anodes—One per channel, reverse order — see §3.2.

J2 and J6 are the same four nets: J6 faces the remote sensor harness, J2 faces the acquisition system. That is deliberate fan‑out, not a duplicate.

Typical connection

  1. Supply +5 V / GND to J4 (on‑board bypass C1/C2 handles local decoupling — see §1.4).
  2. Fit the J1 shunt: 1–2 to let the board strobe itself at ~497 Hz, or 2–3 and drive EXT CTL from a host timer/GPIO.
  3. Wire the remote optoelectronics to J5–J8 per §3.2.
  4. Read the four J2 (Vout) channels on the host, referenced to a J3 ground, and demodulate at the carrier frequency.

6. Bring‑up / Test

  1. Unpowered: verify J4 polarity. A resistance check from +5 V to GND will briefly show C1/C2 charging before settling high — it should not read a hard short. Confirm C1's polarity.

  2. Power, no J1 shunt: apply +5 V. R10 holds CTL low, so the array is dark. Each Vout on J2 should read ≈ +5 V (detectors dark, pulled up through 10 kΩ). Quiescent current is small.

  3. Oscillator: fit the J1 shunt on 1–2 and scope U1 pin 3. Expect a roughly square wave near 497 Hz at ~52 % duty, swinging close to the rails. If it sits stuck at either rail, check RESET (pin 4) is at +5 V and that R12 is the 14 kΩ part, not a stray 10 kΩ.

  4. Emitter current — the Q1 orientation check. With the strobe running, measure the DC voltage across any one 68 Ω ballast (R2–R5):

    • ≈ 1.6 V (≈ 24 mA average at 50 % duty) → Q1 is correctly oriented.
    • Well under 0.5 V → Q1 is reverse‑active. Re‑read §1.1 and flip it.

    Confirm IR emission with a phone camera (a faint pale/purple glow on many sensors) or an IR‑sensitive card.

  5. Detector response: with the emitters running, illuminate a detector (reflect off a nearby surface, or point an IR source at it). Its Vout should show the carrier, and the amplitude should collapse when the beam is blocked. Repeat per channel.

  6. End to end: demodulate each channel at the carrier frequency and confirm that breaking the beam produces a large, unambiguous amplitude drop.

Parts

27
QtyValueFootprintReferences
510kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR6, R7, R8, R9, R10
468Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2, R3, R4, R5
30.1 uFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC2, C3, C5
21kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R11
10.01 uFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC4
110 uFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC1
114kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR12
12N4401Package_TO_SOT_THT:TO-92_Inline_WideQ1
1CTL selectConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ1
1Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1Conn_01x05Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ3
1OP140 inConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ7
1OP140 outConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ8
1OP550 outConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6
1OP550 returnConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ5
1SensorsConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1TLC555CPPackage_DIP:DIP-8_W7.62mmU1

Questions

How big is the Ir sensor strobe PCB?

It measures 37.5 × 43.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Ir sensor strobe use?

27 parts, built around the TLC555CP. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Ir sensor strobe KiCad files?

From the bburan/ir-sensor-strobe repository on GitHub, at the commit this page was made from: the board is IR sensor strobe.kicad_pcb and its schematic IR sensor strobe.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ir sensor strobe design in my own project?

Its repository states no licence, so its author keeps all rights: ask bburan before reusing the design.

Similar boards

  • 2 layers172.1 × 143.5 mmAcCCS, the printed circuit board in 3D

    AcCCS

    IdahoLabResearch/AcCCS

    A collection of tools and scripts used to communicate and emulate Electric Vehicle Communication Controllers (EVCC) and Supply Equipment Communication Controllers (SECC).

    111 parts19MIT
  • 2 layers50.8 × 31.8 mmLight barrier v2 receiver, the printed circuit board in 3D

    Light barrier v2 receiver

    espena/light-barrier

    Garage door light barrier. KiCad project with schematics and PCB layout.

    25 partsGPL-3.0
  • 2 layers100 × 70 mmControl Laser C30, the printed circuit board in 3D

    Control Laser C30

    FernandoVB01/Circuito-Disparo-Laser-CO2

    Diseño Básico de Circuito para Disparo PCB CO2

    49 partsMIT
  • 2 layers124.5 × 132.1 mmPWM PCB, the printed circuit board in 3D

    PWM PCB

    GabrielJaejus/EV

    This project is the result of our efforts to find COTS hardware and existing open source software capable of communicating via HomePlug GreenPHY (HPGP) with CCS enabled vehicles and charging stations.

    74 partsMIT
  • 2 layers37 × 37 mmPourCup, the printed circuit board in 3D

    PourCup

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    17 parts915
  • 2 layers50 × 50 mmBooster link, the printed circuit board in 3D

    Booster link

    GBert/misc

    miscellaneous stuff / unsorted

    33 parts99
  • 2 layers38.1 × 25.4 mmAlternator 555 timer, the printed circuit board in 3D

    Alternator 555 timer

    alexanderenrique/smart_tbird

    Smart Thunderbird vehicle electronics — ESP32 nodes, alternator delay, display, and tooling.

    18 parts
  • 2 layers50 × 35 mmCodex Pulse-5V, the printed circuit board in 3D

    Codex Pulse-5V

    finnandreh/codex-cad-electronics-lab

    Sanitized FreeCAD and KiCad source, exports, checks and videos from Finn Andre Hotvedt's Codex-assisted CAD lab.

    16 partsMIT