Skip to the content
2 layers42 × 42 mmLoadcellSensor, the printed circuit board in 3D

This is a Load Cell based bed leveling sensor based on the RP2040 and TI ADS1235 ADC that should mount onto any vertical MGN12H gantry. My printer is an Ender 3 with a bunch of linear rail mods.

Size
42 × 42 mm
Copper layers
2
Thickness
1.6 mm
Parts
56
Nets
74
Pads
243
Tracks, vias
651, 55
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
30 Mar 2024
Updated
11 Aug 2024

Overview

LoadcellSensor is an open-source printed circuit board by jujojujo2003, from the jujojujo2003/Ender-3-3DPrinter-Load-Cell-Bed-Leveling-Sensor repository on GitHub, published under the MIT licence. It is a 2-layer board of 42 × 42 mm with 56 parts on 74 nets, routed with 651 tracks and 55 vias.

It is built around the RP2040, W25Q128JVSIQ and AP2112K-3.3, with the B4B-XH-A, PTS645SK50SMTR92LFS and WS2812B among its other parts. Its parts include 28 capacitors, 13 resistors, 1 IC and 1 diode. It belongs with the sensors and measurement boards and the RP2040 boards of this library.

Main components

6

README

README.md

Ender-3-3DPrinter-Load-Cell-Bed-Leveling-Sensor

This is a Load Cell based bed leveling sensor that should mount onto any vertical MGN12H gantry It uses

  • ADS1235 ADC due to its 24-bit ADC, 7.2k sampling rate, 128x PGA gain.
  • RP2040 MCU to do all the processing
  • 500g TAL 221 Loadcell due to its compact nature. My gantry weighs around 250g. So make sure to select appropriate loadcell based on your gantry's weight so as to not saturate the loadcell.

My 3d printer is an Ender-3 with 3dFused's linear rail kit and it perfectly works with that.

PCB

PCB Image

You can order this PCB on OSHPark. Alternatively, the KiCad Schematic is available on github and the Digikey parts list here

Source code and mounting bracket

Code

The Arduino IDE code is available here.

Alternatively, you can flash the precompiled binary

Normal Operation

Assembled Sensor

  • If everything is wired correctly, as soon as you power on, the LED should be RED for a few seconds and then turn off. If it flashes red, then there is an error. Try connecting the USB port and check the debug message printed to serial.

Initialization

  • When the sensor is probing, the LED should turn blue to indicate that it is probing and turn green for a short while when triggered.

Triggered

Tuning

DELTA_FOR_TRIGGER is the main tuning variable that controls the sensitivity of the probe.

  • Typically, set DELTA_FOR_TRIGGER to a low value like 1-2 and set is_probing = true
  • Reset your printer and as soon as it starts, the LED should be BLUE. Note that it might get triggers very easily and turn green since the threshold above is low.
  • Keep the filament wire into the extruder tight and try to extrude filament or move the printer head and keep bumping up DELTA_FOR_TRIGGER till such motions don't trigger.
  • Now the probe will only trigger for probing motions

Z-Probe Repeatability Test

Z-Probe Repeatability Test

Parts

56
QtyValueFootprintReferences
110.1uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C8, C11, C12, C13, C14, C15, C16, C17, C19, C20
51nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC23, C24, C25, C26, C28
4100Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2, R3, R4, R13
4MountingHoleMountingHole:MountingHole_3.5mmH1, H2, H3, H4
310ufCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC5, C6, C7
31uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C18, C21
210nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC22, C27
212pFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC9, C10
21kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR8, R9
227Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR5, R6
25.1kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR11, R12
1100kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1
110KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR10
110kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR7
110uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2
112MhzABM3B-12.000MHZ-12-N2Y-T:XTAL_ABM3B-12.000MHZ-12-N2Y-TCRYSTAL1
14.7nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC4
1532610571MolexPicoBlade:MOLEX_532610571BLT-CONN1
1ADS1235IRHBRADS1235IRHBR:VQFN32_5X5_TEXU1
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-53VREG1
1B4B-XH-AConnector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalLOADCELL1
1PTS645SK50SMTR92LFSPushButton:SW_PTS645SK50SMTR92LFSBoot1
1RP2040Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmRP2040
1W25Q128JVSPackage_SO:SOIC-8_5.23x5.23mm_P1.27mmFLASH1
1WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmLED1
1~USB4145-03-0170-C_REVA2:GCT_USB4145-03-0170-C_REVA2USB1
1~Connector_JST:JST_SH_SM03B-SRSS-TB_1x03-1MP_P1.00mm_HorizontalSWD1

Similar boards

  • 2 layers220 × 70 mmBemini rp, the printed circuit board in 3D

    Bemini rp

    ianklug/bemini

    A miniature mechanical keyboard controller with a rotary encoder for staggered-key rhythm games.

    70 parts55CC-BY-SA-4.0
  • 4 layers39.7 × 56.8 mmPicopoweredv3, the printed circuit board in 3D

    Picopoweredv3

    nimitvijayvargee/picopowered

    A simple microcontroller built around the RP2040.

    54 parts1
  • 4 layers76 × 50 mmWigglecam, the printed circuit board in 3D

    Wigglecam

    jadenrhee/wigglecam-controller

    RP2040 co-processor board for a 4-lens wigglegram camera: constant-current flash, controls, battery telemetry, Pi 5 I2C interface. 4-layer, DRC-clean, fab-ready.

    105 parts
  • 4 layers52.8 × 61.2 mmGameboyCartridgeV1.3, the printed circuit board in 3D

    GameboyCartridgeV1.3

    shilga/rp-gameboy-cartridge-hw

    You should order with ENIG (electroless nickel immersion gold) plating. While the cartridge will work with HASL you will getter contact with ENIG and it is less prone to wearing down.

    60 parts72CERN-OHL-P-2.0
  • 2 layers49.8 × 80.8 mmFDRPCB, the printed circuit board in 3D

    FDRPCB

    Samalmeida1028/sdp-team-12

    This is the repository for Team 12's Senior Design Project (SDP)

    42 parts1
  • 2 layers200 × 200 mmFULL BOARD, the printed circuit board in 3D

    FULL BOARD

    AndyPpohl/PCB-Conundrum-Crack

    128 parts1
  • 2 layers83.6 × 107.3 mmShield stm2025, the printed circuit board in 3D

    Shield stm2025

    Rami-Troudi/Electrique-Eurobot-IEEE-INSAT-2026

    Repo for my electrical work for the Eurobot competition

    66 parts1
  • 4 layers46 × 30 mmCan distance sensor, the printed circuit board in 3D

    Can distance sensor

    nlbutts/can_distance_sensor

    This is a small CAN based Time-of-Flight (TOF) sensor. It determines the distance to an object and sends the resulting message on the CAN bus.

    74 partsMIT

Questions

How big is the LoadcellSensor PCB?

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

What parts does the LoadcellSensor use?

56 parts, built around the RP2040, W25Q128JVSIQ, AP2112K-3.3 and B4B-XH-A. 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 LoadcellSensor KiCad files?

From the jujojujo2003/Ender-3-3DPrinter-Load-Cell-Bed-Leveling-Sensor repository on GitHub, at the commit this page was made from: the board is PCB/LoadcellSensor.kicad_pcb and its schematic PCB/LoadcellSensor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the LoadcellSensor 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).