Skip to the content
PCBKitNew board
4 layers74 × 49.5 mmLight tracker dfm, the printed circuit board in 3D

Solo dual-axis light tracker on ATmega328P — MOSFET H-bridges, fixed-point Kalman, UART telemetry, 4-layer KiCad PCB.

Size
74 × 49.5 mm
Copper layers
4
Thickness
1.6 mm
Parts
54
Nets
45
Pads
167
Tracks, vias
214, 25
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
28 Jul 2026
Updated
28 Oct 2026

Overview

Light tracker dfm is an open-source printed circuit board by nmahadevan12, from the nmahadevan12/Light-Tracker repository on GitHub. It is a 4-layer board of 74 × 49.5 mm with 54 parts on 45 nets, routed with 214 tracks and 25 vias.

It is built around the ATMEGA328P-PU, OP495GSZ and IRF9540NS, with the RFP40N10LE among its other parts. Its parts include 13 resistors, 8 diodes, 8 transistors, 6 connectors and 5 capacitors. It belongs with the interfaces and adapters boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

4

README

README.md

2-Axis Light Tracker

A battery-powered dual-axis light tracker on an ATmega328P. Bare-metal C drives DC motors through MOSFET H-bridges, with LDR sensing, fixed-point Kalman filtering, Hall-effect tilt limits, and UART telemetry to a Python logger.

Demo

YouTube short

Features

  • Bare-metal dual-axis drive: ATmega328P C firmware driving motors with MOSFET H-bridges.
  • Tilt safety: LDR array with Hall-effect and potentiometer feedback to keep tilt within safe limits.
  • Fixed-point Kalman + UART: cuts ADC noise from 3 LSBs to < 1 LSB without an FPU; streams results over a register-level 115.2 kbps UART driver.
  • 4-layer KiCad PCB: separate power, ground, and signal layers; widened power traces to reduce voltage drop.

Repo layout

text
.
├── ATmega328P Datasheet/
├── Images/
├── Kicad Files/          # Schematics + PCB
├── src/
│   ├── IoT Logging/      # Python UART logger (folder name is historical)
│   └── Source Code/      # AVR C firmware
└── README.md

More detail

Design notes, gallery, and interactive PCB: nmahadevan12.github.io/projects/light-tracker/

Parts

54
QtyValueFootprintReferences
11TestPointTestPoint:TestPoint_Pad_1.0x1.0mmTP1, TP2, TP3, TP4, TP5, TP7, TP8, TP9, TP10, TP11, TP12
81N4007Diode_THT:D_DO-41_SOD81_P2.54mm_Vertical_AnodeUpD3, D4, D5, D6, D7, D8, D9, D10
510k 1%Resistor_SMD:R_0805_2012MetricR4, R6, R8, R9, R20
41k 1%Resistor_SMD:R_0805_2012MetricR15, R16, R18, R19
440k 1%Resistor_SMD:R_0805_2012MetricR5, R7, R10, R21
4IRF9540NPackage_TO_SOT_THT:TO-220-3_VerticalQ3, Q4, Q7, Q9
4RFP40N10Package_TO_SOT_THT:TO-220-3_VerticalQ5, Q6, Q8, Q10
3100n 1%Capacitor_SMD:C_0805_2012MetricC1, C2, C5
212p 1%Capacitor_SMD:C_0805_2012MetricC3, C4
19.216MCrystal:Crystal_SMD_5032-2Pin_5.0x3.2mmY1
1ATmega328P-PPackage_DIP:DIP-28_W7.62mm_LongPadsU1
1BATTERIES + MOTOR OUTPUTSTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-7-5.08_1x07_P5.08mm_HorizontalJ3
1CAPACITIVE SENSORConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ7
1FTDI CABLEConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ6
1HALL SCREW TERMINALConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ2
1ISPConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ8
1LDR + POTConnector_PinSocket_2.54mm:PinSocket_1x09_P2.54mm_VerticalJ1
1OP495GSPackage_SO:SOIC-16W_7.5x10.3mm_P1.27mmU3

Questions

How big is the Light tracker dfm PCB?

It measures 74 × 49.5 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Light tracker dfm use?

54 parts, built around the ATMEGA328P-PU, OP495GSZ, IRF9540NS and RFP40N10LE. 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 Light tracker dfm KiCad files?

From the nmahadevan12/Light-Tracker repository on GitHub, at the commit this page was made from: the board is Kicad Files/light tracker dfm/light tracker dfm.kicad_pcb and its schematic Kicad Files/light tracker dfm/cp6-raw_Sensor/cp6-raw_Sensor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Light tracker dfm design in my own project?

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

Similar boards

  • 2 layers55 × 485 mmFg lampe, the printed circuit board in 3D

    Fg lampe

    devtal-de/fg_lampe

    181 parts1
  • 2 layers96.8 × 97 mmPsoc5power, the printed circuit board in 3D

    Psoc5power

    profdc9/DRSSTC-PCB-Pack

    A pack of PCBs for a dual resonant solid state tesla coil setup. Pretty much everything you need.

    133 parts59
  • 2 layersCastVolumeKnob, the printed circuit board in 3D

    CastVolumeKnob

    WebmasterTD/CastVolumeKnob

    Hardware Volume Knob for Google Cast devices

    18 parts25
  • 2 layers102 × 72 mmHF PA Combined, the printed circuit board in 3D

    HF PA Combined

    kholia/HF-PA-v6

    RF "Lego" blocks. Quite-Linear HF broadband RF amplifier experiments for higher bands.

    40 parts11
  • 4 layers98.5 × 82 mmPico2lvds, the printed circuit board in 3D

    Pico2lvds

    ceteras/PicoLVDS

    Tested with B089AW01-V.0 and HSD089IFW1-A00-V1.0 on a breadboard. I'm sure it will work with other displays from old netbooks.

    43 parts7GPL-3.0
  • 2 layers99.7 × 80 mm6502fast3io, the printed circuit board in 3D

    6502fast3io

    gfoot/fastpdip6502

    Fast PDIP-only 6502-based homebrew computer - code and hardware design sources

    56 parts7Unlicense
  • 2 layers50.8 × 38.1 mmPowercontrol, the printed circuit board in 3D

    Powercontrol

    gfoot/powercontrolcircuit

    A soft power supply circuit with tunable overcurrent cutoff

    19 parts6Unlicense
  • 4 layers92 × 95 mmESP32-CAN, the printed circuit board in 3D

    ESP32-CAN

    Eric-2012/ESP32-CAN

    251 parts5