100%
mlight control_board view
Description

Imported from GitHub: Quard/MLight · commit 4005fe7 · license MIT

Description

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

README

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
Comments
Sign in to comment

No comments yet. Be the first to ask about this board.