跳轉至

霍爾耗材線徑感測器

This document describes Filament Width Sensor host module. Hardware used for developing this host module is based on two Hall linear sensors (ss49e for example). Sensors in the body are located on opposite sides. Principle of operation: two hall sensors work in differential mode, temperature drift same for sensor. Special temperature compensation not needed.

你可以在Thingiverse上找到設計,在Youtube上也有一個裝配視訊

要使用霍爾耗材線徑感測器,請閱讀配置參考G-Code 文件

它如何運作?

Sensor generates two analog output based on calculated filament width. Sum of output voltage always equals to detected filament width. Host module monitors voltage changes and adjusts extrusion multiplier. I use the aux2 connector on a ramps-like board with the analog11 and analog12 pins. You can use different pins and different boards.

菜單變數模板

[menu __main __filament __width_current]
type: command
enable: {'hall_filament_width_sensor' in printer}
name: Dia: {'%.2F' % printer.hall_filament_width_sensor.Diameter}
index: 0

[menu __main __filament __raw_width_current]
type: command
enable: {'hall_filament_width_sensor' in printer}
name: Raw: {'%4.0F' % printer.hall_filament_width_sensor.Raw}
index: 1

校準程式

要獲得原始感測器值,你可以使用菜單中的選項或在終端發送QUERY_RAW_FILAMENT_WIDTH命令。

  1. 插入第一根校準棒(1.5毫米直徑),並得到第一個原始感測器值
  2. 插入第二根校準棒(2.0毫米直徑),並得到第二個原始感測器值
  3. 在配置參數Raw_dia1Raw_dia2中寫入原始感測器值

如何啟用感測器

感測器在開機時預設被禁用。

要啟用感測器,發送ENABLE_FILAMENT_WIDTH_SENSOR命令或將enable參數改為true

記錄

直徑記錄在開機時預設被禁用。

發送ENABLE_FILAMENT_WIDTH_LOG命令開始記錄,發送DISABLE_FILAMENT_WIDTH_LOG命令停止記錄。如果想在開機時啟用日誌記錄,請將logging配置參數設定為true

每個測量間隔都會記錄耗材直徑(預設為10毫米)。

Back to top