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

Submission for an interview assignment

Copper layers
2
Thickness
1.6 mm
Parts
25
Nets
45
Pads
135
Tracks, vias
4, 0
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
18 May 2025
Updated
19 May 2025

Overview

CurrentSensorUSB is an open-source printed circuit board by vlust, from the vlust/interview-assignment repository on GitHub. It is a 2-layer board with 25 parts on 45 nets, routed with 4 tracks and 0 vias.

It is built around the ATSAMD21E18A-AF, ADS1113IDGS and ADUM1250AR, with the PRTR5V0U2X among its other parts. Its parts include 7 capacitors, 7 resistors, 4 ICs, 3 connectors and 1 diode. It belongs with the SAM D and SAM boards of this library.

Main components

4

README

hardware/CurrentSensorUSB/README.md

Design Considerations

1. Microcontroller (U1: ATSAMD21E18A‑A)

  • Built‑in USB Full‑Speed interface simplifies serial‑over‑USB implementation.
  • Proven ecosystem and popularity
  • E‑Series package (smallest) has more than enough GPIO and ADC channels for this project.

2. Precision ADC (U3: ADS1113IDGS)

  • 16‑bit resolution yields better than 10 µA resolution over the 4–20 mA span by adjusting the PGA settings.
  • Single‑ended input with onboard reference minimizes external parts.
  • I²C interface maps cleanly to the SAMD21 peripheral.

3. Digital Isolator (U5: ADuM1250)

  • Provides 2.5 kV galvanic isolation on I2C lines.
  • Ensures USB‑side ground is fully isolated from the analog front end.

4. DC–DC Converter (PS1: MEE1S0503SC)

  • Generates an isolated 3.3 V rail from USB 5 V for the sensor‑side analog domain.
  • 150 mW output rating covers the ADS1113 + op‑amps + isolator.

5. Shunt Resistor (R2: 100 Ω LVK12)

  • Converts 4–20 mA into 0.4–2.0 V (with gain stage, maps to 0.2–1.0 V for the ADS1113).
  • 0.1 % tolerance keeps measurement error < ±1 µA.

6. Voltage Regulator (U2: MCP1703A‑3302)

  • 3.3 V LDO for the SAMD21 from the USB 5 V rail.

7. ESD Protection (D1: PRTR5V0U2X)

  • I wanted to incoorperate an example for circuit protection but without having a clear safety bufget i decided to keep it minimal.

8. 32.768 kHz Crystal (Y1)

  • Provides a precision RTC clock for timestamping the serial out.
  • Matched load capacitance (6.8 pF) aligns with the SAMD21’s XOSC32K requirements.

Parts

25
QtyValueFootprintReferences
44.7 kΩResistor_SMD:R_0603_1608MetricR3, R4, R5, R6
21 μF CeramicCapacitor_SMD:C_0603_1608MetricC1, C2
26.8pFCapacitor_SMD:C_0603_1608MetricC5, C6
10.1 μFCapacitor_SMD:C_0603_1608MetricC3
11 μFCapacitor_SMD:C_0603_1608MetricC7
132.768kHz, 7pFCrystal:Crystal_SMD_0603-4Pin_6.0x3.5mmY1
15.1KResistor_SMD:R_0603_1608MetricR1
1ADS1113IDGSPackage_SO:TSSOP-10_3x3mm_P0.5mmU3
1ADuM1250Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU5
1ATSAMD21E18A-APackage_QFP:TQFP-32_7x7mm_P0.8mmU1
1CCapacitor_SMD:C_0603_1608MetricC4
1MCP1703Ax-330xxDBPackage_TO_SOT_SMD:SOT-223-3_TabPin2U2
1MEE1S0503SCConverter_DCDC:Converter_DCDC_Murata_MEE1SxxxxSC_THTPS1
1PRTR5V0U2XPackage_TO_SOT_SMD:SOT-143D1
1R_F 1 kΩResistor_SMD:R_0603_1608MetricR7
1R_Shunt 100Resistor_SMD:R_Shunt_Ohmite_LVK12R2
1SW_PushButton_Switch_SMD:SW_MEC_5GSH9SW1
1Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_HorizontalJ2
1TC2030Connector:Tag-Connect_TC2030-IDC-NL_2x03_P1.27mm_VerticalJ1
1USB_C_Plug_USB2.0Connector_USB:USB_C_Plug_Molex_105444P1

Questions

What parts does the CurrentSensorUSB use?

25 parts, built around the ATSAMD21E18A-AF, ADS1113IDGS, ADUM1250AR and PRTR5V0U2X. 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 CurrentSensorUSB KiCad files?

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

Can I use the CurrentSensorUSB design in my own project?

Its repository states no licence, so its author keeps all rights: ask vlust before reusing the design.

Similar boards

  • 4 layers65 × 56 mmPower db hat, the printed circuit board in 3D

    Power db hat

    ALTAIR-McGill-x-UVictoria/ALTAIR-PCBs

    ALTAIR PCB files

    141 parts
  • 2 layers168.9 × 109.2 mmNode old, the printed circuit board in 3D

    Node old

    CaptnSisko/CHARM

    CHeap Accessible Resilient Mesh for Remote Locations and Disaster Relief

    64 parts
  • 2 layers103 × 86.5 mmControesp, the printed circuit board in 3D

    Controesp

    gixxerPS/controesp

    controllino like board for esp

    56 parts
  • 2 layers28 × 32 mmTransducerBLE, the printed circuit board in 3D

    TransducerBLE

    UT-yakusaku/WirelessIntestine

    This is the code for a paper titiled "Wireless Recording and Autoencoder Denoising of Intestinal Activity in Freely Moving Rats"

    24 parts
  • 2 layersShift Control Unit, the printed circuit board in 3D

    Shift Control Unit

    Nomalah/Budget-Racing-Electronics

    All electronics for the budget racing vehicle

    27 parts
  • 4 layers136.5 × 95.3 mmThrusterV3, the printed circuit board in 3D

    ThrusterV3

    RoboSubLA/wailord_electrical

    RoboSubLA Wailord 2022-2023 Electrical Design Repository

    70 partsGPL-3.0
  • 2 layers155 × 114 mmIOExpansion, the printed circuit board in 3D

    IOExpansion

    ja1umi/MUTIF09Project

    Various design materials for building my 8-bit-microprocessor-based single board computer(s)

    198 parts10MIT