GithubHelp home page GithubHelp logo

makerbase-mks / mks-skipr Goto Github PK

View Code? Open in Web Editor NEW
87.0 9.0 15.0 11.82 MB

MKS SKIPR is an all-in-one board launched by Makerbase for running Klipper. It integrates the RK3328 SOC running the Klipper host and the STM32F407VET6 MCU responsible for executing specific machine actions. It meets the use of most 3D printers.

License: GNU General Public License v3.0

mks-skipr's Introduction

MKS SKIPR

MKS SKIPR is an all-in-one board launched by Makerbase for running Klipper. It integrates the RK3328 SOC running the Klipper host and the STM32F407VET6 MCU responsible for executing specific machine actions. It meets the use of most 3D printers.

Features and advantages

  • SOC uses Rockchip's 4-core Cortex-A53 architecture RK3328 with Armbian system, perfectly running Klipper host
  • MCU uses STM32F407VET6 of Cortex-M4 architecture, 168Mhz main frequency, easy to control various machine actions
  • Retain the rich interface resources of MKS PI [with 1GBytes of DDR3 memory, support HDMI screen interface, PI-TS35 screen interface, provide wired Ethernet port, 3-way USB interface (can be externally connected to the main control board, USB wireless network card, USB camera, U disk, USB keyboard and mouse, etc.)]
  • Support booting the system from TF card and EMMC module (EMMC module is more stable than TF card, and has faster read and write speed), and provides supporting EMMC burning tools
  • Support 7-axis stepper drive to meet the requirements of most 3D printer models
  • 3 independent MP1584PEN DC/DC modules provide a strong guarantee for the stable operation of the entire board circuit
  • 3-way controllable fans, plus 3-way normally open output, can independently select VIN, 12V or 5V voltage
  • Design Schottky diode protection for MOS circuits and temperature measurement circuits
  • Design the back EMF energy absorption circuit to protect the stepper driver module
  • The Z+ interface can independently set the voltage selection to adapt to different models of PROBE

WIKI

https://github.com/makerbase-mks/MKS-SKIPR/wiki

Wiring Diagram

SKIPR_WIRE

Dimensions

SKIRP_SIZE

Download and install system images

Makerbase provides a complete Klipper firmware transplanted based on the Armbian desktop system, and directly supports klipperScreen. Users only need to download the image file provided by Makerbase, burn it to the EMMC module or TF card, without a lot of construction work(If you have purchased a package that includes an EMMC module, the EMMC module has already been burned into the system before leaving the factory, and you do not need to burn it again unless you want to update a new image.).

Hardware Preparation

  • An EMMC module or A TF memory card not less than 8G
  • TF card reader
  • PC with windows operating system installed
  • Wireless network card or network cable
  • Type_C cable

Software preparation

Flash system files

  1. Insert the MKS EMMC module(need an EMMC adapter) or TF card into the card reader, and insert the card reader into the PC
  2. Format EMMC module or TF card to FAT32 format before flash system files
  3. Unzip the downloaded image file
  4. Run balenaEtcher, import the decompressed image file->Select TF card->Click to start flash
    ddd
  5. After the flashing is finish, insert the MKS EMMC module to the EMMC interface of MKS SKIPR or insert the TF card into the MKS SKIPR's host TF slot, then power on MKS SKIPR board

MKS SKIPR network connection

Using the Ethernet

Just set your router to using DHCP, plug the network cable into the MKS SKIPR, done.

Using USB WiFi Adapter

MKS SKIPR supports USB WiFi Adapter, but not every type is guaranteed to be available. Now, we the types we have tested available include those based on RTL8188CUS(VID:PID = 0bda:8176)/RTL8188EUS(VID:PID = 0bda:8179)/RTL8188GU(RTL8710B)/(VID:PID = 0x0BDA:0xB711). According to the current testing experience, it is not recommended to use adapters based on RTL8188GU(RTL8710B), it has been supported on MKS SKIPR, but it's driver takes a lot of CPU load(about 27% in our test). Other adapters like the one based on RTL8188CUS/RTL8188EUS have a perfect perfomance. Insert the USB WiFi adapter to one of the 3 usb ports of MKS SKIPR, you have two ways to config it to connect to your router.

Through the config file on the TF card

  • Before power on, insert the TF card to the PC with TF card reader, it would generate two disks on PC
  • Open the "Boot" disk, find the config file "wpa_supplicant-wlan0.conf" and open it with text editing software (e.g. notepad, notepad++, etc.)
  • Modify the ssid and psk according to your router, save the config file
  • Remove the TF card from the PC, and insert it to the MKS SKIPR It would connect to your router automatically.

Through the serial software(we using Putty to describe below)

  • Prepare putty according to the steps
  • On the shell, use the command of "armbian-config" to enter config tool, then choose "network" -> "WIFI” to choose the hotpot to connect to the network.

Get the IP of MKS SKIPR

After connect MKS SKIPR to the network, you can get its IP address in two ways

From the Serial software on PC

Enter the command “sudo ifconfig” and view the IP

From KlipperScreen

If you have a PI-TS35 or HDMI screen connected with MKS SKIPR, it would run KlipperScreen after system boot. You can find your IP address on the "Config"->WiFi

Enter Fluidd interface

After connect the MKS SKIPR to the network, you can directly enter the IP address of MKS SKIPR with your PC's browser, and you can enter fluidd interface(Makerbase's image has installed fluidd, of cause you can install other interface).
微信图片_20220628192455

Using Serial software on PC(we using Putty to describe below)

Putty is a famous tool, you can use either SSH or Serial to connect to the MKS SKIPR.

  • Connect the MKS SKIPR with the TYPE-C cable to the PC, supply power to the PI, check the COM port in the device manager of the PC, and then open Putty
  • Select the COM port, set the baud rate to 1500000, and click “Open” to connect

COM

  • If you open a black empty window, click the Enter key, and it will ask you to enter the login user and password
  • There are two users in the system provided by Makerbase:

    root user: root
    user2: mks
    their origin passwords are the same: makerbase

  • After enter the user and password, you can enter the system now.

Config MKS SKIPR's serial parameter on Klipper

On MKS SKIPR, the RK3328 SOC uses the /dev/ttyS0 to connect to the UART1 of STM32F407VET MCU.
On the "printer.cfg" file of Klipper, the serial should be "/dev/ttyS0":
[mcu] serial:/dev/ttyS0

ADXL345 connection and configuration

If you want to use the ADXL345, it is very easy to connect on MKS SKIPR.

The MKS SKIPR image has the acceleration calculation library and the dependent library installed by default, no additional configuration is required, just configure the ADXL345 and test position parameters in the "printer.cfg" file.

  1. Configure adxl345 in the configuration file, copy the following parameters to the "printer.cfg" file
    [mcu rpi] serial: /tmp/klipper_host_mcu [adxl345] cs_pin: rpi:None spi_bus: spidev0.2

  2. Save and restart Klipper, and send the query command after the web interface does not report an error:
    ACCELEROMETER_QUERY

Now the acceleration sensor data can be received. The data is similar to the following:
Recv: // adxl345 values (x, y, z): 430.619210, 831.432400, 8718.156800...

  1. Configure the test position of adxl345, generally installed in the middle of the platform
    [resonance_tester] accel_chip: adxl345 probe_points: 115, 115, 20 # an example

  2. Test acceleration and configure input_shaper data
    Before the test, first increase the acceleration configuration of the printer (you can change it to a smaller value after the test):
    [printer] max_accel: 7000 max_accel_to_decel: 7000

  3. If there is an input_shaper function parameter in the configuration file, you need to send an instruction to turn it off:
    SET_INPUT_SHAPER SHAPER_FREQ_X=0 SHAPER_FREQ_Y=0

  4. Then send the auto test configuration command to start testing the vibration:
    SHAPER_CALIBRATE

  5. After the test, it will return the recommended configuration method and configuration value of the x-axis and y-axis, configure the value in the configuration file, then save and restart, the configuration is similar to the following:
    [input_shaper] shaper_type_x = 3hump_ei shaper_freq_x = 52.4 shaper_type_y = 2hump_ei shaper_freq_y = 37.5

USB camera connection and configuration

The default image of MKS SKIPR has already installed MJPG-Streamer and enable the USB camera. MKS SKIPR supports most of the commonly used USB cameras(but not guaranteed). Normally, just connect your USB camera to one of B-Type USB port on MKS SKIPR, you will see the preview video on the Fluidd interface.
If you don't want to use the USB camera, you had better to disable it to reduce CPU load:
Enter the setting item on the Fluidd interface -> camera -> default -> disable

Use with the tool header modules

Support using SKIPR with the tool header modules like MKS THR36/42, more details refer to : https://github.com/makerbase-mks/MKS-THR36-THR42-UTC

How to modify the device tree file

Refer to https://github.com/makerbase-mks/MKS-PI/blob/main/README.md#how-to-modify-the-device-tree-file

How to rotate 180° for the TS35 display

Refer to https://github.com/makerbase-mks/MKS-PI/blob/main/README.md#how-to-rotate-180-for-the-ts35-display

More information Please refer to MKS SKIPR WIKI

mks-skipr's People

Contributors

makerbase-mks avatar mks-viva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mks-skipr's Issues

CAN functionality

Trying to query for canbus_uuid, but unable to find any devices. any ideas?

Can’t update klipper and moonraker

I have some problem with system updating. Klipper status is “dirty”. I can not update or recovery.
Installed mainsail instead of fluidd. Is this can cause the problem?

1AA33517-B24E-45DD-818A-48B7B4E7F7C1

30F61C95-F6F8-4DA9-9265-A67DDCE3F26E

MKS-SKIPR sd card printing

Hi,
I installed the new board mks-skipr on my printer.
I need to print using the sd card like a normal 3d printer.
I tried to insert the card on the TF-HOST and TF-MCU but i don't see
the gcodes from the Fluid interface or tft35.
How can i configure the board to read SD card ?
Thanks

HDMI doesn't work

What's necessary that HDMI works? If I connect the IPS50 display via HDMI interface, nothing will shown. Is there anything to configure?

how to use HDMI?

hello.

how can i use the HDMI Port? When i connect a HDMI display, my display say "NO SIGNAL"

ADXL345 & PI-TS35 Problem

Hello,
if I connect the ADXL345 as described in the wiki, the PI-TS35 conducts white all the time.
Ist that normal?

USB power delivery

Do the USB ports support the power delivery standard? Especially when used together with the THR42.

3D Model

hi, my SKIPR is on the way. Its possible to get a 3D Model of the board for creating a case for it? Its to new for find some stuff on thinki eg.

'MCU': Unable to connect after power cycle

Hi, until this morning I was more than satisfied with the board. Before that I had a SKR 1.4 Turbo board with a Pi4B. In the last few days I have converted everything to the SKIPR and have already started calibrating the printer, as I have also made a couple of other upgrades. Everything was going great until yesterday, then I switched off the printer and wanted to continue working on the calibration today.... but unfortunately the printer no longer works. After switching on, Klipper no longer sees the MCU.:

mcu 'mcu': Unable to connect
Once the underlying issue is corrected, use the
"FIRMWARE_RESTART" command to reset the firmware, reload the
config, and restart the host software.
Error configuring printer

Nothing changed in the config during the night.
Nevertheless, I checked these and the path is still:

[mcu]
serial: /dev/ttyS0
restart_method: command

My first try was a different SD card for the MCU, the second with the mks_skipr.bin from MKS Github and the third with my own bin with make menuconfig... None of that worked.
To me it looks like some defect. If so, that was my first and last MKS board, I have 3 other printers with SKRs and have never had a broken board. But maybe someone here has an idea I didn't think of.

The clipper log says:

cu 'mcu': Starting serial connect
mcu 'mcu': Unable to open serial port: Could not configure port: (5, 'Input/output error')
webhooks client 281473274428144: New connection
webhooks client 281473274428144: Client info {'program': 'Moonraker', 'version': 'v0.8.0-23-g18f5ff4'}
mcu 'mcu': Unable to open serial port: Could not configure port: (5, 'Input/output error')
mcu 'mcu': Unable to open serial port: Could not configure port: (5, 'Input/output error')
mcu 'mcu': Unable to open serial port: Could not configure port: (5, 'Input/output error')
mcu 'mcu': Unable to open serial port: Could not configure port: (5, 'Input/output error') 

Klippy log
klippy (2).log

Delete bootloader from MCU

can you give me the bootloader for the MCU because after generating the firmware with klipper I erese and uploaded it with the STLINK programmer and that's how I got screwed.

cant make work wifi doggle

i use RTL8188EUS. Its power on normally i can find it at usb list but at arnbian config i cant find network => wifi. i edit wpa file at boot not succed

No hardware to toggle

Hello all,

in my armbian-image I installed, I could not to toggle some hardware.

either i got one empty field to toggle, or many.

I tried out MKS-PI-Armbian_22.05.0-linux_5.16.20-20220726.img and Armbian-makerbase-k5.16.20-EN-20230301.img.

bye for now DK4YA

Dead Board?

Hi, I have a very annoying issue with this board.

Initially, it worked, copied my printer.cfg across and updated everything and all seemed good until I restarted the board and nothing.

Read through the small amount of info online and found out i shouldn't have updated. As I own a second board for another machine that I bought at the same time with another EMMC module I swapped this in and again everything looked like it was working. I did nothing to the configuration this time and no updates just switched the machine off again and decided to download the latest firmware and flash it to the original EMMC.

After flashing and re-installing the machine just sits there with the LEDs on and does nothing. Switched it off again after a good while and tried the working EMMC module and this time it didn't work and just sat there with the LEDs on doing nothing.

Any help would be appreciated.

The boards were purchased in January so not exactly old and this is the first chance I have had to try them.

TMC2209 v3.1 UART Error

Hello, I'm trying to connect tmc2209 v3.1 to UART,
jumper in right place, like in manual

image

But when i configurate tmc2209 section

image

I get an error

image

and log is:

[tmc2209 stepper_x]
uart_pin = PE6
run_current = 0.8
hold_current = 0.5
interpolate = True
stealthchop_threshold = 400
=======================
Unhandled exception during connect
Traceback (most recent call last):
  File "/home/mks/klipper/klippy/klippy.py", line 175, in _connect
    self._read_config()
  File "/home/mks/klipper/klippy/klippy.py", line 141, in _read_config
    self.load_object(config, section_config.get_name(), None)
  File "/home/mks/klipper/klippy/klippy.py", line 121, in load_object
    mod = importlib.import_module('extras.' + module_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/mks/klipper/klippy/extras/tmc2209.py", line 6, in <module>
    from . import tmc2208, tmc2130, tmc, tmc_uart
EOFError: EOF read where object expected
webhooks client 281473650880808: New connection
webhooks client 281473650880808: Client info {'program': 'Moonraker', 'version': 'v0.8.0-30-g110cbd1'}

Is problem with wiring? Or drivers?

BTT TMC5160 v1.2 don't work via spi

This drivers work in BTT SKR2 and FLY Gemini V1.
I have tried different speeds for SPI clock: from 100000 to 4000000 Hz.

Log from Fluidd Console:

12:19:56 // Klipper state: Ready
12:24:39 $ DUMP_TMC STEPPER=stepper_x
12:24:39 // ========== Write-only registers ==========
12:24:39 // GLOBALSCALER: 0000007d globalscaler=125
12:24:39 // IHOLD_IRUN: 00061f0a ihold=10 irun=31 iholddelay=6
12:24:39 // COOLCONF: 00000000
12:24:39 // PWMCONF: c40c001e pwm_ofs=30 pwm_autoscale=1 pwm_autograd=1 pwm_reg=4 pwm_lim=12
12:24:39 // TPOWERDOWN: 0000000a tpowerdown=10
12:24:39 // ========== Queried registers ==========
12:24:39 // GCONF: 00000000
12:24:39 // CHOPCONF: 00010000 tbl=2 mres=0(256usteps)
12:24:39 // GSTAT: 00000800
12:24:39 // DRV_STATUS: ff7ff000 s2vsa=1 s2vsb=1 stealth=1 fsactive=1 csactual=127 stallguard=1 ot=1(OvertempError!) otpw=1(OvertempWarning!) s2ga=1(ShortToGND_A!) s2gb=1(ShortToGND_B!) ola=1(OpenLoad_A!) olb=1(OpenLoad_B!) stst=1
12:24:39 // FACTORY_CONF: 00004000
12:24:39 // IOIN: e00801ff refl_step=1 refr_dir=1 encb_dcen_cfg4=1 enca_dcin_cfg5=1 drv_enn=1 enc_n_dco_cfg6=1 sd_mode=1 swcomp_in=1 version=0xe0
12:24:39 // LOST_STEPS: 00000000
12:24:39 // MSCNT: f0040000
12:24:39 // MSCURACT: ffbfdfe0 cur_a=-32 cur_b=-65
12:24:39 // OTP_READ: 7fe00001 otp_fclktrim=1
12:24:39 // PWM_SCALE: 00400000 pwm_scale_auto=64
12:24:39 // PWM_AUTO: 0007fe00 pwm_grad_auto=7
12:24:39 // TSTEP: 00000000
12:24:49 $ INIT_TMC STEPPER=stepper_x
12:24:50 !! Unable to write tmc spi 'stepper_x' register GLOBALSCALER

https://github.com/makerbase-mks/MKS-SKIPR/files/9401359/klippy.log

MKS-SKIPR USB PRINTING feature

HI,
i installed the new board MKS-SKIPR on my 3d printing.
I like to control it over the USB cable, using the serial port like a normal 3d printer,
it's possible to do this with this board?
thanks.

Neo pixel stealth burner lights not working

I swapped the octopus and raspberry pi on my voron 2.4 to MKS SKIPR everything working fine except the neo pixel leds on stealth burner (3 leds ) i connected the 5 volt, ground and and PC5 on Npixel connector but no luck . any help appreciated.

MCU instructions

I've just received an unit and cannot figure out how to use/flash the mcu.

Flashed latest image to the emmc, connected +12v to input and booted the board, fluid gets up but cannot get info from moonraker.
I would bet that the mcu has already been flashed at factory but tried Kiauh build and flash (when asked i'm not sure if comm interface is serial, can or usb can), nevertheless when it builds the firmware it cannot be flashed to /dev/ttyS0, error 255.

Been looking around and while the docs cover the most inmediate operations, cannot find any information on mcu managment, some guidance would be very helpfull, not sure if I'm doing it completely wrong or my board has a defective mcu.

linux password for moonrarker?

"Moonraker requires sudo access to complete the update. Go to the following URL and provide your linux password: ..."
what is the password? where can i find one?

Power loss detect

Is there a power loss detect location on the skipr? I wanted to add a UPS and PWC.

Wifi

I can't connect to wifi. I use several adapters: COMFAST CF-WU815N; MERCUSYS MW150US; noname on MT7601U; noname on RTL8188FTV. And none of them work on skipr, but on my home pc with manjaro each work correctly. What should i do?

Cant reach the board over WiFi

Hi,
I've been trying to solve a problem since yesterday.
The connection works perfectly with a LAN cable, but the attempt to connect to the WIFI fails.
Only if I enter the command "sudo dhclient -v" via (LAN)SSH does the board find the IP that I have already set in the router for the WiFi connection.
Unfortunately, even then I can't connect properly, when I enter the IP, the Mainsail interface shows the window "Connecting to 192...", alternating with "initializing" but unfortunately it never works beyond this window.
I can then also connect via WiFi through SSH, but unfortunately with errors, as if I had no access to the storage space. Can't make updates aso.

What ive tried:

  • configured "wpa_supplicant-wlan0.conf"
  • added "timeout 5" to the "dhcpcd.conf"
  • edited "/etc/network/interfaces"
  • edited "/etc/netplan/50-cloud-init.yaml"
  • edited "/etc/network/interfaces.d/wlan0"
  • installed realtek drivers
  • tried system on EMMC and on SDCard system

I don't know what to try next. I don't want to leave the printer connected to the LAN cable because I would have to leave a 10m long cable halfway through the room.
I'm using the "comfast cf-wu810n" WiFi Stick that comes with the board.

EDIT for more informations:

Before i "sudo dhclient -v" i get this when i try "ip a":
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether ##:#M:#A:#C:##:## brd ff:ff:ff:ff:ff:ff
inet 192.168.1.3/24 brd 192.168.1.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether ##:#M:#A:#C:##:## brd ff:ff:ff:ff:ff:ff

NO IP for WiFi... after "sudo dhclient -v"

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether ##:#M:#A:#C:##:## brd ff:ff:ff:ff:ff:ff
inet 192.168.1.3/24 brd 192.168.1.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether ##:#M:#A:#C:##:## brd ff:ff:ff:ff:ff:ff
inet 192.168.1.36/24 brd 192.168.1.255 scope global dynamic wlan0
valid_lft 86373sec preferred_lft 86373sec

there is the IP... for LAN 192.168.1.3 and for WiFi 192.168.1.36.... like i set it on my router...

Sapphire Pro Skipr Installation Steps

Hello, Is there any manual for installing Skipr, adjusting, and making the printer ready to print? I never used Klipper just ordered from Ali and now ı am looking to screen and thinking about what to do next :D All manuals for Klipper on Raspberry pi etc. Any help would be great.

Can't invert endstop status using Klipper

I just bought a MKS SKIPR and installed the Klipper on that, but I have a issue when I try to invert the endstop status.
I using the TMC2209 via UART.
I already set (p. ex.) [stepper_x] endstop_pin: PA14 and !PA14 and no effects abut the status, always I get the same.
Looking in Klipper documentation, the ! is the just thing must be changed to invert the sensor status.
Anyone has a clue abut that?
Thanks in advance.

CAN BUS skipr

Hello. I got into the hands of mks skipr. I am engaged in the manufacture of printers and I am looking for a good fee for myself. Mks skipr, good compact board, productive board. But I need it to work completely, help me set it up and I'm ready to buy them in large quantities!!! The essence of the problem: can bus does not work normally. It was possible to connect external boards via the can connector only if you connect the MCU to the HOST via an external USB cable, but this is not convenient and there are no free usb. How to make everything work normally? I did it according to your instructions on your website.

Tmc2208 Standalone(normal mode)

Hello,
I having problem to make work the tmc2208 driver without uart mode. I set the jumpers in normal mode on the board and in printer.cfg i disabled uart mode. When I try to homing keep complaining about Uart pin have to be set. When I take out the "#" then saying cannot read uart .(off course because I don't have uart on tmc2208.

EMMC+PI-TS35 not work property together

If I'm run MKS-SKIPR with PI-TS35 and EMMC module PI-TS35 not work property - problem with screen refresh.
If I'm run MKS-SKIPR with PI-TS35 and SD Card all its OK.
IMG_1239

[BUG] stepper Z not stopping after hitting endstop while homing

When I home an axis the motor moves until the endstop (mechanical endstop) is triggered, bumps back, axis X and Y is ok, but in axis Z the motor doesn't stop moving in the direction of the endstop.

[mcu]
serial: /dev/ttyS0
restart_method: command

[stepper_x]
step_pin:PC14
dir_pin:PC13
enable_pin:!PC15
microsteps: 16
rotation_distance: 40
full_steps_per_rotation:200  #set to 400 for 0.9 degree stepper
endstop_pin:PA14
position_min: 0  
position_endstop: 0
position_max: 220
homing_speed:50
homing_retract_dist:5
homing_positive_dir:false
step_pulse_duration:0.000008

[stepper_y]
step_pin:PE5
dir_pin:PE4
enable_pin:!PD14
microsteps:16
rotation_distance: 40
full_steps_per_rotation:200  #set to 400 for 0.9 degree stepper
endstop_pin:PA15
position_min: 0
position_endstop:0
position_max:220
homing_speed:50
homing_retract_dist:5
homing_positive_dir:false
step_pulse_duration:0.000008

[stepper_z]
step_pin:PE1
dir_pin:PE0
enable_pin: !PE2
microsteps: 16
rotation_distance: 8
full_steps_per_rotation: 200
gear_ratio: 80:16
endstop_pin:probe:z_virtual_endstop ## PB12 for Z-max; endstop have'!' is NO

##  Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0)
##  (+) value = endstop above Z0, (-) value = endstop below
##	Increasing position_endstop brings nozzle closer to the bed
##  After you run Z_ENDSTOP_CALIBRATE, position_endstop will be stored at the very end of your config
# position_endstop: 0
position_max: 245
position_min: 0
homing_speed: 8
second_homing_speed: 3


[extruder]
step_pin:PB5
dir_pin:!PB4
enable_pin:!PB6
microsteps:16
rotation_distance: 34.406	#Bondtech 5mm Drive Gears
gear_ratio: 50:17
full_steps_per_rotation: 200	#200 for 1.8 degree, 400 for 0.9 degree
nozzle_diameter: 0.400
filament_diameter: 1.750
min_temp: 0
max_temp: 260
heater_pin: PB1
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC1
max_power: 1.0
control : pid  
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
pressure_advance: 0.00
pressure_advance_smooth_time: 0.150
max_extrude_cross_section:20
instantaneous_corner_velocity: 1.000
max_extrude_only_distance: 50.0
max_extrude_only_velocity:5000
max_extrude_only_accel:2000
step_pulse_duration:0.000004

[heater_bed]
heater_pin: PD12
sensor_type: Generic 3950
sensor_pin: PC3
max_power: 1.0
control = pid
pid_Kp: 79.79
pid_Ki: 10.82
pid_Kd: 392.19
min_temp: 0
max_temp: 530

#fan for printed model FAN0
[fan]
pin: PA2

#fan for hotend FAN1
#[heater_fan my_nozzle_fan]
[heater_fan fan1]
pin: PA1
shutdown_speed: 1

#fan for control board FAN2
#[heater_fan my_control_fan]
[heater_fan fan2]
pin: PA0
shutdown_speed: 1


####################################################################
#	Homing and Gantry Adjustment Routines
#####################################################################
[idle_timeout]
timeout: 3600

[safe_z_home]
home_xy_position: 110,110 # Change coordinates to the center of your print bed
speed: 50
z_hop: 10                 # Move up 10mm
z_hop_speed: 5

# [quad_gantry_level]
# gantry_corners:
# 	-58,-7
#     308,318
# ##	Probe points
# points:
#     10,10
#     10,200
#     250,200
#     250,10
# speed: 80
# horizontal_move_z: 10
# retries: 1
# retry_tolerance: 0.05
# max_adjust: 30


#####################################################################
# 	Probe
#####################################################################
[probe]
pin:PB15
x_offset: 0
y_offset: 25.0
z_offset: 0.55
speed: 10.0
samples: 2
samples_result: median
sample_retract_dist: 3.0
samples_tolerance: 0.05
samples_tolerance_retries: 1

[printer]
kinematics: cartesian
max_velocity: 500
max_accel: 3000
max_z_velocity: 25
max_z_accel: 30
# max_accel_to_decel: 4000
# square_corner_velocity: 2.0

########################################
# TMC UART configuration
########################################

[tmc2209 stepper_x]
uart_pin: PE6
run_current: 0.8
hold_current: 0.5
interpolate: True
stealthchop_threshold: 400

[tmc2209 stepper_y]
uart_pin: PE3
run_current: 0.8
hold_current: 0.5
interpolate: True
stealthchop_threshold: 400

[tmc2209 stepper_z]
uart_pin: PB7
run_current: 0.8
hold_current: 0.5
interpolate: True
stealthchop_threshold: 120

[tmc2209 extruder]
uart_pin: PB3
run_current: 0.8
hold_current: 0.5
interpolate: True
stealthchop_threshold: 400


########################################
# EXP1 / EXP2 (display) pins
########################################

[board_pins]
aliases:
    # EXP1 header
    EXP1_1=PB2,  EXP1_3=PE11, EXP1_5=PD9, EXP1_7=PE15, EXP1_9=<GND>,
    EXP1_2=PE10, EXP1_4=PD10, EXP1_6=PD8, EXP1_8=PE7,  EXP1_10=<5V>,
    # EXP2 header
    EXP2_1=PA6, EXP2_3=PE9, EXP2_5=PE8, EXP2_7=PD13,  EXP2_9=<GND>,
    EXP2_2=PA5, EXP2_4=PA4, EXP2_6=PA7, EXP2_8=<RST>, EXP2_10=<3.3v>
    # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp1"

######################################################################
# MKS Mini 12864v3.0 (with neopixel backlight leds)
######################################################################

[display]
lcd_type: uc1701
cs_pin: EXP1_3
a0_pin: EXP1_4
rst_pin: EXP1_5
contrast: 63
encoder_pins: ^EXP2_5, ^EXP2_3
click_pin: ^!EXP1_2
## Some micro-controller boards may require an spi bus to be specified:
#spi_bus: spi
## Alternatively, some micro-controller boards may work with software spi:
spi_software_miso_pin: EXP2_1
spi_software_mosi_pin: EXP2_6
spi_software_sclk_pin: EXP2_2

[output_pin beeper]
pin: EXP1_1

[neopixel fysetc_mini12864]
pin: EXP1_6
chain_count: 3
color_order: RGB
initial_RED: 1.0
initial_GREEN: 1.0
initial_BLUE: 0.0


# See the MKS Lcd Config path file for definitions of common LCD displays.

[mcu rpi]
serial: /tmp/klipper_host_mcu

[adxl345]
cs_pin: rpi:None
spi_bus: spidev0.2

[resonance_tester]
accel_chip: adxl345
probe_points:
    100, 100, 20  # an example


[input_shaper]
shaper_freq_x: 68.4
shaper_type_x: mzv
shaper_freq_y: 45.6
shaper_type_y: mzv

[virtual_sdcard]
#path:/home/mks/uploads
path: ~/gcode_files

[pause_resume]

[gcode_macro CANCEL_PRINT]
description: Cancel the actual running print
rename_existing: CANCEL_PRINT_BASE
gcode:
  TURN_OFF_HEATERS
  CANCEL_PRINT_BASE


[display_status]


[gcode_macro G32]
gcode:
    BED_MESH_CLEAR
    G28
    QUAD_GANTRY_LEVEL
    G28

MAX31865

hello!,

I need help with the configuration for MAX31865, I can't get it to work correctly :c. I need to work using the Z4 spi.

USB Host power

Hi,

is it possible to power the "Pi" part of the board with the USB Host port when no power in main power connector ? Thanks

mcu shutdown overload

Durinig printing i receiving "MCU 'mcu' shutdown. Timer too close This often indicates the host computer is overloaded". printer during stantby mem 87%. camera is connected it and no work. use ethernet net connection

CANBUS

How can I activate and use the CANBUS, otherwise the MKS Skipr is not usable for me?

Bom file

Hello, Is it possible to share the bom of parts file ?

list of issues

EMMC not getting detected on 2 TF card readers tried with 2 different adaptors and two EMMCs, TF card readers read other TF cards without problems

ADC out of range on first boot, with nothing connected to board
Internal error during connect: bad marshal data (tuple size out of range) - on second boot
Not getting detected when connected to LAN via cable. Ping to displayed IP - fail
MKS pi screen lags like crasy, hardly ever detects touches - unusable
When connected to any of USB ports, board not getting powered
Same on second skipr board

Rotate screen

I'm put MKS SKIPR with PI-TS35 in to Sapphire PRO printer but screen on PI-TS35 is upside down. It is possible to rotate the screen 180 °.

LCD Rotate

Hello, maybe someone can help me how I can rotate the display that is connected to the ribbon cable?

Hallo, vielleicht kann mir jemand helfen wie ich das Display was mit dem Falchbandkabel verbunden ist rotation kann ?

Stepstick Jumpers

where can i find a manual for set stepstick jumpers. on my build i has 2209 for X & Y, 2208 for Z and Z1 and lv8729 for extruder. the tmc´s run on uart and the lv8729 @ 128 steps. i set the jumper analoque to other mks board, can you confirm that i make it right? ;-)

skipr_jumper

Make CAN interface work properly (Not only CAN-to-USB !!!!)

Currently, only CAN-to-USB communication is possible with the SKIPR board. This really sux, as the board has a CAN connector which is not functional as it seems.
I could get my FLY-SB2040 to work in CAN-to-USB mode, but for that I would not have needed the SKIPR board, this would have worked with any other. You are giving away the selling point for your board. PLEASE DO SOMETHING.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.