Skip to content

Commit

Permalink
Add g-code ids to all config files
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasbakken committed Jun 4, 2024
1 parent 9b59d59 commit 1284f57
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions userpatches/overlay/klipper/generic-recore-a5.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,12 @@ sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA6
control: watermark
target_temp: 50
gcode_id: Board

[temperature_sensor cold_junction]
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA7
gcode_id: CJ

# Vout = Vin * 10K/110K = Vin*11
[adc_temperature v]
Expand All @@ -341,6 +343,7 @@ voltage2: 3.3
adc_voltage: 3.3
sensor_pin: PA4
sensor_type: v
gcode_id: Voltage

# 1 A = 20 mV
[adc_temperature current]
Expand All @@ -354,6 +357,7 @@ adc_voltage: 3.3
sensor_pin: PA5
sensor_type: current
max_temp: 20
gcode_id: Current

[gcode_button over_current_alarm]
pin: !ar100:PG0
Expand Down
4 changes: 4 additions & 0 deletions userpatches/overlay/klipper/generic-recore-a6.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,12 @@ sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA6
control: watermark
target_temp: 50
gcode_id: Board

[temperature_sensor cold_junction]
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA7
gcode_id: CJ

# Vout = Vin * 10K/110K = Vin*11
[adc_temperature v]
Expand All @@ -231,6 +233,7 @@ voltage2: 3.3
adc_voltage: 3.3
sensor_pin: PA4
sensor_type: v
gcode_id: Voltage

# 1 A = 20 mV
[adc_temperature current]
Expand All @@ -244,6 +247,7 @@ adc_voltage: 3.3
sensor_pin: PA5
sensor_type: current
max_temp: 20
gcode_id: Current

[gcode_button over_current_alarm]
pin: !ar100:PF6
Expand Down
5 changes: 5 additions & 0 deletions userpatches/overlay/klipper/generic-recore-a7.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,12 @@ sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA6
control: watermark
target_temp: 50
gcode_id: Board

[temperature_sensor cold_junction]
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA7
gcode_id: CJ

# Vout = Vin * 10K/110K = Vin*11
[adc_temperature v]
Expand All @@ -230,6 +232,7 @@ voltage2: 3.3
adc_voltage: 3.3
sensor_pin: PA4
sensor_type: v
gcode_id: Voltage

# 1 A = 20 mV
[adc_temperature current]
Expand All @@ -243,6 +246,7 @@ adc_voltage: 3.3
sensor_pin: PA5
sensor_type: current
max_temp: 20
gcode_id: Current

[adc_temperature fan_current]
temperature1: 0
Expand All @@ -255,6 +259,7 @@ adc_voltage: 3.3
sensor_pin: PB0
sensor_type: fan_current
max_temp: 2.0
gcode_id: FanCurrent

[gcode_button over_current_alarm]
pin: !ar100:PF6
Expand Down
5 changes: 5 additions & 0 deletions userpatches/overlay/klipper/generic-recore-a8.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,12 @@ sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA6
control: watermark
target_temp: 50
gcode_id: Board

[temperature_sensor cold_junction]
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA7
gcode_id: CJ

# Vout = Vin * 10K/110K = Vin*11
[adc_temperature v]
Expand All @@ -230,6 +232,7 @@ voltage2: 3.3
adc_voltage: 3.3
sensor_pin: PA4
sensor_type: v
gcode_id: Voltage

# 1 A = 20 mV
[adc_temperature current]
Expand All @@ -243,6 +246,7 @@ adc_voltage: 3.3
sensor_pin: PA5
sensor_type: current
max_temp: 20
gcode_id: Current

[adc_temperature fan_current]
temperature1: 0
Expand All @@ -255,6 +259,7 @@ adc_voltage: 3.3
sensor_pin: PB0
sensor_type: fan_current
max_temp: 2.0
gcode_id: FanCurrent

[gcode_button over_current_alarm]
pin: !ar100:PF6
Expand Down

0 comments on commit 1284f57

Please sign in to comment.