Skip to the content
PCBKitNew board
4 layers44 × 55.9 mmMQTT Module CurrentSensors, the printed circuit board in 3D

MQTT Module CurrentSensors

WiddleWabbit/MQTT-Module-Sensor

This module is a plug-in board for the MQTT Modular Controller Board. It powers and reads up to three 4-20mA current sensors with high-side sensing at approximately 25V, providing 15-bit resolution measurements.

Size
44 × 55.9 mm
Copper layers
4
Thickness
1.6 mm
Parts
73
Nets
69
Pads
220
Tracks, vias
431, 97
Pours
10
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
6 Jul 2026
Updated
13 Oct 2026

Overview

MQTT Module CurrentSensors is an open-source printed circuit board by WiddleWabbit, from the WiddleWabbit/MQTT-Module-Sensor repository on GitHub, published under the CERN-OHL-P-2.0 licence. It is a 4-layer board of 44 × 55.9 mm with 73 parts on 69 nets, routed with 431 tracks and 97 vias.

It is built around the ATMEGA328PB-AU, TPS61170DRVR and A2541WV-10P. Its parts include 27 resistors, 17 capacitors, 7 diodes, 6 transistors and 5 ICs. It belongs with the home automation and IoT and sensors and measurement boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

MQTT Module - Current Sensors

Currently In Testing - Not Yet Tested

This module is a plug-in board for the MQTT Modular Controller Board. It powers and reads up to three 4-20mA current sensors with high-side sensing at approximately 25V, providing 15-bit resolution measurements.

Features

  • Supports up to 3 x 4-20mA sensors (high-side sensing)
  • 15-bit resolution via ADS1115 ADC
  • On-board ~25V boost converter from 12V input (TPS61170)
  • ATmega328PB microcontroller for local control and communication
  • Precision 0.1% shunt resistors with low temperature coefficient (25ppm/°C)
  • Basic short-circuit protection using PTCs and TVS diodes
  • I2C communication with motherboard and internal ADC

Architecture

The module is built around an ATmega328PB-A microcontroller. It interfaces with the motherboard via I2C (SDA on PE1, SCL on PE0) and uses a dedicated I2C bus for the ADS1115 ADC (base address 0x48, SDA on PC4, SCL on PC5).

Power

  • Utilises 12V input from motherboard, boosted to ~25V using TI TPS61170 (WEBENCH design) with shielded inductor for reduced EMI
  • Powers up to three 4-20mA sensors using this 25V.
  • Also utilises the 3.3V from the motherboard.
  • Maximum 25V current draw should be less than 200mA.
  • Maximum 3.3V current draw should be less than 200mA.

Sensor Interface

  • TP5551 OpAmps in servo configuration for accurate current-to-voltage conversion
  • 1.5uF capacitors for signal smoothing
  • 0.1% precision shunt resistors with a low 25ppm/°C

Protection

  • PTC resettable fuses on sensors trigger at ~150mA
  • TVS diodes for overvoltage clamping (trigger at 13V, clamp to 21.5V)
  • Shunt rated for 21.5V for five seconds

Pinout and Connections

  • Motherboard I2C: SDA (PE1), SCL (PE0)
  • Internal ADC I2C: SDA (PC4), SCL (PC5)
  • SNS pin (motherboard sense): PD4
  • General use modular pin: PD3
  • ISP Programming Header (2x3, left to right, top to bottom): MISO, VCC, SCK, MOSI, RESET, GND

Setup and Build

Firmware: Not yet implemented. TBA.

Programming:

  1. Use the 2x3 ISP header to program the ATmega328PB.
  2. Connect to an ISP programmer (e.g., USBasp or Arduino as ISP).
  3. Firmware will handle sensor readings, ADC configuration, and I2C communication with the motherboard.

Assembly:

  • Populate the board per the KiCad project files.
  • Ensure proper orientation when plugging into the motherboard slots.

License

This documentation is part of MQTT-Module-Sensor Project and is licensed under the CERN Open Hardware Licence Version 2 - Permissive (CERN-OHL-P-2.0). You may redistribute and modify this documentation under the terms of the CERN-OHL-P-2.0. This documentation is distributed WITHOUT ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING OF MERCHANTABILITY, SATISFACTORY QUALITY AND FITNESS FOR A PARTICULAR PURPOSE. See the CERN-OHL-P-2.0 for applicable conditions.

Parts

73
QtyValueFootprintReferences
80.1uF 10% 50VJLCPCB Basic:CAPC1608X90NC201, C202, C203, C204, C401, C402, C403, C407
810kΩ 1/8W 1%JLCPCB Basic:RESC2013X65NR201, R304, R410, R413, R414, R415, R422, R423
6100Ω 1/8W 1%JLCPCB Basic:RESC2013X65NR402, R404, R406, R408, R416, R419
628V 1uA LeakLITTELFUSE Diodes:SODFL3619X98ND401, D402, D403, D404, D405, D406
322nF 10% 50VJLCPCB Basic:CAPC1608X90NC404, C405, C406
34.7uF 10% 25VJLCPCB Basic:CAPC2012X140NC302, C303, C304
34.99Ω 0.5% 1/8WJLCPCB Basic:Generic-0603R403, R407, R418
347kΩ 1/8W 1%JLCPCB Basic:RESC2013X65NR409, R411, R421
35.1kΩ 1/10W 1%JLCPCB Basic:RESC1608X55NR405, R412, R420
350mA 30V, PTCBOURNS Fuses:FUSC3226X110NF401, F402, F505
3INA186A1IDCKRTEXAS INSTRUMENTS ICs:SOT65P210X110-6NIC402, IC403, IC404
3NPN 40V 200mAONSEMI Transistors:SOT-23Q402, Q403, Q405
3PMOS -60V -1.25AONSEMI Transistors:SOT-23-3 - FDN5618PQ401, Q404, Q406
24.7kΩ 1/8W 1%JLCPCB Basic:RESC2013X65NR401, R417
2A2541WV-10PCJT Connectors:PinHeader_1x10_P2.54mm_Vertical_MaleJ301, J302
2LOGOLOGOG***, G***
110uF 20% 35VPANASONIC Capacitors:EEE0GA101SRC309
115uH, 1.25A, 20%VISHAY INTERTECH Inductors:INDM4040X190NL301
116 Bit ADCTEXAS INSTRUMENTS ICs:SOP50P490X110-10NIC401
11715747PHOENIX CONTACT Terminals:1715747J304
1200kΩ 1/8W 1%JLCPCB Basic:RESC2013X65NR303
122nF 10% 50VJLCPCB Basic:CAPC2012X75NC308
124kΩ 1/8W 1%JLCPCB Basic:RESC2013X65NR301
14.7uF 10% 50VJLCPCB Basic:CAPC3216X180NC307
140V 1AGUANGDONG HOTTECH Diodes:D_SOD-323FD301
1ATmega328PB-APackage_QFP:TQFP-32_7x7mm_P0.8mmU202
1TPS61170DRVRTEXAS INSTRUMENTS ICs:SON65P200X200X80-7NPS301
1TestPointTestPoint:TestPoint_Pad_2.0x2.0mmTP601

Questions

How big is the MQTT Module CurrentSensors PCB?

It measures 44 × 55.9 mm and has 4 copper layers, 1.6 mm thick.

What parts does the MQTT Module CurrentSensors use?

73 parts, built around the ATMEGA328PB-AU, TPS61170DRVR and A2541WV-10P. 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 MQTT Module CurrentSensors KiCad files?

From the WiddleWabbit/MQTT-Module-Sensor repository on GitHub, at the commit this page was made from: the board is MQTT-Module-CurrentSensors.kicad_pcb and its schematic MQTT-Module-CurrentSensors.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MQTT Module CurrentSensors design in my own project?

Its repository publishes it under the CERN-OHL-P-2.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).

Similar boards

  • 4 layers44 × 55.9 mmMQTT Module PumpController, the printed circuit board in 3D

    MQTT Module PumpController

    WiddleWabbit/MQTT-Module-PumpController

    Module for the MQTT Modular Controller Board. Controls and powers a single small 12 V pump.

    49 partsCERN-OHL-P-2.0
  • 2 layers97.5 × 79 mmRGB LED Driver, the printed circuit board in 3D

    RGB LED Driver

    PCB-Design-MIT/Wi-Fi-Controlled-RGB-Light

    A demo board for students to learn to solder and debug

    144 parts4
  • 4 layers64 × 64 mmEspion cam, the printed circuit board in 3D

    Espion cam

    azais-corentin/espion

    Multi-camera IR marker tracking: ESP32-P4/C5 firmware, Rust host, KiCad hardware

    188 partsApache-2.0
  • 2 layers78 × 130 mmLofence, the printed circuit board in 3D

    Lofence

    kiu/lofence

    LoFence is a LoRaWAN capable IoT electric fence monitoring system running on the The Things Network.

    65 parts142MIT
  • 2 layers102 × 81.5 mmC64pico, the printed circuit board in 3D

    C64pico

    silvervest/c64pico

    This is a tiny emulated C64 running on a Raspberry Pi Pico! Full details of the build can be found at https://www.youtube.com/watch?v=hgLhGpbC6E4

    97 parts86
  • 2 layers58.4 × 34.3 mmSIO2SD, the printed circuit board in 3D

    SIO2SD

    c0pperdragon/SIO2SD

    An Arduino-based floppy drive emulator for the atari 8 bit computers.

    26 parts83
  • 2 layers200 × 100 mmRegalodilara, the printed circuit board in 3D

    Regalodilara

    valerionew/very-good-uc-doggos

    A special graduation present for a special friend. Six microcontrollers in one devboard

    91 parts50
  • 2 layers88.9 × 50.8 mmBLDC BIZ CARD, the printed circuit board in 3D

    BLDC BIZ CARD

    ageppert/Brushless-Motor-Biz-Card

    A brushless motor and driver built in to a business card form-factor for learning and experimenting!

    82 parts38MIT