Repository navigation
Conversation
pdscomp
force-pushed
the
paul/add-cc2-loadcell
branch
2 times, most recently
from
September 13, 2026 00:26
6a4f3f5 to
641f0dc
Compare
Ports sensor_cs1237.c from Qidi_Q2_Mainline_Klipper and implements a matching cs1237.py host driver following the same LoadCellSensor tap interface as hx71x.py, making it a drop-in config swap alternative. CS1237 features: 10/40/640/1280 SPS, four PGA gains (1x/2x/64x/128x), 24-bit signed output, and a half-duplex DRDY/DOUT data line plus SCLK. Base adaptation for rpmsg-with-new-hx71x: register cs1237 in klippy/extras/load_cell/__init__.py, this lineage's sensor registry. Co-authored-by: MisterSheikh (sensor_cs1237.c source)
- Add cs1237 to the sensor_type list and link it to CS1237 Notes - Document pin naming and the HX711 configuration-swap example - Document MCU firmware opt-in and automatic DRDY pull-up behavior
Implement the CS1237 MCU wire protocol, including its 46-clock configuration transaction. The direction-change pulse between the command and configuration register payload is required; without it the transaction contains only 45 clocks. Cross-checked against the Qidi CS1237 driver.
pdscomp
force-pushed
the
paul/add-cc2-loadcell
branch
from
September 13, 2026 00:40
641f0dc to
303790e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add native CS1237 load-cell support for Elegoo Centauri Carbon 2 via Kalico tap interface.
[load_cell] sensor_type: cs1237support.Testing
test/test_cs1237.py+test/test_imports.py— 10 passedCONFIG_WANT_CS1237=yNotes
Hardware/logic-analyzer validation on CC2 is still needed.
Credit
The CS1237 MCU implementation was adapted from MisterSheikh/Qidi_Q2_Mainline_Klipper (
main), then integrated with Kalico's load-cell and probe interfaces based on the work by @jamesturton on the hx711 tap driver for Centauri Carbon 1.