Skip to the content
PCBKitNew board
2 layersRing light, the printed circuit board in 3D

Ring light

Quard/MLight1

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

Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
18
Pads
44
Tracks, vias
60, 0
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
9 Oct 2024
Updated
9 Oct 2024

Overview

Ring light 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 with 23 parts on 18 nets, routed with 60 tracks and 0 vias.

Its parts include 16 diodes, 4 resistors and 1 connector. It belongs with the STM32 boards of this library.

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

23
QtyValueFootprintReferences
16LEDLED_SMD:LED_PLCC_2835D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16
40Resistor_SMD:R_0603_1608MetricR1, R2, R3, R4
2MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2
1Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1

Questions

What parts does the Ring light use?

23 parts. 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 Ring light KiCad files?

From the Quard/MLight repository on GitHub, at the commit this page was made from: the board is hardware/ring_light/ring_light.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 Ring light 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 layers100 × 35 mmControl board, the printed circuit board in 3D

    Control board

    Quard/MLight

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

    63 parts1MIT

Similar boards

  • 2 layers65 × 56 mmPi servo hat, the printed circuit board in 3D

    Pi servo hat

    earthtojake/text-to-cad

    Design physical products with AI

    23 parts26kMIT
  • 2 layers14 × 100 mmYunomi, the printed circuit board in 3D

    Yunomi

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    23 parts3kApache-2.0
  • 2 layers50.8 × 52.2 mmFuhhni, the printed circuit board in 3D

    Fuhhni

    hackclub/OnBoard

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

    23 parts915
  • 2 layers138.8 × 89.8 mmKeyboard pcb, the printed circuit board in 3D

    Keyboard pcb

    diepala/cantor

    Cantor keyboard, a 42 key diodeless split keyboard.

    23 parts756GPL-3.0
  • 2 layers32.9 × 53.3 mmGoatgdo, the printed circuit board in 3D

    Goatgdo

    Kaldek/rat-ratgdo

    Open source schematics for ratgdo PCB

    23 parts511MIT
  • 2 layers35.5 × 50 mmTobo, the printed circuit board in 3D

    Tobo

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    23 parts463
  • 2 layers19 × 19 mmKeybit, the printed circuit board in 3D

    Keybit

    notaroomba/keybytes

    A truly modular keyboard

    23 parts444
  • 2 layers88.5 × 28 mmExpBreakout, the printed circuit board in 3D

    ExpBreakout

    Duet3D/Duet-2-Hardware

    The KiCAD source for the Duet 3d printer controller see www.duet3d.com

    23 parts258