Skip to the content
PCBKitNew board
2 layers76.2 × 62.9 mmController board, the printed circuit board in 3D

Controller board

kercle/microscopy

A small microscope automation project with a nice UI and processing capabilities (for now in particular focus stacking).

Size
76.2 × 62.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
41
Pads
106
Tracks, vias
34, 76
Pours
10
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
31 Oct 2025
Updated
22 Jan 2026

Overview

Controller board is an open-source printed circuit board by kercle, from the kercle/microscopy repository on GitHub. It is a 2-layer board of 76.2 × 62.9 mm with 18 parts on 41 nets, routed with 34 tracks and 76 vias.

It is built around the ESP32-WROOM-32U, XL4015E1 and AMS1117, with the 330UF 25V 8*12 among its other parts. Its parts include 6 capacitors, 3 ICs, 3 connectors, 2 resistors and 1 diode. It belongs with the ESP32 boards of this library.

Main components

4

README

README.md

Microscope automation project

This is a small passion project of mine in which I implement a few automations to my Bresser Researcher Trino 40-1000x. A few design-goals are:

  • Minimally intrusive in the sense that the changes to the microscope should be revertible as much as possible.
  • The microscope should still be fully usable in the original (analogue) way.

Gallery

A few composite images obtained by focus stacking:

DaphniaSpider miteUnknown mite
Notes: The sample was treated with bleach in order to immobilize organisms. Brownian motion was prevented by stabilizing the sample in Xanthan gum.Notes: The sample was frozen to immobilize the specimen. It was taken from one of my house plants.Notes: The sample was collected from the soil in one of my house plants. It was immobilized by freezing. Possibly of the order Mesostigmata.

Hardware

Electronics

The control electronics is split between two controllers. The low-level control is handled by an ESP32 microcontroller, with the stepping motors being driven by TMC2208 stepper drivers.

The high-level control is handled by a Raspberry Pi 4, however the housing also allows for the installation of a Jetson Nano device instead of the Raspberry Pi.

The Raspberry Pi and ESP32 communicate over a serial connection (UART) using a custom protocol.

Software

User interface and backend

The user interface is a web application served by the Raspberry Pi. The frontend is built using Svelte, Tailwind CSS and DaisyUI. The backend is a Rust application using the Axum framework.

Firmware

The ESP32 firmware is written in Rust using the esp-idf framework and embassy.

Roadmap / Ideas for future work

  • Motorized z-axis with endstops for focusing
  • Web interface for controlling the microscope
  • Live view from camera with controls for exposure, gain, white balance, etc.
  • Z-stack acquisition
  • Build custom focus knob which interacts with the microcontroller to allow for manual focusing when not using the web interface.
  • Motorized stage for x/y movement
  • Build custom stage knobs which interact with the microcontroller to allow for manual x/y
  • Objective turret slot detection
  • Substage illumination control
  • Incident illumination

Parts

18
QtyValueFootprintReferences
3105Capacitor_SMD:C_0805_2012MetricC1, C2, CC1
210uFCapacitor_SMD:C_0805_2012MetricC3, C4
110KResistor_SMD:R_0805_2012MetricR2
1220uF/50VCapacitor_SMD:CP_Elec_10x10CIN1
122uFCapacitor_SMD:C_0805_2012MetricC6
13.3KResistor_SMD:R_0805_2012MetricR1
1330uF/25VCapacitor_SMD:CP_Elec_10x10COUT1
147uH/5AInductor_SMD:L_Chilisin_BMRF00131360L1
1AMS1117Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1B540Diode_SMD:D_SMAD1
1ESP32-WROOM-32URF_Module:ESP32-WROOM-32UU3
1FANConnector_JST:JST_VH_B2P-VH-FB-B_1x02_P3.96mm_VerticalJ3
1JINTerminalBlock:TerminalBlock_Altech_AK300-2_P5.00mmJ1
1SBCConnector_JST:JST_VH_B2P-VH-FB-B_1x02_P3.96mm_VerticalJ2
1XL4015Package_TO_SOT_SMD:TO-263-5_TabPin3U1

Questions

How big is the Controller board PCB?

It measures 76.2 × 62.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Controller board use?

18 parts, built around the ESP32-WROOM-32U, XL4015E1, AMS1117 and 330UF 25V 8*12. 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 Controller board KiCad files?

From the kercle/microscopy repository on GitHub, at the commit this page was made from: the board is hardware/controller-board/controller-board.kicad_pcb and its schematic hardware/controller-board/controller-board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Controller board design in my own project?

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

Similar boards

  • 2 layers171.1 × 185.1 mmMpuled, the printed circuit board in 3D

    Mpuled

    abbounassima2/STM32-PLC-Runtime-Engine-and-PCB

    An STM32F407-based PLC runtime engine developed in Embedded C, together with a custom PLC controller PCB and a Renode-based simulation environment.

    189 parts
  • 2 layers99.9 × 99.9 mmSpider Robot, the printed circuit board in 3D

    Spider Robot

    duvohuu/Spider_Robot

    Mechatronics System Design

    62 parts
  • 2 layers121.5 × 92.5 mm50W 24-5V Buck OMER 260720V1, the printed circuit board in 3D

    50W 24-5V Buck OMER 260720V1

    yukselturkomer/50w-buck-converter-stm32

    Bu proje, STM32 mikrodenetleyici kullanılarak geliştirilmiş 50W kapasiteli bir Buck (Düşürücü) Konvertör sistemini ve bu sistemin kontrolünü sağlayan Nextion HMI (İnsan-Makine Arayüzü) tasarımını içermektedir.

    89 parts
  • 2 layers100 × 100 mmTIYCS battery, the printed circuit board in 3D

    TIYCS battery

    jildertviet/TIYCS

    This Is Your Captain Speaking

    27 parts
  • 4 layers67 × 98 mmSJ-201-R6, the printed circuit board in 3D

    SJ-201-R6

    MycroftAI/hardware-mycroft-mark-II

    Mycroft's Mark II Rpi mechanical, electrical and industrial designs

    235 parts113
  • 2 layers75.5 × 77 mmBoost converter uc3843, the printed circuit board in 3D

    Boost converter uc3843

    LuisFreitas18/Embedded_Complementary_Projects

    All projects related to Microcontrollers and Such that don't qualify as a Complex or Complete Project. Learning and/or Tool oriented Purposes

    35 parts1
  • 2 layers76 × 45.2 mmMasjid2, the printed circuit board in 3D

    Masjid2

    Mahmoud1205/AthanLamp

    Hardware, software, and devlog of the Athan Lamp project.

    60 partsMIT