Mellow Flyboard FLYF407ZG Klipper Guide

/ / / Mellow Flyboard FLYF407ZG Klipper Guide
3D Printer Parts | Klipper | Motherboards

1. Why should I choose this board?

This Mellow 9 independent motor motherboard is suitable for anyone using high number of stepper motors or sensors. I have chosen this board for my LP Delta project, which is also my Bachelor’s thesis and hopefully a Master’s thesis.

For example: I need so many PWM outputs so I can use many independent fans and so many termistor inputs to measure hotend, bed, environment, drivers and motors temperature

It is also possible to expand this board via external drive interface, EXP1 and EXP2 connectors 

1.1. I have chosen this board for the number of input an output ports

7 PWM controlled high power outputs
6 PWM controlled fan outputs
7 Thermistor inputs
9 Driver slots with SPI/UART/Standalone modes
BL Touch port
Servo port
Wi-Fi option 

1.2 Where to get this board?

1.3 More informations about this board

Visit the official Mellow GitHub that contains more informations, pictures and manuals about this board:

Or visit the official Mellow Aliexpress store with informations about Flyboard:

2. Wiring

2.1. PIN names

Do not worry, most of the pins are already predefined in the Klipper configuration file.
This picture will help you with board installation.

2.2. PIN names

This picture can be better for wiring and driver/sensor installation.

2.3. Input output wiring

This picture will help you with correct wiring and polarity.
Please note that if you want to use optical endstop or another active type (power demanding), you must use a jumper between 5V and + or + and VCC in the Optional limit voltage switch.

2.4. Driver mode

You can simply switch between standalone, SPI and UART driver modes with included jumpers.
Turn off the power supply, remove drivers, reorder jumpers and modify Klipper configuration file.

3. Web interface installation

3.1. Prepare your Raspberry

Choose what Interface you want to Install and complete one of these installation guides.

Klipper
Lukas

Octoprint installation

1. What is an OctoPrint? Octoprint is an awesome feature for any 3D printerYou can print without touching the printer, just by sending the file

Fluidd
Lukas

Fluidd installation

1. What is a Fluidd? Fluidd in lightweight alternative to Octoprint offering the same capabilities (if you forget that Octopint plugins have ever existed). It

Klipper
Lukas

Mainsail installation

1. What is a Mainsail? Mainsail in lightweight alternative to Octoprint offering the same capabilities (if you forget that Octopint plugins have ever existed). It

4. Prepare FW to flash Flyboard

4.1. IP address localization

Start with locating Raspberry in your local network.
I highly recommend installing Advanced IP Scanner CLICK HERE.
Default IP range is usually 192.168.0.1-254 or 192.168.1.1-254.

Locate the Raspberry’s IP address and copy it.

4.2. Connect to Raspberry via SSH connection

Open PuTTY and paste the copied IP address.
Click on Open.

4.3. Verification

You will see this window the first time you connect to the Raspberry from your computer.
Click on Yes.

4.4. Login

Use your Raspberry login, default is pi
Hit Enter.

Enter password for pi account.
Default value is raspberry
If you are not familiar with Linux systems, do not be scared that you will not see the password, not even * characters.

You should see these informations after a successful login

4.5. Mount Klipper dirrectory

Send this cd ~/klipper/ command and hit Enter.

4.6. Make configuration menu

Send this make menuconfig command and hit Enter.

A weird looking menu will pop up.

4.7. Choose Micro-Controller Architecture

A weird looking menu will pop up.
Navigate with keyboard arrows to Micro-Controller Architecture and hit Enter.

4.8. Choose Micro-Controller Architecture

Choose STMicroelectronics STM32 and hit Enter.

4.9. Choose Processor Model

Use keyboard arrows, go down to Processor model and hit Enter.

4.10. Choose Processor Model

Use keyboard arrows, go down to STM32F407 and hit Enter.

4.11. Choose Bootloader offset

Use keyboard arrows, go down to Bootloader offset and hit Enter.

4.12. Choose Bootloader offset

Choose 32KiB bootloader and hit Enter.

4.13. Communication interface

Leave default settings on PA11/12

4.14. Save configuration

Hit Q to finish setup and in the confirmation window.

4.15. Create firmware file

Send this make command and hit Enter.

4.16. Create firmware file

When creating firmware file is finished, you will see where it was exported.
Default path is out/klipper.bin in the Klipper directory.

5. Prepare FW to flash Flyboard

5.1. Install SFTP client

Read and finish this guide below to be able to use SFTP to copy files to Raspberry.

5.2. Insert micro SD card from Flyboard to your computer

Use Total Commander or a similar file manager.
Connect to your Raspberry in one window and navigate to home\pi\klipper\out
Use the second window to open the micro SD card.

5.3. Copy klipper.bin

Delete the firmware.cur file on the micro SD card and copy klipper.bin.

5.4. Rename klipper.bin

Rename Klipper.bin to firmware.bin.

5.5. Insert micro SD card into Flyboard

The power must be off!
Insert micro SD card into the card reader on the Flyboard and turn the power on.

You can remove the card after a few minutes.
To make sure that the flash was succesful, you can check that the firmware.bin was renamed to firmware.cur.

6. Find out and apply device ID

6.1. Download example configuration file

You can download generic-flyboard.cfg from official Klipper GitHub repository.

Or use the generic-flyboard.cfg file that is already on your Raspberry after the Klipper installation.

6.2. Open printer.cfg file

Open the configuration file.

6.3. Locate serial device ID

Please note that the Flyboard must be connected to your Raspberry via USB cable at this point.
Insert this ls /dev/serial/by-id/* command and hit Enter.
Copy the device name in a notepad or another text editor.

6.3. Copy the device ID to printer.cfg

Navigate to [mcu] section in your configuration file and insert the copied serial device id.
Save the file.

6.4. Copy the modified printer.cfg file

Copy the configuration file to Raspberry and replace the original file.

6.5. Reboot both devices

You can do that in the web interface.
And you are done.

7. Configure printer.cfg to your needs

Now is the time to configure your printer.cfg configuration file to your needs.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *