Skip to the content
2 layers35 × 82 mmIlluminationDriver, the printed circuit board in 3D

Teensy 4.0-based controller for precise camera triggering and synchronized dual-channel LED illumination, featuring programmable timing, camera feedback monitoring.

Size
35 × 82 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
28
Pads
73
Tracks, vias
36, 7
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
8 Oct 2026
Updated
9 Oct 2026

Overview

IlluminationDriver is an open-source printed circuit board by NTU-NOBIC, from the NTU-NOBIC/Timed_Illumination_Controller repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 35 × 82 mm with 14 parts on 28 nets, routed with 36 tracks and 7 vias.

It is built around the DF51K-2P-2DSA(800) and DF51KB-2P-2DS(800). Its parts include 6 connectors, 3 resistors and 1 IC.

Main components

2

README

README.md

Timed Illumination Controller

Firmware for an Arduino Teensy 4.0 that coordinates two LED-control outputs with camera acquisition. In timed acquisition, the Teensy generates an external camera trigger and monitors the camera's trigger-ready feedback. A second mode uses camera feedback to control LED illumination during externally controlled continuous streaming.

Features

  • Timed acquisition: programmable camera trigger intervals (t1–t4) and LED lead/lag intervals (t5–t8).
  • Streaming mode: LED control based on the camera feedback input and configurable ts interval.
  • Two active-HIGH channels: Channel A and Channel B, with firmware-enforced mutual exclusion.
  • Camera monitoring: frame-event counting from the camera feedback signal (mode-dependent validation).
  • Serial interface: status, timing, acquisition, streaming, manual LED control, and configuration commands at 115200 baud.
  • EEPROM presets: save/load timing, cycle count, and selected channel in slots 0–10; slot 0 is read at startup.

Firmware and connections

Main sketch: Timed_Cam_Trig_LED_Control.ino

Teensy 4.0 pinFirmware nameDirectionPurpose
9CAM_TRIG_OUTOutputActive-HIGH camera external trigger
10CAM_TRIG_READYInput (INPUT_PULLUP)Camera feedback
13 (LED_BUILTIN)GATE_AOutputActive-HIGH Channel A gate (also onboard LED)
14GATE_BOutputActive-HIGH Channel B gate

Important: Confirm interface voltage levels, signal polarity, camera feedback configuration, and external LED driver requirements before connecting hardware. The sketch's naming of its camera and signals does not establish compatibility with every camera configuration. Note: Teensy 4.0 GPIO input and output logic voltage is 3.3V.

Quick start

  1. Open Timed_Cam_Trig_LED_Control.ino in an Arduino environment configured for Teensy 4.0.
  2. Compile and upload the sketch to the board.
  3. Open a serial terminal at 115200 baud and send commands terminated by a newline.
  4. Send help to display the implemented commands or ? to view status and timing settings.
  5. For timed acquisition, configure the camera for the expected external-trigger/ready-signal operation, then issue r. Enter q followed by Enter to abort the timed run.
  6. For streaming mode, ensure the camera feedback input is configured for the exposure signal expected by the firmware, then issue stm on; use stm off to disable the mode.

See USER_GUIDE.md under firmware folder for full commands, parameter definitions, default values, operating procedures, and EEPROM details.

Documentation scope

This README describes functionality present in the supplied .ino sketch. Channel names A/B are firmware labels; the sketch does not assign LED colours or fluorescence filter bands. Camera operation and image saving must be verified separately on the actual system.

Disclaimer and licensing

The firmware is provided without any assurance of suitability or safe operation with a particular hardware configuration. Review and test signal timing and electrical interfaces before use.

License: No license grant has been inferred from the .ino source. Add an appropriate LICENSE file only after confirming the intended licensing terms with the code's rights holders.

Parts

14
QtyValueFootprintReferences
3MountingHoleMountingHole:MountingHole_3.2mm_M3_DIN965H1, H2, H3
210kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R2
2DF51K-2P-2DSA(800)Custom_Library:DF51K-2P-2DSAJ4, J5
2DF51KB-2P-2DS(800)Custom_Library:DF51K-2P-2DSJ8, J9
1100kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3
1801-87-010-10-001101Connector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ2
1801-87-012-10-001101Connector_PinHeader_2.54mm:PinHeader_1x12_P2.54mm_VerticalJ3
1DEV-15583 (Sparkfun Teensy 4.0)Custom_Library:Teensy4p0_NoSMTs_ReduxU1
1LOGOCustom_Library:Mod6_NOBIC_Logo_10x10mmG***

Similar boards

  • 2 layers116.8 × 30 mmType d, the printed circuit board in 3D

    Type d

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    14 parts3kApache-2.0
  • 2 layers32 × 22 mmDiff driver, the printed circuit board in 3D

    Diff driver

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    14 parts990GPL-3.0
  • 2 layers34 × 45 mm2032Charger, the printed circuit board in 3D

    2032Charger

    hackclub/OnBoard

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

    14 parts915
  • 2 layers34 × 109.9 mmTdisplay s3, the printed circuit board in 3D

    Tdisplay s3

    landonr/homeThing

    Wifi Smart Home Remotes that run on ESPHome

    14 parts551GPL-3.0
  • 2 layers45.3 × 42.7 mmMainPcb, the printed circuit board in 3D

    MainPcb

    adamb314/ServoProject

    Getting the most out of your hobby servo

    14 parts545
  • 2 layers42.5 × 28.8 mmC5VRX JACK DIY, the printed circuit board in 3D

    C5VRX JACK DIY

    Twotoz/C5VRX

    Ultra-minimal, zero-CPU 5.8 GHz analog FPV video receiver using ESP32-C5 Wi-Fi 6 PHY MODEM_DIAG, BitScrambler WBFM demodulation & resistor DAC CVBS

    14 parts515GPL-3.0
  • 2 layers62 × 24 mmMai button, the printed circuit board in 3D

    Mai button

    whowechina/mai_pico

    Pico controller for Maimai

    14 parts475

Questions

How big is the IlluminationDriver PCB?

It measures 35 × 82 mm and has 2 copper layers, 1.6 mm thick.

What parts does the IlluminationDriver use?

14 parts, built around the DF51K-2P-2DSA(800) and DF51KB-2P-2DS(800). 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 IlluminationDriver KiCad files?

From the NTU-NOBIC/Timed_Illumination_Controller repository on GitHub, at the commit this page was made from: the board is PCB/IlluminationDriver.kicad_pcb and its schematic PCB/IlluminationDriver.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the IlluminationDriver design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).