Skip to the content
2 layers107.5 × 72 mmSOA driver, the printed circuit board in 3D

Butterfly SOA Driver

Size
107.5 × 72 mm
Copper layers
2
Thickness
1.6 mm
Parts
136
Nets
106
Pads
480
Tracks, vias
827, 164
Pours
18
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
15 Apr 2024
Updated
12 Aug 2025

Overview

SOA driver is an open-source printed circuit board by mircotoll01, from the mircotoll01/butterfly-SOA-driver repository on GitHub, published under the MIT licence. It is a 2-layer board of 107.5 × 72 mm with 136 parts on 106 nets, routed with 827 tracks and 164 vias.

It is built around the MAX1978ETM, MCP4728-E/UN and RJK0355DSP-HXY, with the SIRC18DP, BAT54 and DMP3037LSS-13-F-VB among its other parts. Its parts include 51 capacitors, 29 resistors, 10 transistors, 6 connectors and 5 ICs.

Main components

6

README

README.md

Overview

This is an experimental slave module used to drive a optical devices with a butterfly package and integrated TEC. The driver can be operated from the header connector on the side. The board was initially thought as a Laser Diode driver encased in butterfly packages, which usually integrate both the LD and a Peltier cell. Since there is no standard pinouts in butterfly-type packages, this board routes all its power outputs and inputs to a row of headers, and all butterfly pins are routed to open headers as well, so that it is possible to route different parts of the board to different butterfly pins, whose position is numbered and indicated on silkscreen.

Pinout

PINUSAGEINFO
13V3Logic power supply, mandatory for the DAC that sets the optical device voltage
2SCLI2C clock pin for the DAC
3SDAI2C data pin for the DAC
4$\overline{LDAC}$Enable DAC register write mode
5$RDY/\overline{BSY}$This pin gives information on the DAC status
6GND
7TEC_ENEnabling input for TEC
8LD_MODLT3743's PWM input, when this signal is set to low all switching is disabled. Pull high if you don't plan to use it
9CTRL_SELLT3743's switch for output voltage selection. The board has a double output capacitor topology that can be used to switch between two voltages. Useful if there is the need to keep an LD under the lasing threshold and periodically switch to a higher voltage.
10ILD_MONoptical device current monitor
11LD_ENLT3743's enable pin
12UNDRTMP_ALMSets if the temperature gets lower than a certain setpoint
13OVRTMP_ALMSets if the temperature gets higher than a certain setpoint
14ITEC_MONTEC current monitor

Usage

The board was tested with a Basys3 as a master module and the firmware is available in this repository. If a basys3 is used to operate this driver connect its output pins in the following way (declared in the bays3's constraint file):

JA1 → OVRTMP_ALM
JA2 → UNDRTMP_ALM
JA3 → LD_EN
JA4 → CTRL_SEL
JA5 → GND
JA6 → 3V3
JA8 → TEC_EN
JA9 → SDA
JA10 → SCL
JB1 → $\overline{LDAC}$

To control the board with the Basys3 simply connect these pins and connect the board to the computer via USB. The given firmware will provide a rudimental serial interface that will control the state of the driver. A simple python script can do the trick. the following one will work on linux:

text
import serial

ser = serial.Serial('/dev/ttyUSB1', baudrate=9600, bytesize=serial.EIGHTBITS, parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_TWO,timeout=10)

while True:
    packet = bytearray(input("Waiting for a command: ").encode("ascii") + b'\n')

    ser.write(packet)

    for i in packet:
        print(ser.read())
    
Update

Now this repo provides a python script that gives a console to the user to send commands and see current parameters. The requirements for the python script are the following:

  • curses
  • threading
  • pyserial
  • time
  • re

Command list

COMMANDINFO
OFFPulls LD_EN to low, disables all switching functions. Any other command will set LD_EN back to high
CCCActivates the part of the circuit that supplies costant current to the optical component
TECActivates the Thermo-Electric Controller
PWMSets PWM mode with a certain duty cycle, set CTLL voltage first to operate the optical device in this mode
SETSets the selected register of the DAC to a set value
DBLSets double output voltage mode, the low and high thresholds have to be set first

The SET command will accept the following attributes:

ATTRIBUTEINFO
CTLLModifies the lower voltage threshold CTRL_L. Note: this pin is internally clamped to 1.5V by the LT3743
CTLHModifies the higher voltage threshold CTRL_H. Note: this pin is internally clamped to 1.5V by the LT3743
TSETSets the voltage setpoint for the TEC's PID controller
MAXVSets the TEC's maximum operating voltage

Syntax

BASE COMMANDFIRST ATTRIBUTESECOND ATTRIBUTE
OFFNoneNone
CCCON/OFFNone
TECON/OFFNone
SETCTLLInteger from 0 to 1500, which corresponds to a voltage output from the DAC that goes from 0 to 1.5V. This voltage sets the inductor current which charges its corresponding output capacitor.
CTLH
TSETInteger from 0 to 1500, which corresponds to a voltage output from the DAC that goes from 0 to 1.5V.
MAXVInteger from 0 to 5000. The program scales it down to reach a voltage output from the DAC that goes from 0 to 1.250V. Since TEC voltage is set to 4*MAXV the range 0-5V range can be achieved.
PWMInteger encoded in three ciphers from 000 to 100None
DBLInteger encoded in three ciphers from 000 to 100None
Update Note

The commands are not case sensitive anymore

Examples

Turn on a SOA or an LD:

text
CCC ON
PWM 100

Enable PWM modulation

text
CCC ON
PWM XXX

Enable double threshold modulation

text
CCC ON
DBL XXX

Parts

136
QtyValueFootprintReferences
8330uCapacitor_SMD:CP_Elec_8x10.5C15, C20, C22, C25, C26, C27, C53, C55
7100nCapacitor_SMD:C_0603_1608MetricC1, C3, C32, C34, C44, C45, C46
7TestPointTestPoint:TestPoint_Pad_D1.5mmTP3, TP4, TP5, TP6, TP7, TP14, TP15
6100nCapacitor_SMD:C_0805_2012MetricC4, C14, C29, C39, C43, C49
5TestPointTestPoint:TestPoint_Pad_D1.0mmTP1, TP8, TP9, TP10, TP11
410nCapacitor_SMD:C_0603_1608MetricC2, C9, C30, C33
41kResistor_SMD:R_0603_1608MetricR4, R10, R27, R29
41uCapacitor_SMD:C_0805_2012MetricC12, C28, C38, C50
4MountingHoleMountingHole:MountingHole_3.2mm_M3_ISO7380H1, H2, H3, H4
4RJK0355DSPPackage_SO:SOP-8_3.9x4.9mm_P1.27mmQ1, Q2, Q9, Q10
4SiRC18DPPackage_SO:PowerPAK_SO-8_SingleQ3, Q4, Q5, Q6
310Resistor_SMD:R_0603_1608MetricR11, R14, R28
310kResistor_SMD:R_0603_1608MetricR17, R21, R22
310uCapacitor_SMD:C_0603_1608MetricC11, C13, C23
31uCapacitor_SMD:CP_Elec_4x5.4C18, C19, C40
34u7Capacitor_SMD:C_0603_1608MetricC16, C41, C42
3NetTie_2NetTie:NetTie-2_SMD_Pad0.5mmNT1, NT2, NT3
210uCapacitor_SMD:C_0805_2012MetricC37, C51
21uCapacitor_SMD:C_0603_1608MetricC5, C31
22.2nCapacitor_SMD:C_0603_1608MetricC6, C7
220kResistor_SMD:R_0603_1608MetricR2, R5
2220uCapacitor_SMD:CP_Elec_8x10.5C35, C36
222uCapacitor_SMD:C_0603_1608MetricC8, C10
222uInductor_SMD:L_Taiyo-Yuden_NR-80xxL1, L4
22k2Resistor_SMD:R_0603_1608MetricR9, R20
23u3Inductor_SMD:L_Taiyo-Yuden_NR-50xxL2, L3
2470nCapacitor_SMD:C_0603_1608MetricC21, C24
2806kResistor_SMD:R_0603_1608MetricR7, R8
2BAT54Diode_SMD:D_SOD-323FD1, D3
2R_SmallResistor_SMD:R_0603_1608MetricR24, R25
2SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP1, JP2
1100Capacitor_SMD:C_2220_5750Metric_Pad1.97x5.40mm_HandSolderFB2
1100kResistor_SMD:R_0603_1608MetricR18
1100k 1%Resistor_SMD:R_0603_1608MetricR23
110kPCM_Potentiometer_SMD_AKL:Potentiometer_Bourns_3224X_VerticalRV2
1110RPCM_Ferrite_SMD_AKL:Ferrite_0805_2012MetricFB1
111K 0.1%Resistor_SMD:R_0603_1608MetricR19
11MResistor_SMD:R_0603_1608MetricR16
11kPCM_Potentiometer_SMD_AKL:Potentiometer_Bourns_3224X_VerticalRV1
1200mPCM_Resistor_SMD_AKL:R_2010_5025MetricR12
122kResistor_SMD:R_0603_1608MetricR15
12N7002Package_TO_SOT_SMD:TSOT-23Q8
133nCapacitor_SMD:C_0603_1608MetricC17
140.2kResistor_SMD:R_0603_1608MetricR3
150mPCM_Resistor_SMD_AKL:R_2010_5025MetricR13
15V EXTConnector_JST:JST_XH_B2B-XH-AM_1x02_P2.50mm_VerticalJ6
15k6Resistor_SMD:R_0603_1608MetricR26
169.8kResistor_SMD:R_0603_1608MetricR1
180.6kResistor_SMD:R_0603_1608MetricR6
1BASYS3Connector_PinHeader_2.54mm:PinHeader_2x07_P2.54mm_VerticalJ1
1BUTTERFLYfootprints:Butterfly_14pins_SMDJ2
1Barrel_Jack_SwitchConnector_BarrelJack:BarrelJack_Wuerth_6941xx301002J3
1DMP3037LSS-13Package_SO:SOIC-8_3.9x4.9mm_P1.27mmQ7
1INA333xxDGKPackage_SO:VSSOP-8_3.0x3.0mm_P0.65mmU4
1LEDLED_SMD:LED_0603_1608MetricD2
1LT3743Package_SO:TSSOP-28-1EP_4.4x9.7mm_P0.65mm_EP2.85x6.7mmU2
1MAX1978Package_DFN_QFN:TQFN-48-1EP_7x7mm_P0.5mm_EP5.1x5.1mmU3
1MCP4728Package_SO:MSOP-10_3x3mm_P0.5mmU1
1MIC2101Package_DFN_QFN:HVQFN-16-1EP_3x3mm_P0.5mm_EP1.5x1.5mmU5
1SELECTORConnector_PinHeader_2.54mm:PinHeader_2x09_P2.54mm_VerticalJ4
1SELECTOR_2Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ5
1TestPointTestPoint:TestPoint_Pad_1.5x1.5mmTP2
1TestPointTestPoint:TestPoint_Pad_2.5x2.5mmTP12
1TestPointTestPoint:TestPoint_Pad_1.0x1.0mmTP13

Similar boards

  • 4 layers161 × 87 mmMainPCB, the printed circuit board in 3D

    MainPCB

    rohit-env/minideck-pcb

    so I went off and designed a whole cyberdeck pcb, it’s kinda sick, it's a full-on deck with ports, buttons, blinky stuff, and that clean hacker aesthetic.

    194 parts
  • 2 layers98 × 68 mmJellyfish tailboard, the printed circuit board in 3D

    Jellyfish tailboard

    wntrblm/jellyfish-and-starfish

    Jellyfish and Starfish are control boards designed for use with the LumenPnP. Starfish controls the base of the machine including X & Y axes and pneumatics.

    38 parts112
  • 2 layers82.5 × 127 mmPower supply, the printed circuit board in 3D

    Power supply

    nunosousa/SCART-switcher

    An old school SCART switcher. Its main purpose will be to automaticaly detect and switch the video output to the active input video source.

    59 parts
  • 2 layers100 × 44 mmPowerDeliveryBoard, the printed circuit board in 3D

    PowerDeliveryBoard

    nunosousa/TelescopeMirrorTester

    This is an application intended to provide useful tools to perform Foucault or Wire testing on reflective telescope mirrors

    33 partsMIT
  • 4 layers70.8 × 108 mmCastor and Pollux, the printed circuit board in 3D

    Castor and Pollux

    wntrblm/Castor_and_Pollux

    A Juno-inspired dual oscillator

    235 parts587
  • 2 layers191.5 × 76 mmPcb project, the printed circuit board in 3D

    Pcb project

    CrashOverride85/zc95

    4 channel EStim box inspired by the mk312bt, with Lua scripting support

    337 parts117GPL-3.0
  • 2 layers99.1 × 99.1 mmPower supply panelized, the printed circuit board in 3D

    Power supply panelized

    thebiguno/microcontroller-projects

    A home for a bunch of microcontroller projects which don't warrant their own repos.

    223 parts75

Questions

How big is the SOA driver PCB?

It measures 107.5 × 72 mm and has 2 copper layers, 1.6 mm thick.

What parts does the SOA driver use?

136 parts, built around the MAX1978ETM, MCP4728-E/UN, RJK0355DSP-HXY and SIRC18DP. 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 SOA driver KiCad files?

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

Can I use the SOA driver 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).