Crimpdeq

Meet Crimpdeq, a portable digital force sensor for climbers, coaches, and therapists who want to measure and train finger strength, pulling power, and endurance. It is inspired by the Tindeq Progressor and is compatible with both the Tindeq and Frez apps.
Specs
These specs describe the current PCB V4 with its matching case and firmware.
- Rechargeable battery with USB-C charging, also while switched off
- Battery level reporting with a MAX17048 fuel gauge
- RGB status LED for connection and low-battery status
- ADS1220 24-bit load-cell ADC
- Communicates via Bluetooth Low Energy (BLE)
- Open-source firmware written in Rust
- Open-source PCB design, viewable online at tscircuit.crimpdeq.com
- Open-source 3D-printable case design
- Automatic sleep when inactive
- Compatible with the Tindeq Progressor app (Android | iOS)
- Compatible with the Frez app (formerly ClimbHarder) (Android | iOS)
- Sampling rate: 175 Hz by default, selectable from 20 to 1000 Hz with the Crimpdeq app and kept across reboots (80 Hz on PCB V1 and V2)
- Linear, quadratic, or piecewise linear calibration, fitted on the device and selected with the Crimpdeq app
- Full-scale design load: 1500 N (~150 kg)
- Precision:
- 0.05 kg between 0 and 99 kg
- 0.1 kg between 100 and 150 kg
- Operating temperature: 0 to 40 C
- Dimensions: 89.2 x 64.6 x 27.6 mm (case
v4.0.0) - Uses the Tindeq Progressor API
⚠️ Warning: Some values depend on the load cell used in this project. If you use a different load cell, those values may change.
Book Contents
This book is a practical guide to understanding Crimpdeq and building your own. It covers assembly, calibration, firmware internals, and the PCB and 3D-printable case design.
⚠️ Note: If you want to reproduce this project, feel free to reach out by email ([email protected]), X (formerly Twitter), or Bluesky.
Build Your Crimpdeq
This chapter presents the Crimpdeq models you can build.
Choose the one that matches your tools, budget, and how much assembly work you want to do.
⚠️ Note: If you want a Crimpdeq, but don’t have the materials or skills to build your own, feel free to email me at [email protected] and we can discuss other options.
Crimpdeq PCB Build

This model uses a custom PCB and a custom 3D-printed case.
It is the cleanest and easiest version to assemble, and the final result is more compact and polished. The assembly guide covers PCB V1 to V4, including their wiring differences. New builds should use PCB V4. The photo shows a V3 build.
Follow the Crimpdeq Assembly guide to build this model.
Prototype
This model reuses a crane scale case and combines off-the-shelf modules (ESP32-C3 Rust Board + HX711).
It requires more soldering and manual assembly, but it can be cheaper because it does not require manufacturing a custom PCB or 3D-printed case.
Follow the Prototype Assembly guide to build this model.
Crimpdeq Assembly
This chapter shows how to assemble a Crimpdeq using the custom PCB and 3D-printed case.
Most assembly steps are the same for PCB V1 to V4. The main differences are the external wiring pad layout, especially the battery/switch wiring, and how the parts sit in the case.

1. Gather Parts and Tools
Parts
- Crimpdeq PCB
- See the PCB manufacturing guide if you need to order one.
- Crimpdeq 3D-printed case that matches your PCB revision
- WH-C07 load cell, or a compatible load cell with similar dimensions
- You can salvage one from a crane scale (Amazon alternative) or buy it separately.
- 3.7 V LiPo battery sized for your case release:
- Case
v3.1.0and earlier: 2000 mAh, 10 × 34 × 50 mm - Case
v3.2.0andv4.0.0: 800 mAh 102530, 10 × 25 × 30 mm with its protection board, with both leads leaving one 25 mm end
- Case
- KCD11 two-terminal switch
- Insulated hookup wire and heat-shrink tubing
- The case
v4.0.0wire routes are sized for 24 AWG silicone wire.
- The case
- 4 screws for the lid:
- Case
v3.1.0and earlier: M2.5 screws (M2.5×10 for the V3 case) - Case
v3.2.0andv4.0.0: countersunk Phillips self-tapping screws sold as M2.5×10, measuring 2.4 mm across the thread, 4.8 mm across the head and 10.3 mm overall
- Case
Tools
- Soldering iron and solder
- Wire cutters and strippers
- Multimeter
2. Identify Your PCB Layout
Before soldering, identify which PCB layout you have and follow the matching wiring table.
| PCB V1 | PCB V2 |
|---|---|
![]() | ![]() |
The load cell uses numbered pads 12–15; the battery uses 16 and 17. | The load-cell and power pads are labeled E+, E-, A-, A+, VBAT, and SW+. |
PCB V3 has eight labeled pads: E-, A-, A+, and E+ for the load cell along one edge, and B-, B+, SW+, and SW- for the battery and switch along the edge next to the USB-C connector. The labels are printed on both sides of the board.
PCB V4 has eight plated through-hole pads along its two long edges, next to the USB-C connector. With the top side up (ESP32-C3 module, USB-C connector, and LEDs) and the USB-C connector toward you, the load-cell column J3 is on the left (E+, S+, S-, E-, from the module end) and the battery/switch column J4 is on the right (SW-, SW+, B+, B-). The J3 labels are printed on the bottom side only; the J4 labels are on both sides. The bottom side also has the EN, GND, and BOOT pads for download-mode recovery.
The photos in this chapter show a V1 or V3 PCB, as noted in each caption. Use the tables below—not the wire positions in the photos—to connect a V2 or V4 PCB.
3. Solder the Connections
⚠️ Battery safety: Keep USB power disconnected while wiring. Prevent the battery leads from touching each other, and insulate every splice and switch terminal with heat-shrink tubing. Complete the unpowered checks below before connecting either battery lead.
Load cell
| Function | Typical wire color | PCB V1 pad | PCB V2 pad | PCB V3 pad | PCB V4 pad |
|---|---|---|---|---|---|
| Excitation positive | Red | E+ (15) | E+ | E+ | E+ |
| Excitation negative | Black | E- (14) | E- | E- | E- |
| Signal positive | Green or blue | S+ (12) | A+ | A+ | S+ |
| Signal negative | White | S- (13) | A- | A- | S- |
⚠️ Note: Wire colors are not guaranteed. Confirm the labels or documentation for your load cell before soldering.
Reference photo of the load cell wires after soldering them to a V1 PCB:

Reference photo of a V3 PCB with the load cell wired to E-, A-, A+, and E+, and the battery wired to B- and B+:

Battery and switch
Before soldering the switch terminals, feed both switch wires from inside the case through the switch opening and slide heat-shrink tubing onto them. Solder the switch outside the case; you will press it into the opening later. Do not attach the switch before feeding the wires through the opening.
Leave both battery leads disconnected until instructed to connect them below.
PCB V1
- Solder a wire from
B+ (17)to either switch terminal. - Leave the other switch terminal available for the battery positive wire.
The completed circuit will place the switch in series with the positive lead: battery + → switch → B+ (17).
PCB V2
- Solder a wire from
SW+to either switch terminal. - Connect the other switch terminal to
VBATwith a short jumper. - Plan the shared
E-connection for the load-cell and battery negative wires.- If both wires do not fit cleanly in the pad, make a short insulated pigtail from
E-with one branch for each wire.
- If both wires do not fit cleanly in the pad, make a short insulated pigtail from
The completed connections will be:
battery + → VBATVBAT → switch → SW+battery − → E-
⚠️ Important V2 difference: Unlike V1, V2 keeps
VBATconnected to the battery while the switch is off. This allows the battery to charge while the device is off. Do not place the switch between the battery andVBAT.
PCB V3
- Solder one switch wire to
SW+and the other toSW-. - Feed both wires through the switch opening and solder each one to a switch terminal. The switch has no polarity.
The completed connections will be:
battery + → B+battery − → B-SW+ → switch → SW-
Like V2, V3 keeps B+ connected to the battery while the switch is off, so the battery charges while the device is off. The switch only turns the device on and off; do not place it between the battery and B+.

PCB V4
The battery and switch connections are the same as on V3: battery + → B+, battery − → B-, and SW+ → switch → SW-. On V4, SW+ is tied to B+ on the board.
The V4 pads are plated holes. In the case, every wire reaches its pad from below, so insert each stripped wire from the bottom side, solder it, and trim it flush on the top side. Cut the wires long enough to follow the routes in Install Everything in the Case.
Check before connecting the battery
With both battery leads still disconnected, use a multimeter in continuity or resistance mode to check that:
- Battery positive is not shorted to ground (
B+toB-on V1, V3, and V4, orVBATtoE-on V2). - Each load-cell wire reaches the correct pad for your PCB revision.
- The switch opens and closes its path.
- On V1, check between the free switch terminal and
B+. - On V2, check between
VBATandSW+. - On V3 and V4, check between
SW+andSW-.
- On V1, check between the free switch terminal and
Resolve any unexpected short or open connection before proceeding.
Connect the battery
- PCB V1: connect battery positive (red) to the free switch terminal, then connect battery negative (black) to
B- (16). - PCB V2: connect battery negative (black) to the shared
E-connection, then connect battery positive (red) toVBAT. - PCB V3 and V4: connect battery negative (black) to
B-, then connect battery positive (red) toB+.
4. Install Everything in the Case
PCB V1 and V2
- Place the load cell in its position in the 3D-printed case.
- Route the load cell wires so they are not pinched by the PCB or the lid.
- Place the battery in the battery compartment.

- Position the PCB in the case.
- Tuck the wires neatly around it so nothing sits under the board.
- Insert the KCD11 switch into the switch opening.


PCB V3
In the V3 case, the front wall is the one with the USB-C and switch openings.
-
Place the load cell in the main body with the white strain-gauge cover facing up and its wires toward the front wall.
-
Route the load-cell wires to the front of the case, where the load-cell pads will sit:
- Case
v3.1.0and earlier: run them under the battery position. - Case
v3.2.0: run them forward from the strain-gauge cover, in front of the battery, then along the outer side of the support column nearest the load-cell pads.
- Case
-
Place the battery with its leads at the rear:
- Case
v3.1.0and earlier: lay it flat on top of the load cell. - Case
v3.2.0: set its rear end on the two pads behind the load cell; its front rests on the strain-gauge cover.
Run the leads up behind the battery and forward along its side to the
B-andB+pads. - Case
-
Press the KCD11 switch into the switch opening.
-
Hold the PCB with the ESP32-C3 module and LEDs facing up. Tilt it to insert the USB-C connector into the front-wall opening, then lower the board onto its two support columns in front of the battery.
-
Check that no wire sits on top of the support columns or the battery, where the lid clamps press.
The photos below show case v3.1.0.


PCB V4
In the V4 case, the front wall is the one with the USB-C and switch openings; left and right below are as seen from the front. Install the parts in this order: load cell, switch, battery, PCB. The case model shows where each part sits.
- Place the load cell with the white strain-gauge cover facing the floor and its wires toward the front wall. Fit its four edge notches over the floor pins; it rests on four floor pads, with its wires running under it to the front.
- Press the KCD11 switch into its opening, right of the USB-C opening. Bend its wires up behind the solder joints.
- Lay the battery flat on the top face of the load cell, with the end that its leads leave toward the front wall. If the leads leave off center, turn the battery over so that they leave right of center. Run them right along the front of the battery, through the recess in the PCB support column.
- Hold the PCB with the ESP32-C3 module, USB-C connector, and LEDs facing up. Lower it straight down: the USB-C connector drops into the front-wall opening, which is open at the top, and the board rests on the two fingers of the support column, between the front screw posts.
- Check that each wire reaches its pad from below along its lane: the load-cell wires left of the support column to
J3, and the battery leads right of it toJ4. The switch wires run over the battery beside the board, then forward and down toSW+andSW-. - Check that no wire sits on top of the board or the USB-C connector, where the lid presses.
5. Verify the Powered Wiring
With USB still disconnected, use the multimeter in DC voltage mode to confirm the polarity and switch behavior:
- PCB V1: place the black probe on
B-and the red probe onB+. The meter should show battery voltage only while the switch is on. - PCB V2: place the black probe on
E-. With the red probe, confirm thatVBATalways shows battery voltage andSW+shows battery voltage only while the switch is on. - PCB V3 and V4: place the black probe on
B-. With the red probe, confirm thatB+always shows battery voltage andSW-shows battery voltage only while the switch is on.
Turn the switch off before closing the case.
6. Close the Case
- Place the lid on the main enclosure.
- On V3 and V4, align the lid’s two LED holes over the RGB status LED and the red charging LED.
- On case
v4.0.0, the lip under the lid drops inside the main walls and centers the lid.
- Fasten it with the 4 screws.
- On case
v3.2.0andv4.0.0, the self-tapping screws cut their own thread in the case. Drive them with a hand screwdriver and stop as soon as each head sits flush; on casev4.0.0, the countersunk heads snap off under more torque. When refitting a screw, turn it backwards until it drops into its existing thread before tightening it.
- On case

7. Next Steps
- Flash the firmware (see Firmware).
- Calibrate the device (see Calibration).
PCB Design
The PCB design is maintained in the crimpdeq-pcb repository. Revision 4 is designed with tscircuit; Revisions 1 to 3 were designed with KiCad and remain available at their release tags.
The design is derived from the ESP32-C3-DevKit-RUST-1. It removes unused sensors from the original design and keeps the components needed by Crimpdeq.
Starting with V2, the PCB, firmware, and case are compatible only within the same major version. For example, PCB V4 requires firmware v4.x and case v4.x. PCB V1 uses firmware v0.4.0 and case v0.4.0.
Revision 4 (Current)
Revision 4 (v4.0.0) is a 17 × 31.5 mm four-layer board with components on both sides. Its source is index.circuit.tsx. It keeps the ADS1220 ADC, MAX17048 battery gauge, charging while switched off, and RGB status LED of Revision 3. Compared with Revision 3, it:
- Puts the ESP32-C3 module (with its antenna at the board edge), the USB-C connector, and both LEDs on the top side, and the charger, power path, 3.3 V regulator, battery gauge, and ADC on the bottom side.
- Powers the load cell only while the ADC converts: the ADS1220’s internal low-side switch connects
E-to ground, so the load cell draws no current while the ADC is powered down. - Filters the load-cell inputs against Bluetooth transmissions, which added spikes of up to 0.98 kg to Revision 3 readings.
- Connects the ADS1220’s dedicated data-ready pin and swaps the battery gauge’s I2C pins, so firmware
v3.xdoes not work on it. - Uses a 2 × 2 mm XL-2121RGBC-2812B status LED. Its datasheet specifies full function at 4.5 to 5.5 V, so at 3.3 V its blue and green may be dimmer.
- Names the load-cell signal pads
S+andS-instead ofA+andA-, and tiesSW+toB+on the board. - Adds
EN,GND, andBOOTpads on the bottom side to recover the ESP32-C3 in download mode (see If the flasher cannot connect).
The pads are plated through holes. The J3 load-cell labels are printed on the bottom side only:
The drawings are the assembly drawings from the v4.0.0 release, with the pad labels added. The bottom view is mirrored, as seen from below.
Online Viewer
Explore the PCB, schematic, and 3D model in your browser at tscircuit.crimpdeq.com. The viewer is rebuilt from the main branch of the repository, so it can show changes made after the latest release.
Revision 3
Revision 3 is a 30 × 30 mm four-layer board. Compared with Revision 2, it:
- Replaces the HX711 with an ADS1220 24-bit ADC for the load cell. The ADC uses ratiometric excitation and supports sampling rates from 20 to 1000 Hz.
- Adds dedicated
B-,B+,SW+, andSW-pads, so the battery and switch no longer share pads with the load cell or need a jumper. - Groups the four load-cell pads (
E-,A-,A+,E+) on one edge, near the ADC and away from the antenna. - Keeps charging while switched off, the MAX17048 battery gauge, and the RGB status LED.
The ESP32-C3 module, RGB LED, and charging LED are on the back of the board, which faces the lid in the case. The pads are labeled on both sides:
The schematic below was generated from the v3.0.0 KiCad source. Open the PDF version to zoom in.
Revision 2
Revision 2 adds clearly labeled external wiring pads, a power path that supports charging while switched off, a battery gauge, and an RGB LED. Its battery and switch wiring differs from Revisions 1, 3, and 4; follow the assembly guide.
Revision 1
Revision 1 is a two-layer board that has been tested and works as expected. Its external connections use numbered pads, as shown below.
Production Files
The PCB was sponsored by PCBWay. Working with them was fast and easy, and the resulting boards are high quality.
You can find the production files for the current revision in the latest GitHub release, and its design in the repository. Older revisions are available from the release archive.
How to Manufacture
These steps are for Revision 4 (v4.0.0). There are two ways to order this PCB:
- Using the PCBWay Project page, if it shows the revision you want to build: it already includes the uploaded production files.
- Placing your own PCBWay order using the production files from the repository releases.
Both ways only load the production files; you still need to apply the order settings.
Using PCBWay Projects
-
Open the PCBWay Project page using the button below.
-
Confirm that the revision shown on the project page is the one you want to build. If it is not, place your own order.
-
On the right panel, select PCB+Assembly and click Add to Cart.
-
Apply the order settings.
-
Enter the desired quantity and click Calculate.
⚠️ Note: PCBWay shows two quantity fields. One is the number of PCBs to manufacture, and the other is the number of boards to assemble with components. The minimum PCB quantity is usually 5.
-
Choose your shipping country and shipping method.
-
Click Save to Cart to continue with checkout.
Placing Your Own Order on PCBWay
-
Download these files from the release:
crimpdeq-pcb-v4.0.0-pcbway_gerbers.zip: Gerber and drill filescrimpdeq-pcb-v4.0.0-pcbway_bom.csv: bill of materials for assembly, with substitution notescrimpdeq-pcb-v4.0.0-pcbway_centroid.csv: component placement file for assemblycrimpdeq-pcb-v4.0.0-assembly-top.svgandcrimpdeq-pcb-v4.0.0-assembly-bottom.svg: assembly drawings, which mark pin 1 or the cathode of each partcrimpdeq-pcb-v4.0.0-SHA256SUMS: checksums of the files above
-
Open the PCBWay PCB quote page and upload the Gerber zip.
-
Enable Assembly Service and upload the BOM as the parts list and the centroid file.
-
Apply the order settings, and add the assembly notes to the order.
-
Submit the order and wait for the manufacturer review.
- The manufacturer may contact you with questions about substitutions, assembly notes, or file interpretation.
Order Settings
PCB options:
| Option | Value |
|---|---|
| Board type | Single pieces |
| Size | 17 × 31.5 mm |
| Layers | 4 Layers |
| Material | FR-4, S1000H TG150 |
| Thickness | 1.6 mm |
| Min track/spacing | 5/5 mil |
| Min hole size | 0.3 mm |
| Solder mask | Green |
| Silkscreen | White |
| Surface finish | HASL lead free |
| Via process | Tenting vias |
| Finished copper | 1 oz Cu |
| Inner copper | 1 oz |
If PCBWay asks for the layer order from top to bottom, enter:
| Layer | Gerber file |
|---|---|
| L1 | F_Cu.gbr |
| L2 | In1_Cu.gbr |
| L3 | In2_Cu.gbr |
| L4 | B_Cu.gbr |
Assembly options:
| Option | Value |
|---|---|
| Flexible options | Turnkey |
| Board type | Single pieces |
| Assembly side(s) | Both sides |
| Quantity | Number of boards to assemble |
| Contains sensitive components/parts | No |
| Accept alternatives/substitutes made in China | No |
| Function test | No |
| Firmware loading | No |
⚠️ Note: Revision 4 has components on both sides: the ESP32-C3 module, USB-C connector, and LEDs on the top, and the rest on the bottom. PCBWay selects Top side by default; with it, the bottom-side components are not assembled.
Assembly Notes
Add these notes to the order:
- Reflow the bottom side first; the top side carries the heavy parts (
U1,J2). J2’s four shell legs are pin-in-paste in the top reflow: top paste over the leg pads, none on the bottom.- The
J3andJ4wire pads have no paste; the load-cell and battery wires are hand-soldered afterwards. - Paste is 1:1 on normal pads and 50–60 % on the thermal pads (
U1exposed pad, and theU3andU5exposed pads). - The centroid rotations come from tscircuit: confirm each part’s orientation against the assembly drawings.
⚠️ Note: If the manufacturer contacts you with questions or suggestions and you are unsure how to answer, feel free to email me at [email protected].
3D-Printed Case
The case design is maintained in the crimpdeq-case repository and was created with OpenSCAD.
It consists of two parts (main body and lid) and includes mounting points for the load cell, battery, PCB, and switch.
Download the printable files from the repository releases and choose the case that matches your PCB revision: case v0.4.0 for PCB V1, and the same major version as the PCB from V2 on (for example, case v4.x with PCB V4). Each release includes case_main.stl and case_lid.stl; from v3.1.0, it also includes crimpdeq-case.3mf, a Bambu Studio project with both parts laid out and the print settings applied. Releases up to v3.1.0 ship the STLs in assembly orientation, so lay the lid on its outer face before slicing. Print both parts before assembly.
Revision 4 (Current)
The Revision 4 case, v4.0.0, measures 89.2 × 64.6 × 27.6 mm. It has flat front, rear, and end walls with 45° chamfers and a carabiner slot through each end. It holds the same 800 mAh 102530 battery and countersunk self-tapping screws as case v3.2.0.
- Everything stacks over the load cell. The load cell goes in with its strain-gauge cover facing the floor, on four floor pads, with floor pins in its edge notches. The battery lies flat on its top face, and the PCB sits over the battery, top side up.
- The PCB rests on two fingers of a floor column, with its USB-C connector in a front-wall opening that is open at the top, so the board drops straight in. A pad in the lid presses the top of the USB-C connector, and a pocket in the front wall leaves room for the plug of the USB-C cable.
- The switch sits in the front wall, right of the USB-C connector.
- A lip under the lid drops inside the main walls and centers the lid before the screws go in.
- The two LEDs shine through 0.4 mm windows that close the lid’s LED holes at the outer face, to keep chalk and dust off the board. Print the lid in a light PLA; black PLA blocks the LEDs.
- Neither part needs support material. See the repository README for the recommended print settings.
Before printing the full case, you can print the fit coupon in case/fit_coupon.scad: the front bands of both parts, with the switch opening, USB-C opening, PCB column, screw posts, LED windows, and lid lip. It is not a release file; export it with OpenSCAD:
openscad -D 'part="main"' -o fit_coupon_main.stl case/fit_coupon.scad
openscad -D 'part="lid"' -o fit_coupon_lid.stl case/fit_coupon.scad
Screw the two parts together and check the fits on your printer.
Revision 3
The latest Revision 3 case, v3.2.0, measures 103.3 × 77.4 × 25.5 mm and has a hexagonal plan with a carabiner slot at each end. It holds an 800 mAh 102530 battery and is fastened with 4 countersunk self-tapping screws that seat flush in the lid.
- The PCB sits on two columns in front of the battery, with its USB-C connector in the front wall.
- The battery rests on two pads behind the load cell. Lid hold-downs clamp it onto those pads, and a lid stop in front of it keeps it from sliding forward.
- The lid has separate holes for the RGB status LED and the red charging LED.
- Neither part needs support material. See the repository README for the recommended print settings.
Case v3.1.0 and earlier V3 releases hold the 2000 mAh battery on top of the load cell, partly under the PCB, and use M2.5×10 machine screws; v3.1.0 measures 109.8 × 77.4 × 30.6 mm. The assembly guide lists the parts for each release.
Prototype Assembly
This chapter explains how to build your own Crimpdeq prototype.
1. Required Materials
- ESP32-C3-DevKit-RUST-1
- Other ESP32 boards can work, but you must provide your own battery charging solution.
- Battery Holder
- 18650 Battery
- Other batteries may also work if they can power the device.
- Crane Scale or Amazon alternative
- Other crane scales may also work.
- HX711 module:
- [Optional] Resistors:
- 1× 33 kΩ resistor
- 1× 10 kΩ resistor
2. Disassemble the Crane Scale
- Desolder the battery connections.
- Desolder the four load cell wires (
E-,S-,S+, andE+) from the PCB. - Unscrew and remove the PCB and display.
3. Soldering
-
Modify the HX711 module:
- Set the sample rate to 80 Hz. Most HX711 modules ship with
RATEtied toGND, which sets 10 Hz. To switch to 80 Hz:- Cut the PCB trace to the
RATEpin.- Carefully scratch the trace with a knife.
- Verify with a multimeter that
GNDandRATEare no longer connected.- Take care not to damage adjacent traces.
- Solder the
RATEpin to theDVDDpin. - Verify with a multimeter.
- Cut the PCB trace to the
- [Optional] Improve measurements at 3.3 V. Most HX711 modules are configured for 5 V operation:
- Solder a 20 kΩ to 27 kΩ resistor in parallel with
R1(highlighted in the image):
- For more information, see this blog post.
- This step is optional but improves measurement quality.
- Solder a 20 kΩ to 27 kΩ resistor in parallel with
- Set the sample rate to 80 Hz. Most HX711 modules ship with
-
Connect the load cell to the HX711:
- Solder the four wires from the crane scale to the HX711. Typical color mapping:
HX711 Pin Load Cell Pin Description E+ E+ (Red) Excitation positive (to load cell) E- E- (Black) Excitation negative (to load cell) S+ S+ (Green or blue) Signal positive (from load cell) S- S- (White) Signal negative (from load cell) ⚠️ Note: On some HX711 modules,
S+/S-are labeledA+/A-. Wire colors are not guaranteed, so confirm your load cell’s wiring before soldering. -
Connect the HX711 to the ESP32-C3-DevKit-RUST-1:
| HX711 Pin | ESP32-C3 Pin | Description |
|---|---|---|
| VCC | 3.3V | Power supply (3.3V) |
| GND | GND | Ground |
| DT (Data) | GPIO4 | Data output from HX711 |
| SCK (Clock) | GPIO5 | Clock signal for communication |
- [Optional] Solder the voltage divider:
- Solder one end of the 33 kOhm resistor to
B+on the ESP32-C3-DevKit-RUST-1. - Join the other end of the 33 kOhm resistor with one end of the 10 kOhm resistor, then connect that junction to
GPIO1. - Solder the remaining end of the 10 kOhm resistor to
GND.
- The firmware expects the battery sense on
GPIO1by default. Adjust the firmware configuration if you wire a different pin.
- Solder one end of the 33 kOhm resistor to
- Verify all connections with a multimeter.
4. Adapt the Scale Case
- Create space for the USB connector.
- For example: mark the opening with a pen, then carefully heat a knife and melt the plastic.
- Install the battery holder:
- Glue the battery holder with silicone. Leave the original battery lid opening free so you can route the two battery wires through it.
- Solder the positive wire (red) from the battery holder to a switch/button for power. Then solder the other switch/button pin to
B+on the ESP32-C3-DevKit-RUST-1. - Solder the negative wire (black) from the battery holder to
B-on the ESP32-C3-DevKit-RUST-1.
- Close the case after confirming all components are secure.
5. Next Steps
- Flash firmware
v0.4.0, which uses the HX711 onGPIO4/GPIO5and the battery divider onGPIO1(see Firmware). - Calibrate the device (see Calibration).
Firmware & Flashing
The Crimpdeq firmware is written in async Rust (no_std) using esp-hal and a small set of supporting crates.
This section explains how to flash the firmware to your device and, optionally, how the code is organized.
Choose the Firmware for Your PCB
Each PCB revision needs its own firmware. Use the latest firmware release for your PCB:
| PCB revision | Firmware |
|---|---|
| V1 | v0.4.0 |
| V2 | v2.x |
| V3 | v3.x |
| V4 | v4.x |
| Prototype | v0.4.0 |
⚠️ Note: Firmware for a different revision does not work with your PCB. For example, V3 uses an ADS1220 ADC instead of the HX711 used by V1 and V2, and V4 moves the ADS1220 data-ready signal and the battery gauge pins.
Choose a Flashing Method
There are two supported ways to flash the firmware:
1. Web Tools
- No local setup required
- Fastest way to install the latest release
- Best if you do not plan to modify the firmware
2. Local Setup
- Requires installing Rust and
probe-rs - Lets you build from source and modify the code
- Better for development and debugging
Firmware Internals
If you want to understand or modify the firmware, see the Firmware Details chapter.
If you only want a working device, you can flash the firmware and continue to Calibration.
Flash with Web Tools
This chapter covers how to flash your device with a pre-built binary.
-
Connect the device with a USB-C cable.
-
Download a
.binfrom the GitHub release that matches your PCB revision:- If this is the first time you are flashing Crimpdeq firmware to your device, download
crimpdeq-merged.bin. - If you are updating firmware on a device that is already flashed, download
crimpdeq.bin.
- If this is the first time you are flashing Crimpdeq firmware to your device, download
-
Choose a web flasher. Use either:
- esp.huhn.me
- See this blog post for extra details.
- Adafruit ESPTool
- esp.huhn.me
-
Click
Connectand select the serial port for your ESP board.- In Adafruit ESPTool, the port often appears as
USB/JTAG serial debug unit....
- In Adafruit ESPTool, the port often appears as
-
Click
Eraseonly if this is the first time you are flashing this device.⚠️ Note: Erasing the device also erases stored calibration values. Skip this if the device was already programmed and calibrated.
-
Upload your
.bin:- If you are using
crimpdeq-merged.bin-> address0x0 - If you are using
crimpdeq.bin-> address0x10000
- If you are using
-
Click
Program.
If the Flasher Cannot Connect
If the serial port does not appear, or the flasher cannot connect to it:
- Make sure the device is awake. A sleeping device (status LED off) does not show its serial port. On PCB V3 and V4, turn the switch off and reconnect the USB-C cable: with the switch off, connecting USB restarts the device.
- If it still does not connect, put the ESP32-C3 into download mode. PCB V4 has
EN,GND, andBOOTpads for this on its bottom side, under the ESP32-C3 module (see the pad layout), so take the board out of the case first. Either:- Hold
BOOTtoGNDand briefly connectENtoGND. The pads are 1.5 mm apart, so tweezers can bridge neighboring pads. - With the switch off and USB disconnected, hold
BOOTtoGNDwhile connecting the USB-C cable.
- Hold
- Flash the firmware as described above, then disconnect and reconnect USB with the switch off, or briefly connect
ENtoGND, to start it.
Flash with Local Setup
This chapter covers how to compile and flash the Crimpdeq firmware to your device.
Prerequisites
To build and upload the firmware, install:
- Rust
- The repository’s
rust-toolchain.tomlinstalls thestabletoolchain,rust-src, and the ESP32-C3 target on the first build.
- The repository’s
probe-rs, see installation instructions⚠️ Note: Depending on your OS, you may need extra setup steps:
- Linux: set up udev rules for your debug probe or USB-serial device (see the
probe-rsudev guide). - Windows/macOS: ensure the correct USB drivers are installed and select the appropriate serial port in your tooling.
- Linux: set up udev rules for your debug probe or USB-serial device (see the
How to Build the Firmware
The main branch of the firmware repository targets PCB V4. For an older PCB, check out the release tag for your revision first, for example:
git checkout v3.1.0
To build the firmware, run:
cargo build --release
This compiles the firmware only. To build and flash the device, see Build and Flash your Device.
How to Flash Your Crimpdeq
Erase Device Memory
If this board was previously used for other projects, erase its flash once:
probe-rs erase
⚠️ Note: Erasing is only needed once. Avoid erasing routinely, or you will lose your calibration values.
Build and Flash Your Device
The custom runner configured in .cargo/config.toml builds, flashes, and starts the firmware with:
cargo run --release
Logging is off by default (DEFMT_LOG = "off" in .cargo/config.toml), so the command exits once the firmware starts.
To see log messages, set the log level in .cargo/config.toml or when running the command. The runner then keeps a log monitor open:
DEFMT_LOG=debug cargo run --release
⚠️ Note: On release tags up to
v3.0.0,cargo run --releaseopens a serial monitor even with logging off.
⚠️ Note: If flashing fails to connect to the device, see If the flasher cannot connect.
⚠️ Note: If your DevKit does not include USB-Serial-JTAG, flash over UART by replacing the runner in
.cargo/config.tomlwithespflashinstead ofprobe-rs.
Try the Firmware Without a Load Cell
From firmware v3.1.0, the mock feature simulates the load cell and battery, so you can test the firmware and apps without a load cell or battery on the PCB of the release (V3 for v3.1.0, V4 for v4.x) or on an ESP32-C3 Rust board:
cargo run --release --features mock
The simulated load cell repeats pulls up to 30 kg, the battery discharges to 20 % and charges back, and the device logs the idle timeout instead of going to sleep.
Configuring Environment Variables
If you need to change DEVICE_ID, DEVICE_NAME, or DEVICE_VERSION_NUMBER, update their values in .cargo/config.toml.
After making changes, rebuild and flash the device for the new values to take effect.
Firmware Internals
This chapter describes firmware v4.x for PCB V4. Firmware v3.x for PCB V3 has the same structure, but reads the ADS1220 data-ready signal on its data output, swaps the battery gauge I2C pins, and does not use light sleep. Firmware for PCB V1 and V2 uses an hx711 module instead of ads1220 and has no storage module.
Code Structure
ads1220
This module implements the ADS1220 load-cell ADC driver over SPI. It configures the ADC for ratiometric measurements, selects the sampling rate (20 to 1000 SPS), tares the load cell, and converts readings with the calibration in use. It waits on the dedicated data-ready pin before each read, and sets the ADC’s low-side switch to close while it converts, so the load cell is only powered while the ADC runs.
calibration crate
The calibration crate fits the linear, quadratic and piecewise linear calibration models, converts readings, applies the rules for adding and removing points, and encodes the calibration flash record and BLE details. It has no hardware dependencies, so cargo test-host runs its tests on the computer. Its README documents the models, their data requirements, tare and zero semantics, extrapolation, the record and the BLE extension in full.
ble
This module implements the Bluetooth Low Energy (BLE) functionality:
- Defines the GATT server and services
- Handles advertising and connections
- Defines the Progressor service with data point and control point characteristics
mock
This module simulates the load cell and battery for the mock build, which runs without them (see Try the Firmware Without a Load Cell). In that build, mock_battery_task replaces battery_gauge_task.
progressor
The progressor module implements the Tindeq API used for BLE communication between the ESP32-C3 and a smartphone.
storage
This module stores the calibration (model, curve and points) and the sampling rate in separate flash partitions, so they persist across reboots and writing one cannot erase the other. The calibration partition holds a log of versioned, CRC-checked records, so a write interrupted by a power cut keeps the previous calibration. The factor that firmware v3.0.0 and earlier stored migrates to the same linear calibration, without points.
Main Tasks
The main.rs file defines several asynchronous tasks that run concurrently:
measurement_task:- Initializes the ADS1220.
- Handles taring, calibration, and sampling-rate changes, and reads measurements from the sensor.
- Runs on a higher-priority executor so high sampling rates are not delayed by BLE.
ble_task:- Long-running background task required alongside other BLE tasks.
gatt_events_task:- Processes GATT events such as control-point writes.
data_processing_task:- Sends notifications with batches of data points sized to the connection’s packet size.
connection_state_task:- Tracks the BLE connection until it closes.
battery_gauge_task:- Periodically reads the battery voltage and charge from the MAX17048 fuel gauge.
- Puts the device to sleep when the battery is too low.
status_led_task:- Sets the RGB LED color from the connection and battery state.
storage_task:- Writes changed settings to flash.
deep_sleep_task:- Monitors inactivity; after a timeout, the device enters deep sleep.
usb_host_task:- Keeps the chip out of light sleep while a USB host is connected, so the serial port for flashing and logs stays available.
Communication between tasks occurs via Channels and a shared device state.
Power Saving
From firmware v4.0.0, the chip enters light sleep whenever every task is waiting, and the radio sleeps between BLE events. Drivers that need the chip awake hold a wake lock: the ADS1220 while it converts, and the USB host check while a USB host is connected. The status LED driver is created for each color change and dropped afterwards, because it would otherwise keep the chip awake. After the idle timeout, or when the battery is low, the device enters deep sleep, from which only a power cycle wakes it.
BLE Protocol
The device implements the Tindeq Progressor API on the Progressor service (7e4e1701-1ea6-40c9-9dcc-13d34ffead57). Apps write commands to the control point characteristic (7e4e1703-…): one opcode byte followed by its payload. The device answers with notifications on the data point characteristic (7e4e1702-…), each made of a response code byte, a payload length byte, and the payload. During a measurement, each 0x01 notification carries as many samples as fit in the connection’s packet size, each a weight in kg (f32) followed by the microseconds since the measurement started (u32). Multi-byte values are little-endian.
It supports these standard commands: tare (0x64), start measurement (0x65), stop measurement (0x66), add calibration point (0x69, followed by the weight in kg as an f32), get app version (0x6B), shutdown (0x6E, which closes the connection), sample battery (0x6F), and get Progressor ID (0x70).
Crimpdeq adds these commands, which the Tindeq and Frez apps do not use:
| Opcode | Command | Payload | Response |
|---|---|---|---|
0x72 | Get calibration | none | 0x05 with the calibration factor (f32, NaN for a nonlinear model), then one 0x06 per point with its raw value and weight in kg (f32, f32) |
0x74 | Default calibration | none | 0x05 with the default calibration factor; restores the linear model and clears the calibration points |
0x75 | Set sample rate | samples per second (u16) | 0x07 with the rate in use (u16), which stays unchanged for unsupported rates |
0x76 | Get sample rate | none | 0x07 with the rate in use (u16) |
0x77 | Get battery status | none | 0x08 with the state of charge in percent (u8) and a charging flag (u8) |
0x78 | Remove calibration point | point index (u8) | If removed, the new calibration factor and points, then 0x09 with 1; otherwise only 0x09 with 0 |
0x79 | Get calibration details | none | 0x0A calibration details |
0x7A | Set calibration model | model (u8): 0 linear, 1 quadratic, 2 piecewise | Fits the model to the stored points and uses it if it fits, then the 0x0A details |
0x7B | Set zero | none | With nothing attached, tares and re-anchors the curve at the unloaded reading, then the 0x0A details |
The supported sample rates are 20, 45, 90, 175, 330, 600, and 1000 SPS. The sample rate commands and 0x77 and 0x78 need firmware v3.x or newer; 0x79 to 0x7B need firmware with calibration models: v3.1.0 or newer for PCB V3, and v4.x for PCB V4.
The calibration details are a sequence of 0x0A notifications, each starting with its kind: the model, points and outcome of the last calibration command; the curve coefficients; the calibration coordinates and range; the calibration-fit residuals and the loads at the ends of the calibrated range; the load at the tare; one notification per point with its fitted load; and an end marker. The calibration crate README lists their layout. Measurement packets do not change, so the Tindeq and Frez apps receive readings converted by the model in use. Firmware without the models ignores 0x79 to 0x7B.
Calibration
This guide explains how to calibrate Crimpdeq for accurate measurements.
You can calibrate in two ways: with the Crimpdeq app or nRF Connect.
The Crimpdeq app is recommended because it is simpler and gives visual feedback. It also selects the calibration model: linear, quadratic, or piecewise linear (see Calibration Models).
⚠️ Note: The device ships with a default calibration. Test it first in the Frez or Tindeq app. If accuracy is already good enough for your load cell, you can skip this chapter.
Calibrate with Crimpdeq App
Prerequisites
- Crimpdeq app on your platform:
- Web version (no installation): app.crimpdeq.com
- Not all browsers support WebBluetooth. Check browser compatibility.
- Native builds from the latest release: crimpdeq-app/releases/latest
- Android:
crimpdeq-app-v<x.y.z>.apk - macOS:
crimpdeq-app-v<x.y.z>-macos.zip - Windows:
crimpdeq-app-v<x.y.z>-windows.zip - Linux:
crimpdeq-app-v<x.y.z>-linux.zip
- Android:
- Web version (no installation): app.crimpdeq.com
- A stable mounting point so the device hangs freely and remains still
- At least one known weight (ideally near your typical maximum load)
Calibration Steps
-
Connect to your Crimpdeq
- Launch the Crimpdeq app and grant the Bluetooth permission (Nearby devices on Android 12 and newer, location on Android 11 and older).
- Tap Scan, then tap Connect next to your device.
- Once connected, tap the device status in the app bar to see the battery, voltage, and sample rate. The Firmware field shows the Progressor version that the device reports to apps (
2.0.4), not the Crimpdeq firmware release.
-
Add calibration points
- Open the Calibration tab.
- For each point:
- Hang the corresponding load on the device (or leave it empty for zero).
- Enter the weight value in the app and tap Add Calibration Point.
- Hold the weight still. The app adds the point once the load stays steady for one second, and reports when it does not settle.
- Recommended: Add at least 2 points—zero (nothing hanging) and full scale (the maximum weight you expect to measure). The device supports up to 20 calibration points for finer accuracy.
-
Check the result
- After adding at least 2 points, the Calibration Check plots the points against the curve the device applies and lists the fitted load and residual of each point. Two weights always fit a line, so add a point at a third weight to check a linear calibration; the app then shows the largest and RMS residual. Large residuals point to a swinging load or a wrong weight value. Residuals show how well the curve follows the calibration points, not the accuracy at other loads.
- To discard a bad point, tap its remove icon and confirm. The device removes the point and refits the calibration to the remaining points (firmware
v3.xor newer). - To start over, tap Reset Calibration To Default. This restores the default linear calibration and deletes every stored point.
Adding more calibration points (up to 20) improves measurement accuracy across the full load range.
Calibration Models
Firmware with calibration models (v3.1.0 or newer for PCB V3, v4.x for PCB V4) and Crimpdeq app v0.6.0 or newer let you choose how the device converts readings. The device fits the model to its points; the app shows the model the device reports in use.
| Model | Use | Needs |
|---|---|---|
| Linear | Same sensitivity at every load. The default. | 2 loads; a third checks the fit |
| Quadratic | A sensitivity that changes gradually with the load | 4 loads, one in the middle half of the range |
| Piecewise linear | A sensitivity that changes around one load: two straight lines joined at a break the device finds | 6 loads, 3 on each side of the break |
Loads within 2% of the load range of each other count as one. Start with the linear model and switch only when its residuals show a consistent bend, such as residuals that change sign around one load. A model with more parameters always fits its own points better, so judge it with weights that are not calibration points (see Validate the Calibration).
- Select a model in the Calibration Model card while no measurement is running; the info button explains each model and what it needs. If the stored points do not support it, the device keeps the model in use and the app shows why.
- When you remove or add a point that leaves the points short of what the model needs, the device stores the points but keeps measuring with the previous calibration, and the app shows that the points are not applied yet.
- The app shows the calibrated range, from the lightest to the heaviest calibration load. Outside it, the device extends the curve straight with the slope at the nearest end. The Measurements tab flags readings outside the range as extrapolated.
- Tare subtracts an attached load, such as a hangboard; the curve stays where it was calibrated. Set Unloaded Zero, shown for the quadratic and piecewise models only, is for a device with nothing attached whose zero drifted: it re-anchors the curve at the current unloaded reading. Use it while no measurement is running. A linear reading is the same either way, so Tare is enough for it. The device rejects it when the reading is more than 1 kg from the calibrated zero.
- Firmware without calibration models offers only the linear model. The Tindeq and Frez apps receive readings converted by the model in use.
Validate the Calibration
The residuals in the app are calibration-fit residuals, so check the calibration on the device with known weights:
- Hang the device as it is used and let it settle. Tare with nothing attached, or tap Set Unloaded Zero.
- Load reference weights in ascending steps across the range you use, then unload them in descending steps. At each step, wait until the reading is steady and note it next to the reference weight. Repeat the cycle at least three times.
- Include held-out weights: loads that are not calibration points, and some between them. Their error is the best estimate of the accuracy of the calibration.
- Compare the readings with the reference weights: the error at each load, the difference between the ascending and descending readings (hysteresis), the spread between cycles (repeatability), and the reading after unloading (zero return).
- If the held-out errors are larger than the calibration-fit residuals, the calibration points do not represent the load cell; add points at the loads with the largest errors, or keep a simpler model.
Repeat the check after a firmware update, a large temperature change, or a shock to the load cell.
Sample Rate
With firmware v3.x or newer, the Measurements tab lets you choose the sample rate (20 to 1000 SPS) while no measurement is running. The device keeps the rate across reboots, and the Tindeq and Frez apps receive data at that rate.
Calibrate with nRF Connect
Prerequisites
- nRF Connect installed on your platform:
- A stable mounting point so the device hangs freely and remains still
- At least one known weight (ideally near your typical maximum load)
Calibration Steps
- Connect to Crimpdeq with nRF Connect:
- Launch the app and go to the Scanner tab.
- Find your device (for example,
Progressor_7125) and tapConnect. - Once connected, the app will display the device’s services and characteristics.
- Locate the calibration characteristic:
- Expand Unknown Service.
- Find the characteristic with UUID:
7e4e1703-1ea6-40c9-9dcc-13d34ffead57.
- Compute the hex value of your known weight:
- Open the Floating Point to Hex Converter.
- Select
Single-precision(32-bit) floating point. - Enter your known weight in kilograms in the
Float valuefield. - Click
Convert to hexand save the resultingHex value. - Reverse the order of its four bytes, because the device reads the value in little-endian order.
Example: 75.3 kg →
0x4296999a→9a999642.
- Add the zero point:
- Hang Crimpdeq with no weight attached.
- Send the command
6900000000(add a 0 kg calibration point) to the characteristic:- Tap the Up Arrow icon on the characteristic (
7e4e1703-1ea6-40c9-9dcc-13d34ffead57). - Enter the command as a byte array.
- Tap the Up Arrow icon on the characteristic (
- Add the known-weight point:
- Commands and values are hex strings without spaces (letter case does not matter).
- Attach your known weight to Crimpdeq and wait until it hangs still.
- Build the calibration command by prefixing
69to the reversed hex value.- Example: For 75.3 kg (
9a999642), send:699a999642.
- Example: For 75.3 kg (
- Send this command to the same characteristic (
7e4e1703-1ea6-40c9-9dcc-13d34ffead57).
- The device needs at least two points and accepts up to 20. Repeat this step with other known weights for higher accuracy.
- Verify:
- Remove the weight, send
64to tare, and reattach the weight. - The reported value should be within a small tolerance of the known weight. If not, send
74to restore the default calibration and repeat steps 4-5.
- Remove the weight, send
⚠️ Note:
- Use a weight close to the maximum load you expect to measure (while staying within device limits) for best accuracy.
- Ensure the device is stable and stationary when sending commands.
- Perform calibration in a controlled environment (avoid wind, vibration, and temperature swings).
Battery and Status LED
Charging
To charge the device:
- Plug the device into a power source using a USB-C cable.
- Set the power switch for your PCB revision:
- PCB V1: turn the device on.
- PCB V2, V3, and V4: leave the device either on or off; they support charging while switched off.
- Check that the red charging LED turns on.
- On V3 and V4, the red LED is visible through the smaller of the two holes in the lid.
- When the red LED turns off, charging is complete. Unplug the USB-C cable.
On V3 and V4, the USB-C port and power switch are on the front wall of the case (V3 shown):

Status LED (PCB V2 to V4)
The RGB LED shows the device status:
| LED | Status |
|---|---|
| Blue | On and waiting for a Bluetooth connection |
| Green | Connected to an app |
| Blinking red | Battery low (3.5 V or less); charge it soon |
| Off | Asleep or switched off |
With firmware v2.1.0 or newer, when the battery drops to 3.3 V while not charging, the device turns itself off to protect the battery. The device also sleeps when idle: with firmware v3.x and v4.x, after 4 minutes without a connection or 30 minutes connected without measuring or other commands; with older firmware, after 4 minutes of inactivity. Battery and sample-rate requests from a connected app do not keep it awake. To wake it, disconnect USB and turn the switch off and on again.
⚠️ Note: On V3 and V4, USB power keeps the device running while the cable is connected, even with the switch off.




