Skip to content

bdwidth sensor is a optical width and motion sensor for 3D filament.

Notifications You must be signed in to change notification settings

markniu/bdwidth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bdwidth

bdwidth sensor is an optical width and motion sensor for 3D printer.

We have developed a unique algorithm that can automatically compensates for the filament shadow on the CCD sensor even if the filament moves at different distance and angles.

Just power it, then you can measure your filament motion&diameter.

  1. Flow rate adjust: adjust the flow rate in real time

  2. Jam/Runout: Pause the printer while jam or runout (laser optical tracking chip)

  3. Width Accuracy: +/- 0.01mm (high resolution 0.005mm CCD sensor chip)

  4. Connection: USB or I2C, Low power 5V*49mA = 0.245W

  5. No calibration required

  6. firmware update from the usb (Only needs updating when we release a new bdwidth.hex)

  7. No mechanical contact with the filament, no wear due to the use of optical components

Quick start

1.Plug the bdwidth sensor into the USB port or I2C port(it can be any two gpios) on the 3D printer mainboard

2.Install software module

cd  ~
git clone https://github.com/markniu/bdwidth.git
chmod 777 ~/bdwidth/klipper/install.sh
~/bdwidth/klipper/install.sh

3.Configure Klipper

add the following section into your klipper config file,

here we connect the bdwidth to the usb port

[bdwidth]
port:usb
#   usb or i2c 
#i2c_software_scl_pin:PA8
#i2c_software_sda_pin:PA14
#   needed if the port is i2c
serial:/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
#   needed if the port is usb
default_nominal_filament_diameter: 1.75 # (mm)
enable: all
#  disable or enable the sensor after power on.
#   the value should be one of width/motion/all/disable 
#   width(only enable the width function)
#   motion(only enable the motion function)
#   all(enable both the width and motion)
#   disable(disable both the width and motion)
min_diameter: 1.0
#   Minimal allowed diameter for flow rate adjust and runout.
max_diameter: 2.0
#   Maximum allowed diameter for flow rate adjust and runout.
#   The default is default_nominal_filament_diameter + max_difference.
extruder:extruder
runout_delay_length : 8.0  # (mm)
flowrate_adjust_length : 5  # (mm)
pause_on_runout: True
sample_time:2
#  in seconds
sensor_to_nozzle_length: 750
#   The distance from sensor to the melting chamber/hot-end in
#   millimeters (mm). The filament between the sensor and the hot-end
#   will be treated as the default_nominal_filament_diameter. Host
#   module works with FIFO logic. It keeps each sensor value and
#   position in an array and POP them back in correct position. This
#   parameter must be provided.


logging: True
#   Out diameter to terminal and klipper.log can be turn on|of by
#   command.



About

bdwidth sensor is a optical width and motion sensor for 3D filament.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published