Skip to content

markniu/bd_pressure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

102 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto PA Calibration

Overview

Pressure Advance (PA) is one of the most impactful tuning parameters in FDM printing, yet calibrating it correctly is time-consuming, requires print-specific expertise, and must be repeated whenever filament, speed, or temperature changes.

bd_pressure solves this with a dedicated strain-gauge sensor module that measures extruder pressure directly — without printing a single line. It runs an automated calibration routine by simulating extrusion pressure behaviour during acceleration and deceleration, then reports the optimal PA value to the printer firmware over USB or I2C.

The same hardware doubles as a high-precision nozzle probe for bed levelling, acting as a drop-in switch-type endstop on the Z− pin.

License: MIT


Video : https://youtu.be/xD0XgPfmwlg

Image

Features

Feature Description
Automatic PA calibration No calibration prints. Extruder-only routine measures pressure response directly.
Nozzle probe Strain-gauge contact detection for Z homing, Z tilt, bed mesh or work with eddy bed scan sensor.
EMI immunity Sensor mounted zero-distance to PCB — minimal analog trace length eliminates noise pickup.
USB & I2C Flexible host connectivity; works with Klipper and compatible setups.
Broad compatibility Mounting footprint compatible with E3D and Voron toolhead ecosystems.

How It Works

Mode 1 — Pressure Advance Calibration

Rather than printing calibration patterns and analysing them visually, bd_pressure directly measures the mechanical relationship between extruder motor acceleration and filament pressure at the nozzle.

  1. The extruder motor runs a controlled acceleration/deceleration sequence.
  2. The strain gauge measures the resulting force in real time.
  3. The on-board MCU fits a pressure-vs-acceleration curve and derives the optimal PA value.
  4. The result is sent to the printer firmware via USB or I2C.

This approach is conceptually similar to the automated calibration used in the Bambu Lab A1, but uses a strain gauge rather than an eddy current sensor — providing a direct force measurement.

Mode 2 — Nozzle Probe

bd_pressure operates as a standard switch-type endstop sensor:

  1. The printer issues a normal Z homing move.
  2. As the nozzle contacts the bed, the strain gauge detects the resulting force change.
  3. The module asserts a signal on the endstop output — compatible with any mainboard Z− pin.
  4. No additional firmware plugin is required for basic probe operation.

Image Image



Installation & Documentation

Full installation guide, wiring diagrams, and Klipper configuration reference:

pandapi3d.cn/en/bdpressure/home

Image

---

Community & Support

Channel Link
Discord discord.gg/z6ahddnGVU
Facebook group facebook.com/groups/380795976169477
Shop pandapi3d.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages