Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Making Your Own Crimpdeq

This chapter explains how to build your own Crimpdeq prototype.

1. Required Materials

2. Disassemble the Crane Scale

Disassembly

  1. Desolder the battery connections.
  2. Desolder the four wires of the load cell (E-, S-, S+ and E+) from the PCB. Crane connections
  3. Unscrew and remove the PCB along with the display.

3. Soldering

  1. Modify the HX711 module:

    1. Set the sample rate to 80 Hz: Most HX711 modules ship with the RATE pin tied to GND, which sets a 10 Hz sample rate. To switch to 80 Hz: HX711 Pinout
      1. Cut the PCB trace to the RATE pin.
        • This can be done by carefully scratching the trace with a knife.
      2. Verify with a multimeter that GND and RATE are no longer connected.
        • Take care not to damage adjacent traces.
      3. Solder the RATE pin to the DVDD pin.
      4. Verify with a multimeter.
    2. [Optional] Optimize measurements for 3.3 V: Most HX711 modules are configured for 5 V operation. To improve measurements at 3.3 V:
      1. Solder, in parallel, a resistor between 20 kΩ and 27 kΩ across R1. R1 is the highlighted resistor in the image: Resistor to modify
      • For more information, see this blog post.
      • This step is optional, but it improves measurement quality.
  2. Connect the Load Cell to the HX711:

    • Solder the 4 wires from the crane scale to the HX711. Typical color mapping:
    HX711 PinLoad Cell PinDescription
    E+E+ (Red)Excitation positive (to load cell)
    E-E- (Black)Excitation negative (to load cell)
    S+S+ (Green)Signal positive (from load cell)
    S-S- (White)Signal negative (from load cell)

    ⚠️ Note: on some HX711 modules the S+/S- pins are labeled A+/A-.

  3. Connect the HX711 to the ESP32-C3-DevKit-RUST-1:

HX711 PinESP32-C3 PinDescription
VCC3.3VPower supply (3.3V)
GNDGNDGround
DT (Data)GPIO4Data output from HX711
SCK (Clock)GPIO5Clock signal for communication

ESP32-C3 Connections

  1. [Optional] Solder the voltage divider:
    1. Solder one end of the 33kΩ resistor to the B+ pin on the ESP32-C3-DevKit-RUST-1.
    2. Join the other end of the 33kΩ resistor and one end of the 10kΩ resistor together, and connect that junction to GPIO1 on the ESP32-C3-DevKit-RUST-1.
    3. Solder the remaining end of the 10kΩ resistor to GND.
    • The firmware expects the battery sense on GPIO1 by default. Adjust the firmware configuration if you wire a different pin.
  2. Verify all connections with a multimeter.

4. Adapt the Scale Case

  1. Create space for the USB connector.
    • For example: place the board to mark the opening with a pen, then carefully heat a knife and melt the plastic to create space.
  2. Install the battery holder:
    1. Glue the battery holder with silicone. Leave the lid for the scale’s original batteries open, you will route the two battery holder wires through that opening.
    2. Solder the positive wire (red) of the battery holder to a switch or button to turn the device on/off, then solder the other pin of the switch/button to the B+ pin of ESP32-C3-DevKit-RUST-1.
    3. Solder the negative wire (black) of the battery holder to the B- pin of the ESP32-C3-DevKit-RUST-1.
  3. Close the case:
    1. Ensure all components are securely installed before closing the case. Assembly

5. Upload the firmware

  1. Connect your device with a USB‑C cable.

  2. Pull the crimpdeq-firmware repository:

    git clone https://github.com/crimpdeq/crimpdeq-firmware
    

    If you don’t have git installed, you can click the green “Code” button on the repository and use the “Download ZIP” option.

  3. Upload the firmware to your device:

    1. Download the binary from the desired GitHub releases.
    2. Flash your device
    • Using esp.huhn.me.
      1. Click “Connect” and select the serial port of your ESP board.
      2. Upload your .bin file.
      3. Click “Program”.
    • Using Adafruit ESPTool
      1. Click Connect and select the serial port of your ESP board (should be named USB/JTAG serial debug unit...)
      2. Upload your .bin file at offset 0x10000
      3. Click Program Flashing with ESPTool

    ⚠️ Note: If this uploading method doesn’t work for you, refer to the Firmware chapter. You may need to install the prerequisites, build, and flash the firmware.

  4. Check whether the default calibration values work for your scale:

    1. Connect your device with the Frez or Tindeq apps.
    2. Use the “Live View” option.
    3. Measure a known weight and verify that Crimpdeq measures the right value.