Skip to the content
2 layers62.4 × 30.4 mmScaleModule, the printed circuit board in 3D

PSH Portable Smart Hangboard

Size
62.4 × 30.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
8
Nets
20
Pads
42
Tracks, vias
36, 0
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
12 May 2024
Updated
20 Sep 2024

Overview

ScaleModule is an open-source printed circuit board by ovidiurosu90, from the ovidiurosu90/psh-portable-smart-hangboard repository on GitHub, published under the LGPL-2.1 licence. It is a 2-layer board of 62.4 × 30.4 mm with 8 parts on 20 nets, routed with 36 tracks and 0 vias.

Its parts include 4 connectors and 2 ICs.

README

README.md

PSH Portable Smart Hangboard

Abstract

Problem

Help people get better at climbing by improving their finger strength

Solution

Provide a portable smart hangboard to use for finger strength training

How

  • the whole project is open-source, and can be replicated by interested parties (note it requires a variety of skills like setting up a web server, 3d printing, soldering & crimping)
  • the hangboard measures the pressure applied to the hanghold by using a couple of load cells
  • the training plans are set in Google Sheets

Important Links

NameREADME
BOM Bill Of MaterialsBOM.md
How To BuildHOWTOBUILD.md

Images

CAD vs Real World

Wood non-slippery holds - CAD vs Real World

Functionality of switches

  • There are 3 big black momentary switches (labeled SW1, SW2 and SW3)
  • There are 3 small toggle switches (labeled SW4, SW5 and SW6)
  • The functionality of the switches is described below

SW1

If SW4 is toggled ON: start training

Else: decrease volume

SW2

If SW4 is toggled ON: start calibrating

Else: store volume into NVS (only if SW5 is toggled ON)

SW3

If SW4 is toggled ON: end training

Else: increase volume

SW4

If toggled ON: show train menu

Else: show volume menu

SW5

If toggled ON: allow NVS to be updated (for calibration and for volume)

Else: don't allow NVS to be updated

SW6

Not used at the moment

Usage

  • Power the microcontroller via its micro-USB port (+5V)
  • Wait for the microcontroller to finish setting things up (it's ready when it says 'idle' on the lower left side of analog meter)
  • Configure the training parameters in the spreadsheet via Goole Sheets
  • The training program starts with a rest cycle, followed by an activity cycle, then repeat
  • Example
totalCyclesactivityTotalSecondsrestTotalSecondsscaleLowerLimitGramsscaleUpperLimitGrams
610205500090000
  • For the example above, we'll have 6 cycles as follows:

    • cycle 1: rest for 20 seconds
    • cycle 2: activity for 10 seconds
    • cycle 3: rest for 20 seconds
    • cycle 4: activity for 10 seconds
    • cycle 5: rest for 20 seconds
    • cycle 6: activity for 10 seconds
  • Start the training by pressing SW1 (note SW4 should be toggled ON)

  • The score is updated only in the activity cycles (cycle 2, 4 and 6 in the example above)

  • The score is calculated as follows:

    • each second there are 2 scale measurements
    • let's say we have 3 activity cycles of 10 seconds
    • which means 3x 10x 2 measurements
    • we just sum up the 60 measurements (in kg)
  • For the exapmle above, the score can be the following:

    • score: 2017 (which is a sum of all the scale measurements)
    • history: 73,70,70,68,71,70,70,70,69,70,62,65,67,68,66,66,66,67,64,64,68,66,67,67,67,65,66,67,65,63
  • In the future, the scoring method may be different, as at the moment, we don't penalize out-of-bounds measurements, and we don't reward in-bounds measurements

Wiring

NodeMCU 32S Pinout

MainControllerNodeMCU-32S Schematic Editor

NodeMcu ESP-32S Lua ESP-WROOM-32SparkFun HX711 Load Cell Amplifier => NOTE we need to solder male pins
5, 4DAT1, CLK1
16, 15DAT2, CLK2
+3.3VVDD, VCC
GNDGND
NodeMcu ESP-32S Lua ESP-WROOM-32AZDelivery ST7735 SPI TFT Display 1.8 inch 128 x 160 pixels =>  guide
+5VVCC
GNDGND
G17CS
G14Reset / RST
G2A0 / DC
G23Sda / MOSI
G18Sck / SCLK
3.3VLED
NodeMcu ESP-32S Lua ESP-WROOM-32AZDelivery ST7735 SPI TFT Display 1.8 inch 128 x 160 pixels => guide
G33CS
G23MOSI (shared with display)
G19MISO
G18SCK / SCLK (shared with display

NOTE At the moment the custom PCB for the MainControllerNodeMCU-32S module needs a small improvement. Currently it’s missing a 4-pin connection for interfacing with the SD card on the TFT display. You can either modify the project and add the connector on the PCB (before placing the order), or make the 4 connections manually (solder the 4 wires directly on the PCB, picture found below). Follow the issue on GitHub for updates: [PCB] Update Custom PCB for MainControllerNodeMCU-32S #8.

NodeMcu ESP-32S Lua ESP-WROOM-32SparkFun MAX98357A I2S Audio Breakout => guide
+5V (if we use +3.3V the volume fluctuates)VDD
GNDGND
-SD
GNDGAIN (+12dB, without this it will be +9dB)
G22DIN / DOUT
G26BCLK
G25LRCLK
NodeMcu ESP-32S Lua ESP-WROOM-32SwitchesModule (my custom PCB)
G21SW1
G27SW2
G13SW3
GNDGND
+3.3V~ pull-up resistors
G36SW4 with 10k resistor to +3.3V
G39SW5 with 10k resistor to +3.3V
G35SW6 with 10k resistor to +3.3V
GNDGND
NodeMcu ESP-32S Lua ESP-WROOM-32?
G32 (input-output pin)Available
G34 (only output pin)Available

Parts

8
QtyValueFootprintReferences
4Conn_01x04Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ1_1, J1_2, J2_1, J2_2
2MountingHole_3.2mm_M3MountingHole:MountingHole_3.2mm_M3MountingHole1, MountingHole2
2SparkFun HX711 Load Cell AmplifierFootprints:SparkFun HX711 Load Cell AmplifierU1, U2

More from ovidiurosu90/psh-portable-smart-hangboard

2
  • 2 layers53 × 29 mmSwitchesModule, the printed circuit board in 3D

    SwitchesModule

    ovidiurosu90/psh-portable-smart-hangboard

    PSH Portable Smart Hangboard

    14 partsLGPL-2.1
  • 2 layers34.5 × 74 mmMainControllerNodeMCU-32S, the printed circuit board in 3D

    MainControllerNodeMCU-32S

    ovidiurosu90/psh-portable-smart-hangboard

    PSH Portable Smart Hangboard

    9 partsLGPL-2.1

Similar boards

  • 2 layers20.5 × 24.8 mmPi interface, the printed circuit board in 3D

    Pi interface

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    8 parts3.7k
  • 2 layers59.9 × 25.7 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    8 parts1kGPL-3.0
  • 2 layers52 × 12.6 mmUSB, the printed circuit board in 3D

    USB

    shanteacontrols/OpenDeck

    A platform for building interactive control and sensing devices using MIDI and OSC built with Zephyr RTOS.

    8 parts960Apache-2.0
  • 2 layers87.5 × 48.5 mm7 input macropad, the printed circuit board in 3D

    7 input macropad

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    8 parts915
  • 2 layers36.2 × 63.1 mmPicoMemcard pico, the printed circuit board in 3D

    PicoMemcard pico

    dangiu/PicoMemcard

    Emulating PSX Memory Card (or controller) using a Raspberry Pi Pico

    8 parts694GPL-3.0
  • 2 layers36 × 10 mmPCB4-PWR BTN Rev.A, the printed circuit board in 3D

    PCB4-PWR BTN Rev.A

    OLIMEX/DIY-LAPTOP

    Do It Yourself Open Source Hardware and Software Modular Hacker's Friendly Laptop

    8 parts578Apache-2.0

Questions

How big is the ScaleModule PCB?

It measures 62.4 × 30.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the ScaleModule use?

8 parts. 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 ScaleModule KiCad files?

From the ovidiurosu90/psh-portable-smart-hangboard repository on GitHub, at the commit this page was made from: the board is KiCad/ScaleModule/ScaleModule.kicad_pcb and its schematic KiCad/MainControllerNodeMCU-32S/MainControllerNodeMCU-32S.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ScaleModule design in my own project?

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