F042-touchless angle sensor
barafael·f042-touchless-angle-sensor-pcb
About the F042-touchless angle sensor PCB
F042-touchless angle sensor is an open source STM32 PCB design by barafael, published on GitHub under the MIT license. It is a 2-layer board measuring 92 × 48.5 mm, with 36 components from 15 distinct parts.
Its main chip is the STM32F042F6Px, from the STM32 family. Other key parts include the CD74HC4067SM and MCP1700-3302E_TO92. By type, the board carries 18 connectors, 9 capacitors, 4 ICs, 4 resistors and 1 diode.
It belongs with the sensors designs in this gallery.
From the project
Waterproof 180 degree touchless angle sensor using the f042

Main components on the F042-touchless angle sensor
F042-touchless angle sensor bill of materials (BOM)
36 components, 15 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32F042F6Px | TSSOP-20_4.4x6.5mm_P0.65mm | U1 |
| 2 | CD74HC4067SM | SSOP-24_5.3x8.2mm_P0.65mm | U2, U3 |
| 1 | MCP1700-3302E_TO92 | TO-92_Inline | U4 |
| 16 | Conn_01x03 | PinHeader_1x03_P1.27mm_Vertical | J0, J1, J2, J3, J4, J5, J6, J7 +8 |
| 1 | Conn_01x04 | PinHeader_1x04_P2.54mm_Vertical | J17 |
| 1 | Conn_02x05_Odd_Even | PinHeader_2x05_P1.27mm_Vertical | J18 |
| 1 | LED | LED_0805_2012Metric | D1 |
| 2 | 0.1uF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1, C2 |
| 2 | 100nF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C3, C4 |
| 1 | 4.7uF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C5 |
| 1 | 10nF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C6 |
| 3 | 1uF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C7, C8, C9 |
| 2 | 10K | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R2 |
| 1 | 0 | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R3 |
| 1 | R | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4 |
F042-touchless angle sensor design files
The KiCad project lives in the barafael/f042-touchless-angle-sensor-pcb repository on GitHub; these links point at the commit this page was built from.
F042-touchless angle sensor: common questions
What microcontroller does the F042-touchless angle sensor use?
The F042-touchless angle sensor is built around the STM32F042F6Px, from the STM32 family.
How big is the F042-touchless angle sensor PCB?
The F042-touchless angle sensor measures 92 × 48.5 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the F042-touchless angle sensor?
36 components, from 15 distinct parts. The full bill of materials is listed on this page.
Where can I download the F042-touchless angle sensor design files?
From the barafael/f042-touchless-angle-sensor-pcb repository on GitHub, which has the KiCad layout; the links under Design files point to each one.
Can I use the F042-touchless angle sensor design in my own project?
Yes, under the terms of its MIT license, which barafael chose for the repository.
Can I test firmware for the F042-touchless angle sensor 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.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k