Flsun3d / Flsun_Speeder_Pad

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

klipper: https://github.com/Flsun3d/klipper_fs

mainsail: https://github.com/Flsun3d/mainsail_fs

moonraker: https://github.com/Flsun3d/moonraker_fs

  1. If the SpeederPad does not work properly during the process of upgrading or modifying it, you can try to use the method in this tutorial to re-flash the image .

  2. If you need to make some upgrades and your own modifications to the PAD, we strongly recommend making modifications in our published image system to ensure compatibility in later versions.

  3. For the security of your system, it is recommended that you change the password in time after downloading and flashing the image. If you do not need to modify the system, it is recommended that you close the SSH service. Enter "sudo systemctl disable ssh" in SSH and restart it to take effect.

Table of Tutorial

Flash Speeder Pad Imager

1.Note: Flashing the imager will reset all configurations and lose all data on your pad, so this operation is only used to restore the original settings of the Speeder Pad

2.Tool

a)A TF card of at least 32 GB is required.

b)A TF card reader.

c)A PC,system is Windows、MacOS or Ubuntu for x86.

3.Step

a)Download this restoration imager:https://drive.google.com/file/d/1-EfPKNNMaQkoYmIX9QEU8t_NB_Pyap9g/view?usp=sharing

b)Download and install Raspberry Pi imager here:https://www.raspberrypi.com/software/

c)Insert the TF card into the PC and double-click to open the imager: image

d)Select your TF card as Storage.

e)Then click Write.

f)Once the imager is written, turn off Speeder Pad if it is on and remove all devices plugged into the USB ports.

g)Insert TF card in Speeder Pad. image

h)Turn on it,A loading bar should appear: image

i)And wait until the bar is fully charged and green, this may take several minutes (10/15 minutes): image

j)When it's done, turn off Speeder Pad and remove the TF card.

k)Turn Speeder Pad back on, it should start normally and arrive on KlipperScreen Splash Screen.

Connect to the network

a)When the printer is not connected

1.When the following interface appears on the printer, please wait for the connection to time out, usually about 1 minute. image

2.Click the "Menu" button at this time, the following interface will appear, please click the "Return" button and wait patiently. image image

3.Please proceed to the next step until the following interface appears. image

4.click the "menu" button to enter the "Network" option to configure the network. image image

5.The connected WIFI needs to be in the same local area network as the computer, tablet or mobile phone to control the Speeder Pad.

6.After selecting the right button of the WIFI you want to connect. image

7.enter the password of this WIFI and click the "Save" button to save. image

8.When prompted with the following screen, click the "Close" button to close the page and return to the "Network" menu. image

9.If it is the first time to connect, please wait for a while. If the IP cannot be displayed, you can click the "Refresh" button in the upper right corner to refresh the address. image

10.If the screen still displays "IP: 0.0.0.0" after clicking the "Refresh" button. image

11.Please click the "Return" button, then click the "System" page. image image

12.After clicking the "System Restart" button, click the "Continue" button to restart the Speeder Pad system. image image

13.When the printer displays the following interface after restarting, please wait for the connection to time out, usually about 1 minute. image

14.At this point, click the "Menu" button, the following interface will appear, please click the "Return" button and wait patiently. image image

15.When this page appears, proceed to the next step. image

16.click the "menu" button to enter the "Network" option to configure the network. image image

17.After the connection is successful, an IP address will be generated, and you can access this IP address through a browser to print online. image

18.If the IP still cannot be displayed after restarting, please try restarting the Speeder Pad again, restarting the router or connecting to another router.

19.If the IP still cannot be displayed after restarting the router, please check that the DHCP service is enabled on your router.

20.Use the computer, tablet or mobile phone in the same local area network which the Speeder Pad is connected,enter :http:// ********* in the URL bar of the browser (IP of the Speeder Pad: the displayed IP address). Here is: http: //192.168.1.18 (for example);If you enter the correct IP, the following page will appear, indicating that the network has been successfully connected. image

b)With the printer connected

1.click the "Configuration" button to enter the "Network" option for network configuration. image image

2.The connected WIFI needs to be in the same local area network as the computer, tablet or mobile phone to control the Speeder Pad.

3.After selecting the right button of the WIFI you want to connect. image

4.Enter the password of this WIFI and click the "Save" button to save. image

5.When prompted with the following screen, click the "Close" button to close the page and return to the "Network" menu. image

6.If it is the first time to connect, please wait for a while. If the IP cannot be displayed, you can click the "Refresh" button in the upper right corner to refresh the address. image

7.If the screen still displays "IP: 0.0.0.0" after clicking the "Refresh" button. image

8.Please click the "Back" button. image

9.Then click the "System" page. image

10.After clicking the "System Restart" button, click the "Continue" button to restart the Speeder Pad system. image image

11.After restarting the system,click the "Configuration" button to enter the "Network" option for network configuration.
image image

12.After the connection is successful, an IP address will be generated, and you can access this IP address through a browser to print online. image

13.If the IP still cannot be displayed after restarting, please try restarting the Speeder Pad again, restarting the router or connecting to another router.

14.If the IP still cannot be displayed after restarting the router, please check that the DHCP service is enabled on your router.

15.Use the computer, tablet or mobile phone in the same local area network which the Speeder Pad is connected,enter :http:// ********* in the URL bar of the browser (IP of the Speeder Pad: the displayed IP address). Here is: http: //192.168.1.18 (for example) If you enter the correct IP, the following page will appear, indicating that the network has been successfully connected. image

SSH Connection

  user: pi
  password: flsun

1.Before connecting, please make sure that the computer you want to operate is in the same local area network as the Speeder Pad, and can normally access the Speeder Pad control page through a browser.

2.Download and install MobaXterm software from this link: https://mobaxterm.mobatek.net/download-home-edition.html

3.Here we recommend downloading the "Portable edition" version. image

4.After starting the software, click the "Session" button. image

5.Click the "SSH" button,enter the IP address of your Speeder Pad in the "Remote Host" field, check "Specify username", enter "pi" and click the "OK" button to complete the SSH setup. image

6.On the new displayed window, enter the password in the new window (the password is not displayed when typing, this is normal): flsun image

7.An authorization window will appear, authorize it. There may also be another window asking you to change your password, please ignore it, click the "No" button. image

8.After connecting, on the left side of the window, you can access and modify the folders and files for uploading and downloading Speeder Pad, and on the right side access the SSH command prompt window: image

Change password

1.Since the initial password of the PAD is the same,if you use it for the first time,it is recommended that you change the password.

2.Enter the following command in the SSH command prompt window:

  sudo passwd pi

3.The system will ask you to enter the current password for verification, please enter:

  flsun

4.Verification is complete, you can enter a new password and press Enter to confirm.

5.NOTE: When entering the password, for the security of the password, you will not be able to see any characters in the window. Please ignore it. Just enter the password and click Enter. image

6.After successfully verifying the password, it will be applied immediately.

Update the firmware

1.If you need to install or re-update the Klipper firmware while your printer is connected to PAD.

2.We provide some compiled firmware, available from here: https://github.com/Flsun3d/Flsun_Speeder_Pad/tree/main/firmware image

3.Select the firmware of the corresponding machine model, download and open the folder where it is located, such as "SR". image

4.After entering the folder, there is usually a "read me" file that tells you how to use it. You can download the firmware that matches your motherboard chip according to the instructions.

5.Please pay attention to the instructions in the folder, please follow the instructions in the folder to download the firmware used, click the file with the suffix .bin and then click the "Download" button to download. image

6.Prepare a TF card and insert it into the computer.

7.The TF card needs to be formatted as FAT32 and the allocation size is 4096. image

8.After downloading, copy all the files in the folder to the root directory of the TF card. image

9.Safely remove the TF card and insert it into the motherboard, then turn on the printer.

10.It only takes a few seconds to install, then pull out the TF card after power off.

11.Usually after the firmware is successfully flashed, the original screen does not work.

12.Usually, after the firmware is installed successfully, the file with the “.BIN “ in the TF card will become the “.CUR “. image

How to use Timelapse

a)Cura software settings

1.Open the Cura software, click Extension - Post Processing - Modify G-CODE. image

2.Click to add a script, select "Insert at layer change". image

3.Select "Before" in the "When to insert" option, fill in "TIMELAPSE_TAKE_FRAME" in "G-code to insert", and click "Close". image

4.If you need to output video after every printing, add "TIMELAPSE_RENDER" to the end code of G-code. Click on "Settings-Printer-manage Printers". image

5.Click "Printer", select your printer model, and click "Machine Settings". image

6.Add "TIMELAPSE_RENDER" to the end code and click "Close". image

7.When the Pad is turned on, insert the camera into the USB port on the right side of the Pad.

b)Web page settings

1.When the Pad is turned on, insert the camera into the USB port on the right side of the Pad.

2.Connect to WIFI, enter the generated IP address into a browser on the same local area network.Click the button in the upper right corner of the webpage, as shown below. image

3.Click the refresh button of "Webcamb". As shown below. image

4.If you want to set the time-lapse camera mode, click the button in the upper right corner of the webpage, as shown below.
image

5.Click "TIMELAPSE" and select the mode you want. image

6.For example: If you want to set the nozzle position,movement speed and distance, you can check "Park Toolhead". image

c)How to print with Timelapse.

1.Save the Gcode file to your computer. image

2.On the webpage, click "G-CODE FILES" and the upload button to upload the G-CODE file to the webpage. image

3.Right-click on the G-CODE file and click "Print start". image

4.After the timelapse configuration is successful, click the Gcode file, and “Timelapse” will be prompted in the pop -up box. image

5.Click "Webcam" on the home page to monitor your printer in real time. image

6.After printing, the video will be automatically saved in "TIMELAPSE" bar. image

7.Right-click the file and click Download. image

Adxl345 usage tutorial

  1. The adxl345 is fixed on the effector module or the hotbed.And the adxl345 is inserted into the port 3 from bottom to top on the right side, which is the "port3" port. image

  2. Open the printer.cfg file on the web page, search for “#[include adxl345.cfg]” and change it to “[include adxl345.cfg]”, click save and restart. image image

  3. For Delta printers, click "Configuration>Input shaper>Finding ADXL>Measure Both" and wait for the measurement. After the measurement, it will restart and return to the main interface. image

  4. For the I3 printer, fix the Adxl345 on the effector module, click "Configuration>Input shaper>Finding ADXL>Measure X" and wait for the measurement. After the measurement is completed, it will restart and return to the main interface. Fix the Adxl345 on the hot bed, click "Configuration>Input shaper>Finding ADXL>Measure Y" again, and wait for the measurement. After the measurement is completed, it will restart and return to the main interface. image image

  5. After unplugging the adxl345 sensor, the printer cannot be connected. Open the printer.cfg file on the web page and search for “[include adxl345.cfg]” and change it to “#[include adxl345.cfg]”, click Save and restart. image

  6. If the adxl345 sensor needs to be inserted into the second port from bottom to top on the right side, which is the "port2" port, you need to open the adxl345.cfg file on the web page to find "usb-0:1.2:1.0" and change it to "usb-0:1.3:1.0" ", click Save and Restart. image image

  7. The output detection data is saved in the tmp directory of SpeederPAD, and can be viewed after logging in through ssh. For detailed tutorials, please view: https://www.klipper3d.org/zh/Measuring_Resonances.html image image image

  8. Enter the following command after ssh login to convert the output csv file into a picture format chart. (If there are previously detected csv data in the tmp directory, please delete and ensure that there are only two csv files with xy data and then execute these two commands) Enter one line at a time, and press the Enter key once after entering a line: ~/klipper/scripts/calibrate_shaper.py /tmp/calibration_data_x_.csv -o /tmp/shaper_calibrate_x.png ~/klipper/scripts/calibrate_shaper.py /tmp/calibration_data_y_.csv -o /tmp/shaper_calibrate_y.png If the PNG image does not appear, click the refresh button. image

  9. You can go to the official website https://flsun3d.com/ and github https://github.com/Flsun3d/Flsun_Speeder_Pad Find the image of the printer V1.2, and find the electronic tutorial and video tutorial on github.

Building and flashing the micro-controller

1.We provide compiled firmware, but because there are many types of printers and motherboards, if your printer is not in the preset configuration, you can try to configure the firmware yourself to make Speeder Pad connect to your printer.

2.In the SSH command prompt window, enter the following commands (input one at a time):

  cd ~/klipper/
  make menuconfig

image image

3.You can contact the company of your motherboard or printer to get the Klipper firmware configuration parameters of your printer, or you can find it through this link: https://github.com/Klipper3d/klipper/tree/master/config image

4.Please contact your printer, motherboard supplier or search the Internet to obtain the chip information of your printer, motherboard and motherboard, and then search for the corresponding configuration file.

5.Taking "Flsun-Q5" as an example, click the "printer-flsun-q5-2020.cfg" file on the left to view the file. image

6.The comments at the top of the printer configuration file describe the settings that need to be set during "make menuconfig". Open the .cfg file in the web browser or text editor, and find these comments near the top of the file.  image

7.Select parameters such as chip structure, chip model, Bootloader offset, external clock, communication port, etc. (Please follow the motherboard configuration) image

8.On the lower right side of the screen are the operating instructions for the compilation environment. image

9.You can use the "direction key" to move up and down, use the "Space/Enter" key to select and confirm, and use the "ESC" key to return or exit.

10.The chip used can be found according to the documentation notes: STM32F103 image

11.In MobaXterm software, click the command prompt window on the right side of the screen, and use the arrow keys to move down, as shown in the figure. Then use the "Space/Enter" key to select and enter the next menu. image

12.When the following screen appears, use the arrow keys to move down four times, select the menu as shown in the figure, and then use the "Space/Enter" key to confirm. image

13.After the selection is successful, you should return to the menu as shown in the figure. At this time, use the arrow keys to move down, and use the "Space/Enter" key to select and enter the next menu.

14.Then select the "STM32F103" option and confirm with the "Space/Enter" key. image

15.This will return to the main menu and the chip configuration section is complete. image

16.Enable the "extra low-level" feature as noted in the documentation. image

17.Use the arrow keys to move up once, select the menu as shown in the figure, and then use the "Space/Enter" key to confirm the selection and enable the "extra low-level" function. image

18.Set Bootloader to 28KiB according to the documentation. image

19.Use the arrow keys to move down four times, select the menu as shown in the figure, and use the "Space/Enter" key to select and enter the next menu. image

20.Use the arrow keys to move down twice, select "28Kib bootloader" and then use the "Space/Enter" key to confirm the selection. image

21.You will now be returned to the main menu and the Bootloader configuration section is complete. image

22.Set up Serial (on USART3 PB11/PB10) as noted in the documentation. image

23.Use the arrow keys to move down twice, select the menu as shown in the figure, and use the "Space/Enter" key to select and enter the next menu. image

24.Use the arrow keys to move down four times to the “(on USART3 PB11/PB10)” menu as shown in the figure, and use the “Space/Enter” key to confirm the selection. image

25.This will return to the main menu, and the serial port configuration part is complete. image

26.The parts not mentioned in the configuration instructions do not need to be configured, just follow the default.

27.After the parameter configuration is completed, press "Q" to save, and then press "Y" to confirm. image

28.If the comments at the top of the printer configuration file describe special steps for "flashing" the final firmware image to the printer control board, then follow those steps.

29.The steps of burning are mentioned in the configuration file, and we should follow the steps of the configuration file. image image

30.Start compiling the firmware by entering the following commands:

  make

31.Find the location where the firmware is stored.

32.Find the firmware in the "/home/pi/klipper/out/" directory obtained on the left side of the MobaXterm software. image

33.Run the mentioned command at the command prompt as instructed by the configuration documentation. image

34.Start compiling the firmware by entering the following commands:

  ./scripts/update_mks_robin.py out/klipper.bin out/Robin_nano.bin

image

35.Prepare a TF card and insert it into the computer.

36.The TF card needs to be formatted as FAT32 and the allocation size is 4096. image

37.Download and copy "Robin_nano.bin" to the TF card according to the instructions of the configuration file. image

38.Find the downloaded file on the left side of the MobaXterm software, right-click to select "Downlad", and then click the left-click to download the file to the root directory of the just formatted TF card. image image

39.Safely remove the TF card and insert it into the motherboard, then turn on the printer.

40.It only takes a few seconds to install, then pull out the TF card after power off.

41.Usually after the firmware is successfully flashed, the original screen does not work.

42.Usually, after the firmware is installed successfully, the file with the “.BIN “ in the TF card will become the “.CUR “. image

43.If your motherboard has no BootLoader and is not an SD card upgrade, please use the following method to upload the firmware.

44.Please unplug all connected devices from the USB port on the Speeder Pad first.

45.Connect the printer to the "Port1" USB port of Speeder Pad with a USB cable. Please keep connection during the firmware upgrade. image

46.In the SSH command prompt window, enter the following commands (input one at a time):

  cd ~/klipper/
  make menuconfig

47.The following steps can refer to the content of steps 3-26 in this part of the tutorial.

48.Select parameters such as chip structure, chip model, Bootloader offset, external clock, communication port, etc. (Use mega2560 as a demonstration, please follow the motherboard configuration) image

49.After the parameter configuration is completed, press "Q" to save, and then press "Y" to confirm. image

50.Start compiling the firmware by entering the following commands (input one at a time): make clean make image

51.Enter the following command to start getting serial port information:

  ls /dev/serial/by-id/*

52.It should report something like:

  /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0

image

53.For common microcontrollers, the firmware can be flashed using something like the following (input one at a time):

  service klipper-1 stop
  make flash FLASH_DEVICE=/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  service klipper start

54.Be sure to update the FLASH_DEVICE parameter with the printer's unique serial port name.

55.Upgrade has been completed: image

Upload configuration to Speeder Pad

1.Create a new folder and rename the folder to "Printer Model + Size + Leveling Method",For example Flsun-Q5, the size is 200200200, and the leveling method is Autolevel, then the folder name is "Flsun-Q5 pro 200200200 Autolevel".

2.The folder contains two files, one is firmware, usually ending with .bin, and the other is printer.cfg. Please write the options for compiling firmware at the beginning of printer.cfg, for example:

    # This file contains common configurations and pin mappings
    # for the Flsun Q5 using the MKS Robin Nano board.
    # To use this config, the firmware should be compiled for the
    # STM32F103. When running "make menuconfig", enable "extra low-level
    # configuration setup", select the 28KiB bootloader, and serial (on
    # USART3 PB11/PB10) communication.
    # Note that the "make flash" command does not work with MKS Robin
    # boards. After running "make", run the following command:
    # ./scripts/update_mks_robin.py out/klipper.bin out/Robin_nano.bin
    # Copy the file out/Robin_nano.bin to an SD card and then restart the
    # printer with that SD card. 

3.Compress this folder and send it to the specified mailbox:flsun_email@163.com

4.We will publish to Speeder Pad library after reviewd.

About