hall_filament_width_sensor: Added width logging (#2981)

Signed-off-by: Denis Ignatenko deniss979@gmail.com
This commit is contained in:
Denis Ignatenko
2020-06-16 20:36:49 +03:00
committed by GitHub
parent 4c571ea9ac
commit b3298d8992
3 changed files with 32 additions and 0 deletions

View File

@@ -48,6 +48,10 @@ Sensor generates two analog output based on calculated filament width. Sum of ou
# measurement_interval:10
# Sensor readings done with 10 mm intervals by default. If necessary you are free to change this setting
#logging: False
# Out diameter to terminal and klipper.log
# can be turn on|of by command
#Virtual filament_switch_sensor suppurt. Create sensor named hall_filament_width_sensor.
#
#min_diameter:1.0
@@ -75,6 +79,10 @@ Sensor generates two analog output based on calculated filament width. Sum of ou
**QUERY_RAW_FILAMENT_WIDTH** Return the current ADC channel values and RAW sensor value for calibration points
**ENABLE_FILAMENT_WIDTH_LOG** - Turn on diameter logging
**DISABLE_FILAMENT_WIDTH_LOG** - Turn off diameter logging
## Menu variables
**hall_filament_width_sensor.Diameter** current measured filament width in mm
@@ -117,3 +125,7 @@ Save raw values in config
## How to enable sensor
After power on by default sensor disabled.
Enable sensor in start g-code by command **ENABLE_FILAMENT_WIDTH_SENSOR** or change enable parameter in config
## Logging
After power on by default diameter Logging disabled.
Data to log added on every measurement interval (10 mm by default)