EF-S-Adapter
Jana-Marie·EF-S-Adapter·hardware/v1.1/lensmount-v1.1.kicad_pcb
About the EF-S-Adapter PCB
EF-S-Adapter is an open source STM32 PCB design by Jana-Marie, published on GitHub under the MIT license. It is a 2-layer board measuring 65 × 65 mm, with 38 components from 20 distinct parts.
Its main chip is the STM32F042F6Px, from the STM32 family. Other key parts include the XC6206PxxxMR and USBLC6-4. By type, the board carries 13 resistors, 10 connectors, 7 capacitors, 5 transistors and 3 ICs.
From the project
Hard- and Firmware to control different EF and EF-S lenses
Hard- and Firmware to control EF/EF-S lenses. The protocol used has grown since the first generation of EF(-S) lenses hence is a bit extensive with different layers of compatibility. On the physical layer a SPI like interface is used with I2S alike clock-stretching.
Please use at your own risk, the hard- and firmware are experimental and can damage your lens!

Main components on the EF-S-Adapter
EF-S-Adapter bill of materials (BOM)
38 components, 20 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32F042F6Px | TSSOP-20_4.4x6.5mm_P0.65mm | U1 |
| 1 | XC6206PxxxMR | SOT-23 | U2 |
| 1 | USBLC6-4 | SOT-23-6 | U3 |
| 3 | 2N7002 | SOT-23 | Q1, Q2, Q3 |
| 2 | AO3401A | SOT-23 | Q4, Q5 |
| 1 | VBAT | PH-MVF-5365 | J1 |
| 1 | DETECT | PH-MVF-5365 | J2 |
| 1 | AGND | PH-MVF-5365 | J3 |
| 1 | VDD | PH-MVF-5365 | J4 |
| 1 | DOUT | PH-MVF-5365 | J5 |
| 1 | DIN | PH-MVF-5365 | J6 |
| 1 | DCLK | PH-MVF-5365 | J7 |
| 1 | DGND | PH-MVF-5365 | J8 |
| 1 | USB | USB-C 16Pin | J9 |
| 1 | Picoblade DNP | Molex_PicoBlade_53398-0471_1x04-1MP_P1.25mm_Vertical | J10 |
| 3 | 100n | C_0402 | C1, C2, C5 |
| 4 | 1u | C_0603 | C3, C4, C6, C7 |
| 10 | 5k1 | R_0402 | R1, R2, R3, R4, R5, R6, R7, R8 +2 |
| 1 | 0 | R_0402 | R9 |
| 2 | 100k | R_0402 | R10, R12 |
EF-S-Adapter design files
The KiCad project lives in the Jana-Marie/EF-S-Adapter repository on GitHub; these links point at the commit this page was built from.
EF-S-Adapter: common questions
What microcontroller does the EF-S-Adapter use?
The EF-S-Adapter is built around the STM32F042F6Px, from the STM32 family.
How big is the EF-S-Adapter PCB?
The EF-S-Adapter measures 65 × 65 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the EF-S-Adapter?
38 components, from 20 distinct parts. The full bill of materials is listed on this page.
Where can I download the EF-S-Adapter design files?
From the Jana-Marie/EF-S-Adapter repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the EF-S-Adapter design in my own project?
Yes, under the terms of its MIT license, which Jana-Marie chose for the repository.
Can I test firmware for the EF-S-Adapter without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
Earlier revisions in the repo: lensmount-v1
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
176 pin board
rusefi
61.8 × 73.2 mm76 parts2LGPL-3.01.2kSTM32
Brain board STM32F407
rusefi
61.8 × 73.2 mm69 parts2LGPL-3.01.2k