Skip to content

Installation

spooknik edited this page Aug 12, 2024 · 6 revisions

Installation

Step 1

Download flap_main.cfg and flap_temp_control.cfg. Upload them to your Klipper config folder.

Step 2

Open flap_main.cfg in Klipper

Step 3

Read and adjust any variables you would like. Each variable is explained by the comment.

Step 4

Find the section called PIN ASSIGNMENT

There are two macros you need to assign your filament sensor and unload button to.

image

If you are not certain what your pins are called, check the manual of your mainboard or MCU. Please note that depending on your configuration a ^ before the pin might be required. Please check the Klipper documentation for more details.

If you do not have a button for unloading, simply comment out this section.

image

Save and restart

Step 4.5 (Optional)

Open flap_temp_control.cfg in Klipper

Here you can add, remove or adjust material profiles.

image

To add a material, use the following template: ["PLA",215,200,60]. The first item is the name of the material. It must be in quotes. The 2nd, 3rd, and 4th, numbers are. Extrude temperature, minimum extrude temperature, and heatbed temp, respectively. Remember to add or remove commas as needed between items.

To remove a material, simply delete the item.

Save and restart

Step 5

Open printer.cfg in Klipper

Add:

[include flap_temp_control.cfg]

[include flap_main.cfg]

[save_variables]
filename:~/variables.cfg

Save and restart.

Step 6

If you have configured everything correctly, you should have new macros available in Mainsail and you can test by inserting filament.

Done 🎉

Troubleshooting

The filament load prompt (menu) shows up when I pull filament out of the sensor

You can try to add an ! to the pin assignment. Like this ^!gpio1. This inverts the logic of the pin.

Delay for material load prompt (menu) to show up after inserting filament or running macro

This is caused by having the Console open on the dashboard at the same time. Run the macro on a page without the console and the speed will be greatly improved. I don't have a good work around for this, it logging and showing the console slows things down a bit.

Conflicts with other macros

FLÀP adds the following macros. These might conflict with macros you already have in your setup. Please check to make sure otherwise errors or unintended behavior might occur.

    Filament Load
    FIlament Unload
    Filament Runout
    M600 (Color Change)
    Pause
    Resume
    Cancel

If FLÀP's macros are missing a feature you require, you can of course add it yourself, but this is more of a technical process and it's assumed you know what you are doing.

Clone this wiki locally