Skip to the content
PCBKitNew board
2 layers100 × 35 mmControl board, the printed circuit board in 3D

Control board

Quard/MLight1

MLight is a compact, all-in-one control board designed to manage auxiliary tools for soldering equipment

Size
100 × 35 mm
Copper layers
2
Thickness
1.6 mm
Parts
63
Nets
44
Pads
185
Tracks, vias
332, 59
Pours
5
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
9 Oct 2024
Updated
9 Oct 2024

Overview

Control board is an open-source printed circuit board by Quard, from the Quard/MLight repository on GitHub, published under the MIT licence. It is a 2-layer board of 100 × 35 mm with 63 parts on 44 nets, routed with 332 tracks and 59 vias.

It is built around the AP63205WU, FZT1049ATA and M24C02-WMN6, with the B340, AO3400A and TC2030-IDC-NL among its other parts. Its parts include 16 resistors, 12 capacitors, 9 connectors, 5 ICs and 4 diodes. It belongs with the STM32 boards of this library.

Main components

6

README

README.md

MLight

MLight Control Board

MLight is a compact, all-in-one control board designed to manage auxiliary tools for soldering equipment. It was primarily developed for an affordable Chinese digital microscope, aiming to reduce the number of power cords and to integrate lighting for the microscope. Additionally, it can control the fan of a basic DIY fume extractor, built using a PC fan and an aquarium coal filter, and provide power to a small external HDMI display for the microscope.

Features of the Control Board:

  • Capable of being powered by an external DC 12V source or a QuickChange USB source.
  • Bypasses power to the microscope only when the voltage is at 12V.
  • Custom ring light with PWM (Pulse Width Modulation) brightness control.
  • The PWM for the light is configurable at frequencies of 1 kHz, 4 kHz, 8 kHz, or 16 kHz to prevent image distortion from the microscope.
  • Provides a 12V output for PC fan with PWM speed control support for the DIY fume extractor.
  • Features a USB output of 1.5A for powering an external HDMI display.
  • Includes an OLED display and encoder for easy control.
  • Equipped with external EEPROM memory for storing and restoring settings.

A brief demonstration video of the system in operation.

Controls

ActionDescription
Encoder short pressSwitch between fan and light
Encoder rotateChange the value of current selected element
Encoder long pressDisable/enable fan and light
Encoder rotate pressedChange the light PWM frequency

Project parts

Firmware

The firmware folder includes an STM32CubeIDE CMake project, with all source code developed using CMSIS.

Control Board

The KiCad project is located in the hardware/control_board directory. It includes a BOM file in the project root and an interactive BOM (iBOM) in the bom folder to facilitate assembly.

Ring Light

The same structure applies to the Ring Light project, with its root located in the hardware/ring_light directory. It also contains a BOM file in the project root and an interactive BOM (iBOM) in the bom folder to assist with assembly.

3d

The 3d folder contains STL files and Fusion 360 source files for the brackets used to mount the control board and ring light onto a microscope stand.

Display elements

MLight Control board - display elements

Components block diagram

MLight components block diagram

BOM

Control Board

ReferenceValueQtyManufacturer Part NumberLCSCMOUSER
C1,C4,C10100nF3CL10B104KB8NNNCC1591187-CL10B104KB8NNNC
C24.7uF1CL21A475KAQNNNEC1779187-CL21A475KAQNNNE
C3,C7,C810uF3CL21A106KOQNNNEC1713187-CL21A106KOQNNNE
C5,C6,C910nF3CL10B103JB8NNNCC7248187-CL10B103JB8NNNC
C11,C1222uF2CL31A226KAHNNNEC12891187-CL31A226KAHNNNE
D1,D2B3402B340A-13-FC85098621-B340A-F
D3LED1150060BS75000C84266710-150060BS75000
D4LED1150060RS75000C84263710-150060RS75000
IC1FZT1049ATA1FZT1049ATAC73835522-FZT1049ATA
J1USB_A_Stacked167298-4090C908455538-67298-4090
J3Light1C158012
J4Fan147053-3000C19795120538-47053-3000
J5OLED SSD13061
J7USB_C_Receptacle_USB2.01GSB1C211110DS1HRC709357523-GSB1C211110DS1HR
J8Barrel_Jack1KLDHCX-0202-BP-LTC720558806-KLDHCX0202BPLT
J9Conn_01x021C158012
L14.7uH1IHLP2525CZER4R7M01C55396170-IHLP2525CZER4R7M1
Q1AO3400A1AO3400AC20917942-IRLML6344TRPBF
R1,R2,R3,R4,R5,R6,R8,R10,R1510k9RC0603FR-0710KLC98220603-RC0603FR-0710KL
R7180k1RC0603FR-07180KLC123419603-RC0603FR-07180KL
R9,R112.2k2RC0603FR-072K2LC114662603-RC0603FR-072K2L
R1233k1RC0603FR-0733KLC126359603-RC0603FR-0733KL
R13,R161k2RC0603FR-071KLC22548603-RC0603FR-071KL
R141.8k1RC0603FR-071K8LC185354603-RC0603FR-071K8L
SW4RotaryEncoder_Switch1C18164805652-PEC12R-4220F-S24PEC12R-4220F-S0024
U1STM32G030F6Px1STM32G030F6P6TRC529330511-STM32G030F6P6TR
U2AP63205WU1AP63205WU-7C2071056621-AP63205WU-7
U3M24C02-WMN1M24C02-RMN6TPC83836511-M24C02-RMN6TP
U4NCP1117-3.3_SOT2231NCP1117ST33T3GC26537863-NCP1117ST33T3G

Ring Light

ReferenceValueQtyManufacturer Part NumberLCSCMOUSER
D1,D2,D3,D4,D5,D6,D7,D8,D9,D10,D11,D12,D13,D14,D15,D16LED16JE2835AWT-R-H40EA0000-N0000001C5220767941-JE2835AWTH40EAN
R1,R2,R3,R404RC0603JR-070RLC95177603-RC0603JR-070RL

Parts

63
QtyValueFootprintReferences
910kResistor_SMD:R_0603_1608MetricR1, R2, R3, R4, R5, R6, R8, R10, R15
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
3100nFCapacitor_SMD:C_0603_1608MetricC1, C4, C10
310nFCapacitor_SMD:C_0603_1608MetricC5, C6, C9
310uFCapacitor_SMD:C_0805_2012MetricC3, C7, C8
21kResistor_SMD:R_0603_1608MetricR13, R16
22.2kResistor_SMD:R_0603_1608MetricR9, R11
222uFCapacitor_SMD:C_1206_3216MetricC11, C12
2B340Diode_SMD:D_SMAD1, D2
2LEDLED_SMD:LED_0603_1608MetricD3, D4
11.8kResistor_SMD:R_0603_1608MetricR14
1180kResistor_SMD:R_0603_1608MetricR7
133kResistor_SMD:R_0603_1608MetricR12
14.7uFCapacitor_SMD:C_0805_2012MetricC2
14.7uHInductor_SMD:L_Vishay_IHLP-2525L1
1AO3400APackage_TO_SOT_SMD:SOT-23Q1
1AP63205WUPackage_TO_SOT_SMD:TSOT-23-6U2
1Barrel_JackConnector_BarrelJack:BarrelJack_GCT_DCJ200-10-A_HorizontalJ8
1Conn_01x02Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ9
1Conn_01x05Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ2
1FZT1049ATAFZT1049ATA:SOT230P700X180-4NIC1
1FanConnector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ4
1G***kibuzzard-64DFCA22kibuzzard-64DFCA22
1G***kibuzzard-64E1B8AFkibuzzard-64E1B8AF
1G***kibuzzard-65854A39kibuzzard-65854A39
1G***kibuzzard-6585337Fkibuzzard-6585337F
1G***kibuzzard-65855076kibuzzard-65855076
1G***kibuzzard-64E1B90Ckibuzzard-64E1B90C
1G***kibuzzard-65853391kibuzzard-65853391
1G***kibuzzard-64E666E4kibuzzard-64E666E4
1G***kibuzzard-6585330Akibuzzard-6585330A
1LightConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ3
1M24C02-WMNPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU3
1NCP1117-3.3_SOT223Package_TO_SOT_SMD:SOT-223-3_TabPin2U4
1OLED SSD1306Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ5
1RotaryEncoder_SwitchRotary_Encoder:RotaryEncoder_Bourns_Vertical_PEC12R-3x17F-SxxxxSW4
1STM32G030F6PxPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU1
1TC2030-IDCTag-Connect:Tag-Connect_TC2030-IDC-NL_2x03_P1.27mm_VerticalJ6
1USB_A_StackedConnector_USB:USB_A_CUI_UJ2-ADH-TH_Horizontal_StackedJ1
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_Palconn_UTC16-GJ7

The 62 most common of 63 parts.

Questions

How big is the Control board PCB?

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

What parts does the Control board use?

63 parts, built around the AP63205WU, FZT1049ATA, M24C02-WMN6 and B340. 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 Control board KiCad files?

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

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

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

More from Quard/MLight

1
  • 2 layersRing light, the printed circuit board in 3D

    Ring light

    Quard/MLight

    MLight is a compact, all-in-one control board designed to manage auxiliary tools for soldering equipment

    23 parts1MIT

Similar boards

  • 4 layers96 × 172 mmServo cpu, the printed circuit board in 3D

    Servo cpu

    wiciu15/servo2

    Servo inverter for 3-phase AC motor with/out encoder feedback

    167 parts29
  • 4 layers80 × 99 mmSpool, the printed circuit board in 3D

    Spool

    TheCacophonyProject/spool-pcb

    161 partsCERN-OHL-W-2.0
  • 4 layers109 × 100.5 mmHw universal logic, the printed circuit board in 3D

    Hw universal logic

    xtech/hw-module-logic

    Logic board for universal application

    119 partsCC-BY-4.0
  • 2 layersBias controller, the printed circuit board in 3D

    Bias controller

    loxodes/vna

    Under development open hardware microwave vector network analyzer

    203 parts205
  • 4 layers59 × 59 mmFlight controller, the printed circuit board in 3D

    Flight controller

    bachaaymene/stm32-flight-controller

    Custom 4-layer flight controller PCB for an F450 quadcopter. STM32F405, LSM6DSO IMU, LPS22HB barometer, USB-C. Designed in KiCad.

    65 parts
  • 4 layers81.2 × 100.2 mmUnderglow3, the printed circuit board in 3D

    Underglow3

    ConnorRigby/nerves_system_underglow3

    hardware support for underglow3

    242 parts6Apache-2.0
  • 2 layers60 × 40 mmCanary, the printed circuit board in 3D

    Canary

    offgridevices/offgrid-hardware

    Open hardware from OffGrid Devices. One folder per board. CERN-OHL-S.

    52 partsCERN-OHL-S-2.0
  • 4 layers55 × 100.5 mmOSS Radio Hardware Design, the printed circuit board in 3D

    OSS Radio Hardware Design

    Arkos-Engineering/HT-15_hardware

    We can split this out into separate repos later, right now its very convenient to have everything here.

    256 parts72