Skip to the content
4 layers23 × 51.5 mmPower meter pcb, the printed circuit board in 3D

Power meter designed as part of Oscar Varney and Jotham Gates' FYP in 2024

Size
23 × 51.5 mm
Copper layers
4
Thickness
1.6 mm
Parts
64
Nets
76
Pads
289
Tracks, vias
637, 87
Pours
5
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
15 Apr 2024
Updated
19 Dec 2025

Overview

Power meter pcb is an open-source printed circuit board by monash-human-power, from the monash-human-power/power-meter repository on GitHub, published under the MIT licence. It is a 4-layer board of 23 × 51.5 mm with 64 parts on 76 nets, routed with 637 tracks and 87 vias.

It is built around the ESP32-S3-MINI-1-N8, ADS1232IPW and P3T1755DP, with the TPD3E001DRLR, AS2302 and CLX6F-FKC-CNP1ST1E1BB7D3D3 among its other parts. Its parts include 19 resistors, 15 capacitors, 7 connectors, 5 ICs and 3 diodes. It belongs with the sensors and measurement boards and the ESP32 boards of this library.

Main components

10

README

README.md

Cycling power meter final year project

Oscar Varney and Jotham Gates, 2024

This is the code repository for a Final Year Project (FYP) to develop a crankset and power meter for Human Powered Vehicles (HPVs).

Pretty photo of the prototype crankset and power meter

Contents

Getting started

  • See here for some instructions on getting the power meter to work with MQTT and WiFi.
  • See here for information on configuring the power meter.
  • See here for information on MQTT topics used when communicating using this protocol.
  • If you are a member of MHP, then the Notion page for this project can be found here.
  • The reports submitted for the project are here (private repository).

Schematic and PCB layout

The schematic and PCB layout were completed using KiCAD 9. The design files are in the power-meter-pcb folder.

Code

The firmware is written to use the Arduino environment of Platform IO and is located in the power-meter-code directory.

Libraries

Install the following libraries, either by using the Arduino library manager or going to their GitHub repository and cloning them.

  • ArduinoJson library for JSON encoding and decoding.
  • ICM42670P library for communicating with the IMU.
  • BasicLinearAlgebra library for matrix maths. This is also added as a submodule for testing the Kalman filter on a computer.
  • ArduinoBLE library for Bluetooth Low Energy (BLE) communications.
  • PubSubClient library for communicating using MQTT over WiFi.

Tools for updating dates of changed files and versions

A bash script has been written to update the dates on all modified or staged files (not including untracked files). To perform this operation, run:

bash
./tools/update_date.sh

Another script is included to update the version info on all files and definitions for the code. The files and elements updated include:

  • Any @version tags in the code directory.
  • The VERSION definition in defines.h.
  • The Doxygen version number in Doxyfile.

As an example:

bash
./tools/update_version.sh 1.2.3
Git Hook for checking dates are correct before committing

This needs to be modified to work with the platform IO structure. Copy the pre-commit file into .git/hooks/pre-commit. This will check the date of code files and make sure they are up to date.

Doxygen documentation

Documentation can be automatically generated using Doxygen by running doxygen from the root folder of the repository. You might need to install doxygen and graphviz first. The output will be placed in the docs folder. GitHub actions may be set up later down the track to automatically generate and deploy to GitHub pages on commit- however that would require a public repository and documentation.

To generate a massive appendix for the report, run ./tools/generate_refman.sh

The output file will be refman.pdf.

Scripts and testing

Scripts for testing the board hardware and easing development of certain sections can be found in the scripts-testing directory. This includes python scripts used to log data over MQTT and plot it.

Parts

64
QtyValueFootprintReferences
722uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC3, C4, C5, C6, C7, C14, C15
60.1uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC8, C9, C10, C11, C12, C13
447Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR10, R14, R15, R16
45.1kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR6, R7, R8, R9
3150Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3, R4, R19
3MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3
210kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R2
21MResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR11, R12
21uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C2
1100kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR18
1320Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR5
1453kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR17
1470Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR13
1470nInductor_SMD:L_Vishay_IHLP-1212L1
15VTestPoint:TestPoint_Pad_1.5x1.5mmTP1
1ADS1232IPWPackage_SO:TSSOP-24_4.4x7.8mm_P0.65mmU5
1AS2302Package_TO_SOT_SMD:TSOT-23Q1
1Address selectJumper:SolderJumper-3_P1.3mm_Open_RoundedPad1.0x1.5mmJP3
1BOOTButton_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2SW2
1BatteryConnector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalJ4
1CLX6F-FKC-CNP1ST1E1BB7D3D3RGB_LED_CLX6F-FKC-CNP1ST1E1BB7D3D3:PLCC6_3.4X3.4_CRW-MD1
1Crank interconnectConnector_JST:JST_PH_S8B-PH-K_1x08_P2.00mm_HorizontalJ1
1DOUT connectJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP2
1DebugConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ2
1ENButton_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2SW1
1ESP32-S3-MINI-1RF_Module:ESP32-S2-MINI-1U1
1ICM-42670-PICM-42670-P_AccelGyro:XDCR_ICM-42670-PMT1
1LEDLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD3
1MH2029-300YInductor_SMD:L_0805_2012MetricFB1
1NetTie_2NetTie:NetTie-2_SMD_Pad0.5mmNT1
1P3T1755Package_SO:TSSOP-8_3x3mm_P0.65mmU2
1PMEG6030ELPXDiode_SMD:D_SOD-128D4
1SCLK connectJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1
1SMD1206B200TFFuse:Fuse_1206_3216Metric_Pad1.42x1.75mm_HandSolderF1
1Side AConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6
1Side BConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ7
1Spare GPIO pinsConnector_PinHeader_2.00mm:PinHeader_1x06_P2.00mm_VerticalJ3
1TPD3E001DRLRPackage_TO_SOT_SMD:SOT-553U4
1TPS61023DRLRTPS61023DRLR:DRL0006AU3
1USB4120-03-C_REVAUSB4120:GCT_USB4120-03-C_REVAJ5

Similar boards

  • 2 layers49.5 × 49.7 mmAudioPowerBoard, the printed circuit board in 3D

    AudioPowerBoard

    LEAT-EDGE/ambient-pcb-audiopower

    Audio capture and energy management daughterboard PCB for the Ambient project.

    121 partsCERN-OHL-P-2.0
  • 2 layers60 × 52 mmADuM3165 USB ISOLATION, the printed circuit board in 3D

    ADuM3165 USB ISOLATION

    Fominsky/HIGH-SPEED-USB-ISOLATOR

    High-speed USB isolator with external power based on ADuM3165/ADuM3166

    68 parts4
  • 4 layers150 × 175 mmButton board, the printed circuit board in 3D

    Button board

    second-string/capacitive-touch-button-board-prototype

    Protoype hardware and firmware for evaluating different designs of capacitive touch buttons and reverse-mount LEDs

    294 partsMIT
  • 2 layers115 × 80 mmWheather board v1, the printed circuit board in 3D

    Wheather board v1

    nbreard/mellia

    https://www.mellia.fr/

    69 parts11
  • 4 layers48 × 73 mmGrinder, the printed circuit board in 3D

    Grinder

    magnusnordlander/fifty-fifty

    A grinder controller for my Mazzer Major

    31 parts7MIT
  • 2 layers35 × 75 mmEasyhive 1 3, the printed circuit board in 3D

    Easyhive 1 3

    jacobron/EasyHive_M0

    Easyhive_M0-Board Arduino Code and Hardware Files

    101 parts4
  • 2 layers35 × 75 mmEasyhive, the printed circuit board in 3D

    Easyhive

    easyhive/easyhive_kicad

    Kicad files for PCB production of easyhive boards which are used in easyhive hive scale.

    106 parts1

Questions

How big is the Power meter pcb PCB?

It measures 23 × 51.5 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Power meter pcb use?

64 parts, built around the ESP32-S3-MINI-1-N8, ADS1232IPW, P3T1755DP and TPD3E001DRLR. 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 Power meter pcb KiCad files?

From the monash-human-power/power-meter repository on GitHub, at the commit this page was made from: the board is power-meter-pcb/power-meter-pcb.kicad_pcb and its schematic power-meter-pcb/accelerometer.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Power meter pcb design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).