Skip to content

Commit 069b8d1

Browse files
authored
Merge pull request #12 from AFCProject/emu_claymore_updates
* Updated installation guide with clearer wording and expanded post-install setup, including AFC splash screen options and verification steps. * Added HTLF2-Claymore coverage to startup self-test and additional test lane-selection guidance, with shared lane-selection instructions. * Improved `PRINT_START` macro documentation by clarifying the example flow and initial tool handling. * Refined `enable_kick_start` help text and added HTLF2-Claymore’s inherited settings/macro documentation.
2 parents 99aed83 + c4b4dd2 commit 069b8d1

7 files changed

Lines changed: 135 additions & 24 deletions

File tree

docs/configuration/AFC_UnitType_1.cfg.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ timer_delay: 5
259259
# overrides values set in unit (AFC_BoxTurtle/NightOwl/etc) section.
260260
enable_kick_start: True
261261
# Default: True
262-
# Enables full speed espoolers for `kick_start_time` amount to
262+
# Enables full speed espooler's for `kick_start_time` amount to
263263
# help spools to start moving. Setting value here overrides values
264264
# set in unit (AFC_BoxTurtle/NightOwl/etc) section.
265265
kick_start_time: 0.070
@@ -734,7 +734,7 @@ timer_delay: 5
734734
# Can be overridden in the [AFC_stepper] section.
735735
enable_kick_start: True
736736
# Default: True
737-
# Enables full speed espoolers for `kick_start_time` amount to
737+
# Enables full speed espooler's for `kick_start_time` amount to
738738
# help spools to start moving
739739
# Can be overridden in the [AFC_stepper] section.
740740
kick_start_time: 0.070
@@ -1091,6 +1091,11 @@ To switch to a hub that uses a sensor, remove `use_dist_hub: True` and set your
10911091
update `dist_hub` in each `AFC_stepper` section to be around what the PTFE length is between the load sensor and hub sensor. Make sure you run calibration as this
10921092
will then be calibrated to the correct distance.
10931093

1094+
## [AFC_Claymore unit_name] Section
1095+
1096+
HTLF2-Claymore logic is setup to inherit the same settings and macros as an AFC_vivid unit, please refer to the [AFC_vivid](#afc_vivid-unit_name-section) section for macros and configs that are specific to a HTLF2-Claymore unit.
1097+
1098+
10941099
## [servo tool_cut] Section
10951100

10961101
The following options are available for all units (BoxTurtle, HTLF, and NightOwl) and allow for the configuration and

docs/initial-startup/03-install-plugin.md

Lines changed: 102 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Install the AFC Klipper Add-On
22

3-
=== "All Automated Filament Changers"
3+
=== "Supported Automated Filament Changers"
44

55
Your AFC unit works with the [AFC Klipper Add-On](https://github.com/AFCProject/AFC-Klipper-Add-On). The rest of
66
this guide will focus on configuring AFC for use with your unit.
@@ -15,6 +15,15 @@
1515
./install-afc.sh
1616
```
1717

18+
After running `./install-afc.sh` you should now see an AFC splash screen with multiple options
19+
20+
1. Hit `I` then enter to start installing a new system
21+
1. Installer defaults to a BoxTurtle unit, if you have something else, hit `T` then enter to cycle through the different supported units.
22+
1. If you would like to enable/disable options 1-8, choose that option then hit enter to cycle through the options.
23+
1. Installer defaults to using a buffer as a toolhead sensor, if you would like to use a toolhead sensor, hit `9` then enter to cycle until you see sensor.
24+
1. If you know you toolhead sensor pin now, hit `A` then enter and input your pin. If you need to add a pullup(`^`) add this to your pin definition now. ex: `^nh36_0:gpio3`
25+
1. If there are unit specific options for your unit, please make sure these are selected correctly for your setup. ex. If you have a 2 lane EMU with a SLB board, make sure EMU Lane option is set to 2 and EMU board option is set to SLB.
26+
1. Once everything is selected correctly, hit `I` then enter to install AFC and have the proper config files moved into your `printer_data/config/AFC` folder.
1827
The default options for the park, cut, kick, wipe, and tip forming macros can be used if you don't know what to choose.
1928
These can all be changed later by editing `AFC/AFC.cfg` and doing a firmware restart.
2029

@@ -28,6 +37,7 @@
2837
### Post-Installation Configuration
2938
After installation, please ensure you update the following settings:
3039

40+
3141
- In your unit-specific config file (e.g., `AFC/AFC_Turtle_1.cfg` for BoxTurtle):
3242
- `canbus_uuid` if using CAN bus
3343
- `serial` if using USB
@@ -48,6 +58,97 @@
4858

4959
Review all x,y,z positions in the `AFC/AFC_Macro_Vars.cfg` file to ensure they are correct for your printer for any macros
5060
you have enabled.
61+
62+
### Unit specific checks
63+
=== "EMU"
64+
!!! note
65+
Throughout this guide you will see text like `EMU_(x)_lane(x)`, you will not see this in your config file. Instead you will see something like `EMU_1_lane1`, the x's are a place holder to signify a generic unit/lane number for your setup.
66+
67+
#### Verify MCU config file
68+
In AFC/mcu/EMU_(x).cfg file verify that mcu entries looks correct and has all your MCU lanes listed
69+
70+
#### Verify Temperature Sensor
71+
Config file defaults to using BME280 temperature, if you are using the AHT20 sensor then the following needs to be updated in your AFC/AFC_EMU_(x).cfg file. There are also comments in this file to help you update to use the correct settings
72+
73+
1. In `[temperature_sensor lane(x)]` config sections comment out:
74+
```ini
75+
sensor_type: BME280
76+
i2c_address: 118
77+
```
78+
and uncomment:
79+
```
80+
sensor_type: AHT2X
81+
i2c_address: 56
82+
```
83+
1. If using SLB board and would like to use hardware I2C, comment out:
84+
```
85+
i2c_software_scl_pin: EMU_(x)_lane(x):TEMP_SCL
86+
i2c_software_sda_pin: EMU_(x)_lane(x):TEMP_SCA
87+
```
88+
and uncomment:
89+
```
90+
i2c_bus: i2c2_PB10_PB11
91+
```
92+
1. Repeat for all lanes
93+
94+
#### Verifying Led Indicator Settings
95+
Config file defaults to using ebb36/42 settings, if using SLB board make the following changes for all your lanes.
96+
97+
=== "EBB36/42"
98+
1. Uncomment the following AFC_led config section:
99+
```
100+
[AFC_led EMU_(x)_Indicator_(x)]
101+
pin: EMU_(x)_lane(x):RGB
102+
chain_count: 5
103+
color_order: GRBW
104+
initial_RED: 0.0
105+
initial_GREEN: 0.0
106+
initial_BLUE: 0.0
107+
initial_WHITE: 0.0
108+
```
109+
1. Repeat for all lanes
110+
=== "SLB"
111+
112+
1. In `[AFC_stepper lane(x)]` config section comment out:
113+
```
114+
led_index: EMU_(x)_Indicator_(x):1
115+
led_spool_index: EMU_(x)_Indicator_(x):2
116+
```
117+
and uncomment:
118+
```
119+
led_index: EMU_(x)_Indicator_Button_(x):1-4
120+
led_spool_index: EMU_(x)_Indicator_Box_(x):1
121+
```
122+
123+
1. Uncomment the following AFC_led config sections
124+
```
125+
[AFC_led EMU_(x)_Indicator_Button_1]
126+
pin: EMU_(x)_lane(x):RGB_button
127+
chain_count: 4
128+
color_order: GRBW
129+
initial_RED: 0.0
130+
initial_GREEN: 0.0
131+
initial_BLUE: 0.0
132+
initial_WHITE: 0.0
133+
134+
[AFC_led EMU_(x)_Indicator_Box_1]
135+
pin: EMU_(x)_lane(x):RGB_box
136+
chain_count: 1
137+
color_order: GRBW
138+
initial_RED: 0.0
139+
initial_GREEN: 0.0
140+
initial_BLUE: 0.0
141+
initial_WHITE: 0.0
142+
```
143+
1. Repeat for all lanes
144+
145+
#### Using non sensorless hubs
146+
By default AFC EMU configs are setup to run with ["sensorless" hubs](../configuration/AFC_UnitType_1.cfg.md#notes-about-default-emu-config-setup), if you would like to use a hub sensor then make the following changes to your `[AFC_hub EMU_(x)_HUB]` section:
147+
148+
1. For `switch_pin` variable, replace `virtual` with the actual sensor pin you are using for you hub
149+
1. In each `[AFC_stepper lane(x)]` sections update `dist_hub` to be closer to what your actual length is between your lanes load sensor and hub sensor.
150+
1. Remove `use_dist_hub: True` line
151+
1. Update `hub_clear_move_dis: 5` value to be closer to the value that AFC needs to move the filament so its not blocking the hub. Or this value can be removed and AFC will use the default value of 65
51152

52153

53154
For best results, reboot your printer after installing the Add-On and including it in your printer.cfg. This will ensure

docs/initial-startup/04-self-test.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ AFC will run a self-test automatically on startup, this is called the PREP routi
1717
After the self-test completes, you hopefully will see a `HTLF Ready` print out in the console log. If you get `HTLF Not Ready`, you may have a misconfigured AFC
1818
setting, broken pin or some other issue that needs attention.
1919

20+
=== "HTLF2-Claymore"
21+
22+
The self-test will run through each lane from lane1 to lane2 selecting them if filament is loaded into a lane. AFC will also update the LED indicating status for each lane.
23+
24+
After the self-test completes, you hopefully will see a `Claymore Ready` print out in the console log. If you get `Claymore Not Ready`, you may have a misconfigured AFC
25+
setting, broken pin or some other issue that needs attention.
26+
2027
=== "ViViD"
2128

2229
The self-test will run through each lane from lane1 to lane2 selecting them and if filament is loaded into a lane AFC will try and feed to the load sensor to verify that the filament is loaded. AFC will also update the LED indicating status for each lane.

docs/initial-startup/05-additional-tests.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,31 +49,21 @@
4949
reports no errors, move on to the next step.
5050
=== "HTLF"
5151

52-
### Lane selection
53-
54-
Run ``AFC_SELECT_LANE`` command against each lane (once at a time) to verify proper lane selection operation:
55-
56-
- `AFC_SELECT_LANE LANE=lane1`
57-
- `AFC_SELECT_LANE LANE=lane2`
58-
- `AFC_SELECT_LANE LANE=lane3`
59-
- `AFC_SELECT_LANE LANE=lane4`
52+
--8<-- "includes/install/additional_tests_lane_selection.md"
6053

6154
### Homing Unit
6255

6356
Run ``AFC_HOME_UNIT`` command to verify that unit moves selector back to home pin:
6457

6558
- `AFC_HOME_UNIT UNIT=HTLF_1`
6659

67-
=== "ViViD"
60+
=== "HTLF2-Claymore"
6861

69-
### Lane selection
62+
--8<-- "includes/install/additional_tests_lane_selection.md"
7063

71-
Run ``AFC_SELECT_LANE`` command against each lane (once at a time) to verify proper lane selection operation:
64+
=== "ViViD"
7265

73-
- `AFC_SELECT_LANE LANE=lane1`
74-
- `AFC_SELECT_LANE LANE=lane2`
75-
- `AFC_SELECT_LANE LANE=lane3`
76-
- `AFC_SELECT_LANE LANE=lane4`
66+
--8<-- "includes/install/additional_tests_lane_selection.md"
7767

7868
=== "EMU"
7969

docs/initial-startup/10-print-start-macro.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
## Updating your PRINT_START macro
22

33
!!!info
4-
Please note this is just an example macro to show how to incorporate the initial tool into your
5-
print start macro.
4+
Please note this is just an example macro to show how to incorporate the initial tool into your
5+
print start macro.
66

77
Please adjust it to match your printer setup. A good starting point for a PRINT_START macro
88
is [jontek2's "A Better PRINT_START macro"](https://github.com/jontek2/A-better-print_start-macro)
@@ -28,8 +28,6 @@ gcode:
2828
AFC_PARK
2929
3030
M140 S{BED_TEMP} # Set bed temp
31-
M109 S{EXTRUDER_TEMP} # wait for extruder temp
32-
T{initial_tool} #Load Initial Tool
3331
3432
M104 S{S_EXTRUDER_TEMP} # set standby extruder temp
3533
M190 S{BED_TEMP} # wait for bed temp
@@ -39,7 +37,9 @@ gcode:
3937
# Bedmesh or load bedmesh
4038
4139
AFC_PARK
42-
M109 S{EXTRUDER_TEMP} ; wait for extruder temp
40+
41+
M109 S{EXTRUDER_TEMP} # wait for extruder temp
42+
T{initial_tool} #Load Initial Tool
4343
4444
# Add any pre print prime/purge line here
4545
# Start Print
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Lane selection
2+
3+
Run ``AFC_SELECT_LANE`` command against each lane (once at a time) to verify proper lane selection operation:
4+
5+
- `AFC_SELECT_LANE LANE=lane1`
6+
- `AFC_SELECT_LANE LANE=lane2`
7+
- `AFC_SELECT_LANE LANE=lane3`
8+
- `AFC_SELECT_LANE LANE=lane4`

0 commit comments

Comments
 (0)