PCB Design for IR Sensor System


Below is a proposed system‐level block diagram and a few targeted questions so that we can lock in your requirements before generating the detailed schematic and PCB layout.
1. System Block Diagram

Diagram


PowerSupply MCU IR_Drive IR_Receive Indicators Mechanics Vin 5 V Screw Terminal/Header “3.3 V LDO Regulator” "“STM32F103C8/CB Module (Blue/Black Pill)”" “0.1 µF Decoupling Caps” “STM32 GPIO PA0–PA9” “10× NPN Switching Transistors” "“10× Current-limit Resistors (≈39 Ω)”" “10× TSAL6200 IR LEDs” GND “10× TSSP4038 Receivers” “Vcc/Gnd” “Signal → PA10–PA19” “10× Status LEDs + Resistors” “4× M3 Mounting Holes” “IR Collimation Tube Guides”
2. Key Questions
  1. MCU Module Footprint
    • Do you prefer the Blue Pill or the Black Pill?
    • Would you like a dedicated 2×5 SWD header for on-board programming?
  2. Power Input Connector
    • Screw-terminal or pin-header? (e.g. 2.54 mm 2-pin)
    • Any preference on Polarity marking or filtering?
  3. IR LED Drive Current
    • We’ll calculate resistor ≈**(5 V – 1.35 V – 0.2 Vsat) / 0.1 A ≃ 36.5 Ω**, so typically 39 Ω (E12). Does that sound acceptable?
  4. Receiver Modules & Connectors
    • Use discrete TSSP4038 with 3-pin header per channel?
    • Bypass cap (100 nF) per receiver—okay?
  5. Scan Strategy & Status LEDs
    • Drive all ten IR LEDs in a time-multiplexed sequence or simultaneously?
    • Status LEDs: common-anode row or individual resistors per LED?
Once we clarify these, I’ll prepare:
  • The complete schematic with proper nets, parts, decoupling, level shifting or buffers
  • A two-layer PCB top‐view placement showing Tx on the bottom half, Rx on the top half, 4× corner mounts, collimator guides, and separation of power/logic/IR sections
Please let me know your choices on the above points!
Select MCU module
Choose power connector
Confirm IR resistors
Receiver modules
Multiplex strategy
No schematic yet

Talk to Flux to get started.