

Current sense
A high performance current & magnetic field probe
- Size
- 130 × 25 mm
- Copper layers
- 4
- Thickness
- 1 mm
- Parts
- 113
- Nets
- 70
- Pads
- 332
- Tracks, vias
- 840, 248
- Pours
- 23
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 3 Dec 2020
- Updated
- 3 Apr 2023
Overview
Current sense is an open-source printed circuit board by westonb, from the westonb/little-bee-B1 repository on GitHub, published under the CC-BY-SA-4.0 licence. It is a 4-layer board of 130 × 25 mm with 113 parts on 70 nets, routed with 840 tracks and 248 vias.
It is built around the AD8129AR, HMC1041Z-TR and MCP1640-I/MC, with the TLV3542ID, TMUX1219DBV and BAT54SLT1G among its other parts. Its parts include 40 resistors, 36 capacitors, 9 ICs, 8 connectors and 4 diodes. It belongs with the sensors and measurement boards and the PIC boards of this library.
Main components
7AD8129AR
SOIC-8-12.6V~-2.25V、2.25V~12.6V -40℃~+125℃ 0.2nA/℃ 0.4uA 10.6mA 160MHz 200uV 20ns 25.2V 2uV/℃ 35mA 4.5V~12.6V 4.5nV/√Hz 500nA 810V/us 96dB Enable/shutdown function、Differential to single-ended conversion Rail-to-rail output Single-Ended Single-channel SOIC-8 Differential Amplifiers ROHSAnalog DevicesDifferential AmplifiersHMC1041Z-TR
LPCC-8(1.1x4.1)LPCC-8(1.1x4.1) Hall Switches ROHSHoneywellLinear Hall SensorsMCP1640-I/MC
DFN-8(2x3)-40℃~+125℃@(TJ) 1 19uA 2V~5.5V 350mA 500kHz 800mV~5.5V Adjustable Boost Boost Built-in Yes DFN-8(2x3) DC-DC Converters ROHSMicrochip TechnologyDC-DC ConvertersTLV3542ID
SOIC-8-2.75V~-1.25V、1.25V~2.75V -40℃~+125℃ 100MHz 100mA 150V/us 1pA 2 2.7V~5.5V 2mV 3pA 4.5uV/℃ 5.2mA 7.5nV/√Hz@1MHz 80dB ESD protection Rail-to-Rail Input, Rail-to-Rail Output SOIC-8 Operational Amplifier ROHSTexas InstrumentsOperational AmplifierTMUX1219DBV
SOT-23-6-40℃~+125℃ 1 1.08V~5.5V 23pF 250MHz 2:1 3Ω SOT-23-6 Analog Switches, Multiplexers ROHSTexas InstrumentsAnalog Switches, MultiplexersBAT54SLT1G
SOT-23Schottky DiodesDOWOFDC6327C
SOT-23-6-55℃~+150℃ 1 N-Channel + 1 P-Channel 1.14W 2.8A、3.5A 2.9nC@10V 20V 375pF 400mV 40mΩ@4.5V、85mΩ@4.5V 60pF 90pF、90pF N-Channel + P-Channel SOT-23-6 MOSFETs ROHSTECH PUBLICMOSFETs
README
README.mdLittle Bee B1 - A high performance current & magnetic field probe
Operating Instructions are located in the getting-started folder
The Little Bee B1 is an open source magnetic field and current probe based on an Anisotropic Magneto-Resistive (AMR) magnetic sensor. It directly senses magnetic fields and measures current with a current sensing attachment consisting of a gapped ferrite toroid that is placed around a wire, establishing a fixed relation between the current in the wire and magnetic field the sensor is subject to.
The probe is capable of sensing DC currents and has a high frequency -3dB bandwidth in excess of 10Mhz. Typical specifications for current sensing are a +/- 5A range, and a 3mA RMS noise floor. For magnetic field sensing the probe has a +/- 6 gauss range. It is compatible with any 1M ohm input oscilloscope and is powered by a single AA battery. The probe uses a PIC microcontroller to automatically zero the sensor and to provide adjustable gain and bandwidth.
All project source files are in this repository and the project currently has a CrowdSupply campaign

Typical Electrical Performance
Current sensing
- Bandwidth: DC - 10 MHz
- Sensitivity: 0.25 Volts/Amp
- Max Current: +/- 5 A
- Noise
- 3 mA RMS at 10 MHz bandwidth
- 2 mA RMS at 1 MHz bandwidth
- DC Accuracy: +/- 15%
- Insertion Impedance: 100 nH in parallel with 70 Ohms
Magnetic Field Sensing
- Bandwidth: DC - 10 MHz
- Sensitivity: 0.2 Volts/Gauss
- Max Field: +/- 6 Gauss
- Noise
- 4mG RMS at 10 MHz bandwidth
- 2.5mG RMS at 1 MHz bandwidth
Operation
Connect the Little Bee to any oscilloscope with a SMA-BNC cable. When the probe is powered on it automatically zeros and starts in the high bandwidth and low gain mode. Tapping the "Mode Select" button will cycle through the bandwidth and gain options, which are indicated by the LED color.
The probe should be re-zeroed after switching modes. This is accomplished by pressing and holding the "zero/reset" button for at least one second before releasing. The LED will blink once when the button is first pressed and a second time when the zeroing operation is done.
When the sensor is exposed to an excessive magnetic field, or excessive current when the current sensing attachment is used, the sensor will be demagnetized and need to be reset for normal operation. For on axis fields the probe can detect this and will turn the indicator light red.
Off axis fields, which can occur when the probe is used for magnetic field sensing, can exceed the sensor limit without being detected. This will result a loss of sensitivity and noticeable distortion in the sensed waveforms.
The sensor can be reset and normal operation restored without impacting the zeroing of the probe by tapping the "zero/reset" button, which will briefly flash the indicator light.
If the probe senses a low battery that will inhibit normal operation the indicator light will flash red. An alkaline AA battery should provide around 4 hours of battery life.
Current Sensing
Current sensing is achieved with the current sensing attachment, which clips on to the tip of the probe. The current sensing attachment uses a ferrite core to translate the current flowing in to a wire into a known magnetic field strength. A wire can be threaded through the current sensing attachment or the current sensing attachment can be slipped over a wire before being clipped on. With the logo and writing on the Little Bee facing the user, a wire carrying current away from the user will be read as a positive current.
The location of the wire within the current sensing attachment has some impact on the sensitivity of the probe due to the magnetic field in generates. It is recommended to keep the wire on the opposite side of the sensing tip within the aperture of the current sensing attachment.
For higher resolution when measuring low currents, multiple turns of the wire can be made through the aperture of the current sensing attachment. The final sensitivity will be the set sensitivity times the number of turns.
Tapping the "Mode Select" button will cycle through the bandwidth and gain options, which are indicated by the LED color:
| LED Color | Mode |
|---|---|
| Green | 10MHz bandwidth 0.25V/A |
| Yellow | 1MHz bandwidth 0.25V/A |
| Blue | 10MHz bandwidth 1V/A |
| Teal | 1MHz Bandwidth 1V/A |
The gain of the probe can be adjusted with the labeled trimmer resistor on the PCB. Units are shipped calibrated to the above gains.
Magnetic Field Sensing
The magnetic sensor is located approximately 1.0mm offset from the tip of the probe. The Little Bee will measure a magnetic field entering perpendicular to the top of the probe as a positive voltage. To measure the magnetic field emitted by a PCB trace the probe should be placed perpendicular to the PCB with the long direction of the tip parallel to the trace.
The earth's magnetic field is typically between 0.3 - 0.6 Gauss, depending on geographic location. This is well within the sensing range of the probe. Additionally, large ferrous objects and transformers can emit stray magnetic fields. It is recommended the Little Bee is zeroed while holding it in the orientation used for taking measurements to reduce the error introduced by stray magnetic fields.
The gain of the probe is calibrated based on measurements with the current sensing attachment, so the true sensitivity will depend on the tolerance current sensing attachment. The nominal sensitivities are:
| LED Color | Mode |
|---|---|
| Green | 10MHz bandwidth 0.2 V/Gauss |
| Yellow | 1MHz bandwidth 0.2 V/Gauss |
| Blue | 10MHz bandwidth 0.8 V/Gauss |
| Teal | 1MHz Bandwidth 0.8 V/Gauss |
Hardware
The kicad PCB files are in the PCB directory and the schematic is in the doc directory.
Firmware
The Little Bee uses a PIC16 microcontroller to automatically zero the probe and control gain and bandwidth switching. The firmware is built with the MPLAB X IDE and the complete project is in the firmware directory
Open Source
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Demos
Sensing the AC line current into a switch-mode power supply
Sensing the magnetic field from an inductor
Example Waveforms
Yellow Waveform: Little Bee B1
Green Waveform: Tektronix CT-2 Current Transformer
Ramp
SinC
Square Wave (Low Current)
Noise Floor
Parts
113| Qty | Value | Footprint | References |
|---|---|---|---|
| 21 | 1u | Capacitor_SMD:C_0603_1608Metric | C2, C3, C10, C11, C12, C15, C16, C19, C23, C25, C26, C27, C28, C29, C30, C31 +5 |
| 9 | 4.7k | Resistor_SMD:R_0603_1608Metric | R1, R2, R10, R11, R23, R24, R25, R27, R28 |
| 8 | 22u | Capacitor_SMD:C_0805_2012Metric | C1, C13, C14, C17, C20, C21, C22, C33 |
| 7 | 32.4k | Resistor_SMD:R_0603_1608Metric | R14, R22, R32, R33, R34, R35, R40 |
| 6 | 1.43k | Resistor_SMD:R_0603_1608Metric | R8, R9, R12, R15, R17, R19 |
| 4 | DNP | Capacitor_SMD:C_0603_1608Metric | C18, C24, C35, C36 |
| 4 | M3 | wbraun_smd:M3-tight-fit-socket-head | J1, J2, J4, J5 |
| 3 | 4.7 | Resistor_SMD:R_0603_1608Metric | R26, R36, R37 |
| 3 | 43 | Resistor_SMD:R_0603_1608Metric | R5, R6, R20 |
| 3 | DNP | Resistor_SMD:R_0603_1608Metric | R29, R38, R39 |
| 2 | 105 | Resistor_SMD:R_0603_1608Metric | R3, R7 |
| 2 | 130 | Resistor_SMD:R_0603_1608Metric | R30, R31 |
| 2 | 220 | Resistor_SMD:R_0603_1608Metric | R4, R13 |
| 2 | BAT54SLT1G | Package_TO_SOT_SMD:SOT-23 | D2, D3 |
| 2 | Ferrite_Bead_Small | Inductor_SMD:L_0805_2012Metric | FB1, FB2 |
| 2 | LM4041LP-ADJ | Package_TO_SOT_SMD:SOT-23 | U8, U9 |
| 2 | SW_Push | wbraun_smd:SW_Tactile_SPST_Angled_PTS645Vx58-2LFS | SW1, SW2 |
| 2 | TMUX1219 | Package_TO_SOT_SMD:SOT-363_SC-70-6 | U3, U6 |
| 1 | 0 | Resistor_SMD:R_0603_1608Metric | R18 |
| 1 | 102k | Resistor_SMD:R_0603_1608Metric | R21 |
| 1 | 10p | Capacitor_SMD:C_0603_1608Metric | C4 |
| 1 | 22p | Capacitor_SMD:C_0603_1608Metric | C6 |
| 1 | 2k | wbraun_smd:TRIMMER_PVG3A | RV1 |
| 1 | 4.7u | wbraun_smd:L_VLCF4020 | L1 |
| 1 | 470 | Resistor_SMD:R_0603_1608Metric | R16 |
| 1 | 750p | Capacitor_SMD:C_0603_1608Metric | C7 |
| 1 | AA Holder | wbraun_smd:AA-2460 | J7 |
| 1 | AD8129 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U2 |
| 1 | Conn_Coaxial | Connector_Coaxial:SMA_Molex_73251-2200_Horizontal | J6 |
| 1 | DNP | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J8 |
| 1 | FDC6327C | Package_TO_SOT_SMD:TSOT-23-6 | Q1 |
| 1 | HMC1041Z | wbraun_smd:HMC1041Z | U1 |
| 1 | LED_ARGB | LED_SMD:LED_Cree-PLCC4_2x2mm_CW | D1 |
| 1 | LOGO | wbraun_smd:bee_v4 | G*** |
| 1 | MCP1640 | Package_TO_SOT_SMD:SOT-23-6 | U7 |
| 1 | NTSAF345T3G | Diode_SMD:D_SMA | D4 |
| 1 | Net-Tie_2 | wbraun_smd:NET_TIE | NT1 |
| 1 | PIC16F1776-ISS | Package_SO:SSOP-28_5.3x10.2mm_P0.65mm | U4 |
| 1 | SW_SPDT | wbraun_smd:SW_EG1247_SPDT_Angled | SW3 |
| 1 | TLV3542 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U5 |
| 1 | Tag Connect | wbraun_smd:TC2030-IDC-NL | J3 |
The 107 most common of 113 parts.
Similar boards
- 2 layers170 × 100 mm

- 2 layers69.7 × 32.8 mm

D32Rev3ConfigController
jimbro1000/D32Rev3ConfigController
Remote Configuration Control for Rev 3 Dragon
21 parts - 2 layers60 × 69 mm

PLL USL signalgenerator
leacog/PLL-ultrasonic-driver
KiCad project files and arduino code for an in-expensive and simple phase-locked-loop driver for piezo-electric ultrasonic transducers.
35 parts36 - 2 layers46.5 × 46.6 mm

OdysseyDaughterCardSummer
Vibrant-Media-Lab/OdysseyNowDaughterCards
Replacement daughter card schematics and layouts for the Magnavox Odyssey BLAK version.
27 parts3 - 6 layers76 × 101 mm

- 4 layers45.5 × 18 mm

FDA A v1
macaba/TheManhattanToolkit
Input R - RNCF0603DTE10R0 (10 ohm) Input CM C - CGA3E1C0G2A472J080AC (4.7nF) Input DM C - DNP
52 parts94MIT - 4 layers138.2 × 200.4 mm

- 2 layers9.7 × 9.8 mm

G6 Mag Charger
kicker22004/Dexcom-G6-Mag-Recharge
Board and steps for creating a rechargeable Dexcom device.
13 parts5
Questions
How big is the Current sense PCB?
It measures 130 × 25 mm and has 4 copper layers, 1 mm thick.
What parts does the Current sense use?
113 parts, built around the AD8129AR, HMC1041Z-TR, MCP1640-I/MC and TLV3542ID. 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 Current sense KiCad files?
From the westonb/little-bee-B1 repository on GitHub, at the commit this page was made from: the board is pcb/current-sense/current-sense.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Current sense design in my own project?
Its repository publishes it under the CC-BY-SA-4.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).
