Giter Site home page Giter Site logo

bigtreetech / bigtreetech-skr-v1.3 Goto Github PK

View Code? Open in Web Editor NEW
1.0K 122.0 1.1K 62.04 MB

32bit board with LPC1768, support marlin2.0 and smoothieware, support lcd2004/12864, On-board TMC2130 SPI interface and TMC2208 UART interface no additional wiring is required

C++ 71.17% C 24.72% Makefile 0.19% Objective-C 2.30% Python 0.82% Shell 0.58% OpenSCAD 0.05% G-code 0.02% HTML 0.01% CSS 0.02% JavaScript 0.04% PHP 0.07%

bigtreetech-skr-v1.3's Introduction

BIGTREETECH-SKR-V1.3

32bit board with LPC1768, support marlin2.0 and smoothieware, support lcd2004/12864, On-board TMC2130 SPI interface and TMC2208 UART interface no additional wiring is

BIGTREETECH SKR V1.3 YouTube Video:here

BIGTREETECH-SKR-V1.4

This article explains how to configure all different TMC2209 dirvers from different procuders in SKR V1.4 & V1.4 Turbo

bigtreetech-skr-v1.3's People

Contributors

anarasha avatar bigtreetech avatar jasonbroker avatar lt1010 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bigtreetech-skr-v1.3's Issues

pins_BIGTREE_SKR_V1.3.h missing definitions to MKS_MINI_12864 #define DOGLCD_CS P1_21 #define DOGLCD_A0 P1_22

Complete pins_BIGTREE_SKR_V1.3.h to fix this issue

/**

  • Marlin 3D Printer Firmware
  • Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  • Based on Sprinter and grbl.
  • Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
  • This program is free software: you can redistribute it and/or modify
  • it under the terms of the GNU General Public License as published by
  • the Free Software Foundation, either version 3 of the License, or
  • (at your option) any later version.
  • This program is distributed in the hope that it will be useful,
  • but WITHOUT ANY WARRANTY; without even the implied warranty of
  • MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  • GNU General Public License for more details.
  • You should have received a copy of the GNU General Public License
  • along with this program. If not, see http://www.gnu.org/licenses/.

*/

#ifndef TARGET_LPC1768
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

#ifndef BOARD_NAME
#define BOARD_NAME "BIGTREE SKR V1.3"
#endif

//
// Servos
//
#define SERVO0_PIN P2_00

//
// Limit Switches
//
#define X_MIN_PIN P1_29
#define X_MAX_PIN P1_28
#define Y_MIN_PIN P1_27
#define Y_MAX_PIN P1_26
#define Z_MIN_PIN P1_25
#define Z_MAX_PIN P1_24

//
// Z Probe (when not Z_MIN_PIN)
//
#ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN P1_24
#endif

//
// Filament Runout Sensor
//
#ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN P1_28
#endif

//
// Steppers
//
#define X_STEP_PIN P2_02
#define X_DIR_PIN P2_06
#define X_ENABLE_PIN P2_01
#ifndef X_CS_PIN
#define X_CS_PIN P1_17
#endif

#define Y_STEP_PIN P0_19
#define Y_DIR_PIN P0_20
#define Y_ENABLE_PIN P2_08
#ifndef Y_CS_PIN
#define Y_CS_PIN P1_15
#endif

#define Z_STEP_PIN P0_22
#define Z_DIR_PIN P2_11
#define Z_ENABLE_PIN P0_21
#ifndef Z_CS_PIN
#define Z_CS_PIN P1_10
#endif

#define E0_STEP_PIN P2_13
#define E0_DIR_PIN P0_11
#define E0_ENABLE_PIN P2_12
#ifndef E0_CS_PIN
#define E0_CS_PIN P1_08
#endif

#define E1_STEP_PIN P0_01
#define E1_DIR_PIN P0_00
#define E1_ENABLE_PIN P0_10
#ifndef E1_CS_PIN
#define E1_CS_PIN P1_01
#endif

//
// Software SPI pins for TMC2130 stepper drivers
//
#if ENABLED(TMC_USE_SW_SPI)
#define TMC_SW_MOSI P4_28
#define TMC_SW_MISO P0_05
#define TMC_SW_SCK P0_04
#endif

#if HAS_DRIVER(TMC2208)
/**

  • TMC2208 stepper drivers
  • Hardware serial communication ports.
  • If undefined software serial is used according to the pins below
    */
    //#define X_HARDWARE_SERIAL Serial
    //#define X2_HARDWARE_SERIAL Serial1
    //#define Y_HARDWARE_SERIAL Serial1
    //#define Y2_HARDWARE_SERIAL Serial1
    //#define Z_HARDWARE_SERIAL Serial1
    //#define Z2_HARDWARE_SERIAL Serial1
    //#define E0_HARDWARE_SERIAL Serial1
    //#define E1_HARDWARE_SERIAL Serial1
    //#define E2_HARDWARE_SERIAL Serial1
    //#define E3_HARDWARE_SERIAL Serial1
    //#define E4_HARDWARE_SERIAL Serial1

//
// Software serial
//
#define X_SERIAL_TX_PIN P4_29
#define X_SERIAL_RX_PIN P1_17

#define Y_SERIAL_TX_PIN P1_16
#define Y_SERIAL_RX_PIN P1_15

#define Z_SERIAL_TX_PIN P1_14
#define Z_SERIAL_RX_PIN P1_10

#define E0_SERIAL_TX_PIN P1_09
#define E0_SERIAL_RX_PIN P1_08

#define E1_SERIAL_TX_PIN P1_04
#define E1_SERIAL_RX_PIN P1_01

#define Z2_SERIAL_TX_PIN P1_04
#define Z2_SERIAL_RX_PIN P1_01

#endif

//
// Temperature Sensors
// 3.3V max when defined as an analog input
//
#define TEMP_BED_PIN 0 // A0 (T0) - (67) - TEMP_BED_PIN
#define TEMP_0_PIN 1 // A1 (T1) - (68) - TEMP_0_PIN
#define TEMP_1_PIN 2 // A2 (T2) - (69) - TEMP_1_PIN

//
// Heaters / Fans
//
#define HEATER_0_PIN P2_07
#if HOTENDS == 1
#define FAN1_PIN P2_04
#else
#define HEATER_1_PIN P2_04
#endif
#define FAN_PIN P2_03
#define HEATER_BED_PIN P2_05

/*
| _____ _____
| NC | · · | GND 5V | · · | GND
| RESET | · · | 1.31(SD_DETECT) (LCD_D7) 1.23 | · · | 1.22 (LCD_D6)
| (MOSI)0.18 | · · | 3.25(BTN_EN2) (LCD_D5) 1.21 | · · | 1.20 (LCD_D4)
| (SD_SS)0.16 | · · | 3.26(BTN_EN1) (LCD_RS) 1.19 | · · | 1.18 (LCD_EN)
| (SCK)0.15 | · · | 0.17(MISO) (BTN_ENC) 0.28 | · · | 1.30 (BEEPER)
|  ̄ ̄  ̄ ̄
| EXP2 EXP1
*/
#if ENABLED(ULTRA_LCD)
#define BEEPER_PIN P1_30 // (37) not 5V tolerant
#define BTN_ENC P0_28 // (58) open-drain

#if ENABLED(CR10_STOCKDISPLAY)
#define LCD_PINS_RS P1_22

#define BTN_EN1         P1_18
#define BTN_EN2         P1_20

#define LCD_PINS_ENABLE P1_23
#define LCD_PINS_D4     P1_21

#else

#define LCD_PINS_RS     P1_19

#define BTN_EN1         P3_26   // (31) J3-2 & AUX-4
#define BTN_EN2         P3_25   // (33) J3-4 & AUX-4
#define SD_DETECT_PIN   P1_31   // (49) (NOT 5V tolerant)

#define LCD_SDSS        P0_16   // (16) J3-7 & AUX-4

#define LCD_PINS_ENABLE P1_18
#define LCD_PINS_D4     P1_20

#if ENABLED(ULTIPANEL)
  #define LCD_PINS_D5   P1_21
  #define LCD_PINS_D6   P1_22
  #define LCD_PINS_D7   P1_23
#endif
//Added By DrDitto  04/06/2019
//In order to Mantain all Related Data of the Board Centralized
//Begin of the changed

#if ENABLED(MKS_MINI_12864)
    #define DOGLCD_CS P1_21
    #define DOGLCD_A0 P1_22
#endif
//End of the change

#endif

#endif // ULTRA_LCD

//#define USB_SD_DISABLED
#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device

#define LPC_SD_LCD // Marlin uses the SD drive attached to the LCD
//#define LPC_SD_ONBOARD // Marlin uses the SD drive on the control board

#if ENABLED(LPC_SD_LCD)

#define SCK_PIN P0_15
#define MISO_PIN P0_17
#define MOSI_PIN P0_18
#define SS_PIN P0_16 // Chip select for SD card used by Marlin
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card

#elif ENABLED(LPC_SD_ONBOARD)

#if ENABLED(USB_SD_ONBOARD)
// When sharing the SD card with a PC we want the menu options to
// mount/unmount the card and refresh it. So we disable card detect.
#define SHARED_SD_CARD
#undef SD_DETECT_PIN
//#define SD_DETECT_PIN P0_27 // (57) open-drain
#endif

#define SCK_PIN P0_07
#define MISO_PIN P0_08
#define MOSI_PIN P0_09
#define SS_PIN P0_06 // Chip select for SD card used by Marlin
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card

#endif
/**

  • Special pins
  • P1_30 (37) (NOT 5V tolerant)
  • P1_31 (49) (NOT 5V tolerant)
  • P0_27 (57) (Open collector)
  • P0_28 (58) (Open collector)
    */

Thermosters Not Working

Plug in thermistors and they read temperature as 0.0 degrees celcius despite correct settings in marlin 2.0. Potentially a short in my board circuitry as not connected to printer yes as still trying to get temperature readings to work. Not even dummy thermistor settings in marlin work on it.

Bootloader for LPC1768

Where can I get and how to install the initial bootloader for the newly soldered LPC1768 ?

[BUG] No TMC2208 connection on SKR v1.3

Description

After removing the jumpers under the Steppers and inserting the UART jumper, TMC2208 is still recognized as "ALL LOW"

Steps to Reproduce

1: Get TMC2208
2: Solder bridge for UART to PDM pin
3: remove jumper between stepper pins on the SKR1.3 board (not sure about that)
4: insert jumper on UART pins for axis
5: insert stepper driver
6: boot up (assuming all configuration in FW is set)

Expected behavior: [What you expect to happen]
UART Connection made

Actual behavior: [What actually happens]
UART Connection ALL LOW

Additional Information

FW Configuration:
@platformio.ini: env_default = LPC1768

  #define MOTHERBOARD BOARD_BIGTREE_SKR_V1_3 
  #define X_DRIVER_TYPE  TMC2208
  #define Y_DRIVER_TYPE  TMC2208
  #define Z_DRIVER_TYPE  TMC2208

Picture of stepper:
https://frupic.frubar.net/shots/38178.jpg

Picture of board:
https://frupic.frubar.net/shots/38177.jpg

Adc pin? For use with zonestar lcd buttons

I have a zonestar LCD controller and have modified the connector so the LCD section functions well. The trouble is when I try to define the adc hardware buttons to the suggested pin (beeper p1_30) in marlin, the skr boots then proceeds to crash are restart.
I know this LCD has been adapted to other boards, but the pins are obviously not similar when it comes to buttons.

Is there a pin free ( maybe from servo port P2_0) that I can use to handle the adc?

Sorry im new to posting here so if any code or files are needed im willing to provide what I have.

SKR v1.3 PS_ON Pin

I am building my own 3d printer, it is a delta printer so I decided to go for a 32-bit board. After some research, I concluded that the SKR 1.3 was the best option. With only one problem. I want to use an ATX power supply but can't find a PS_ON# pin on the SKR 1.3. Is there any way I can assign a PS_ON# pin or cant this board do this? Thanks for the help in advance.

NO MacOS support ??

So I was happy to receive my SKR 1.3 only to realise that there is little or no support for Mac OS. I know the firmware is based on Marlin 2.0x but disappointed to see little or no activity in responding to issues raised her on github. I have tried to use both the original BigTreeTech firmware and also the latest Marlin 2.0 release - flashing it to the board / SD card. I have had very little success in communicating with the board via USB cable (from my Mac) also octopi will not connect or communicate with the board. I am hoping that BigTreeTech will respond to the issues raised her on GitHub very soon

Board does not boot anymore

Hello !

Everything went fine with my new skr 1.3 ( Marlin 2.X ( Ender 5 ) for about 20 prints.
Suddenly when i start my printer i get a constant beep tone and
a blue screen ( Stock Creality screen).
So i disconnected everything switched to 5v jumper and tried to recompile the firmware as usual via PlatformIO.
I get the error "board not found". ( But it shows up normally under windows 7 )

  • Already tried another sd card, same problem.
  • checked fuses
  • pushed reset button , nothing happens, red Led is on all the time.

I am thankful for every hint, thank you in Advance !

Analog or digital pins

I have the BIGTREETECH-SKR-V1.3 and would like to control some RGB LED lights from it on the printer. I'm looking at Thomas Sanladerer setup on YouTube. But i cant see any Analog or digital pins on this board. can i use the End Stop+ pins if so how any help please.

DRV8825 loaded but wont move steppers

I just received the board, installed the firmware, installed correct pins and installed DVR8825 drivers but I get no movement from the stepper motors, not even a slight resistance when turned by hand. I set voltage 0.8 the driver chips are getting hot just don't seem to be working. I rechecked firmware 4 times using atom firmware compiled and uploaded just fine. I'm

<script src="https://gist.github.com/daimein2007/bda8392cc5c4be8bdeb42da9806ed9b0.js"></script>

stumped.

Smoothieware not changing ports after defining.

I have been working on getting this board to work on a K40 laser. When I define the #laser_module_pin to 2.4 . The firmware doesn't seem to respond. When it is commanded to fire through software, the 2.3 mosfet led lights up. So I tried 3 times with 2 different boards (which I may add both ended up breaking) to change the pwm pin . Now through what I have read there is alot of pins that can be used for this function. But without the board doing what it is told it is useless. So I am at a loss. Is there a dev that can help me. I was going to post this setup on several sites to promote it. So please lend a hand!

[BUG] M190 ignored (critical)

The following defect was described in the Marlin 2.0.x build that this one is built from (note link below):

MarlinFirmware/Marlin#13287

The gcode M190 is used to make the gcode wait until the bed has reached the correct temperature. However, in this build, M190 is ignored, so the nozzle and heat bed begin heating at the same time. This can increase the draw on the power supply to above specifications (in my instance, the main fuse on the power switch blew at 4A).

I tested the issue by forcing M190 in the gcode and noticed that both tools began heating concurrently. That's when I found the defect had been documented in the main branch. I assume that this branch came before this defect was addressed.

I believe this is a potentially critical bug because it can cause damage to hardware.

UART not working with bigtreetech TMC2208 v2.0

I configured the board for TMC2208 in UART mode, including the jumpers.
The result of M122:

Send: M906
Recv: X driver current: 600
Recv: Y driver current: 600
Recv: Z driver current: 600
Recv: E driver current: 800
Recv: ok
[...]
Send: M122
Recv: X Y Z E
Recv: Enabled false false false false
Recv: Set current 600 600 600 800
Recv: RMS current 1049 1049 1049 1436
Recv: MAX current 1479 1479 1479 2025
Recv: Run current 18/31 18/31 18/31 25/31
Recv: Hold current 9/31 9/31 9/31 12/31
Recv: CS actual 0/31 0/31 0/31 0/31
Recv: PWM scale 0 0 0 0
Recv: vsense 0=.325 0=.325 0=.325 0=.325
Recv: stealthChop false false false false
Recv: msteps 256 256 256 256
Recv: tstep 0 0 0 0
Recv: pwm
Recv: threshold 0 0 0 0
Recv: [mm/s] - - - -
Recv: OT prewarn false false false false
Recv: off time 0 0 0 0
Recv: blank time 16 16 16 16
Recv: hysteresis
Recv: -end -3 -3 -3 -3
Recv: -start 1 1 1 1
Recv: Stallguard thrs
Recv: DRVSTATUS X Y Z E
Recv: stst
Recv: olb
Recv: ola
Recv: s2gb
Recv: s2ga
Recv: otpw
Recv: ot
Recv: 157C
Recv: 150C
Recv: 143C
Recv: 120C
Recv: s2vsa
Recv: s2vsb
Recv: Driver registers:
Recv: X 0x00:00:00:00 Bad response!
Recv: Y 0x00:00:00:00 Bad response!
Recv: Z 0x00:00:00:00 Bad response!
Recv: E 0x00:00:00:00 Bad response!
Recv:
Recv:
Recv: Testing X connection... Error: All LOW
Recv: Testing Y connection... Error: All LOW
Recv: Testing Z connection... Error: All LOW
Recv: Testing E connection... Error: All LOW
Recv: ok

I tried it without and with the jumpers on the TMC soldered.
Any ideas?
tmc2208v20top
tmc2208v20bottom

Poor SUPPORT and response to issues

Very disappointed to see NO UPDATES to what really should be a Production board - NOT alpha release. Yes there are reports about the board up and running fine (good) but to far and few in-between. NOT GOOD enough - 3 months sine last update ?????

Stepper driver diag0 and diag1 pins missing connectors.

In your SKR v1.3 youtube video there are female header pins for TMC2130 diag0 and diag1. On your aliexpress and github pages none of the diagrams show a connector for those two pins for each driver for sensorless end stops. Are they present on the production boards you are selling or not? If not will they work if I connect them?

Board doesn't boot after firmware install

I've compiled and installed a known working Marlin 2.0 firmware and everything works great.

I made my own Marlin 2.0 firmware for my custom printer and the SD card immediately doesn't work again. Try the other one and it works.

I thought I was smart so I edited the working firmware and again it doesn't work.

Here are my configs if anyone wants to take a peak: https://drive.google.com/open?id=12n-i3yIjOXyX-WQ-DNjE4RwaVvA7YZh3

Not sure what's up but I'v never had this issue with the MKS Gen L

1.3 hangs / crashes

Hi, I installed the 1.3 version over the 1.1 I used until now. The first minutes all goes well but after some minutes the card hangs ( display non responsive, and movement stops). In another crash it was, instead of continuing on the y axis, busy doing endless repeating moves, forward / backwards etc. After I put back 1.1, all went back to normal. Can it be a new config setting? I checked thorougly and like I said, the first minutes all goes well. The files are correct and were never a problem. Stepper drivers where 60°C and the nema's 23°C , thus way off the limits. More people having this issue?

Smoothieware+TFT35 source code not available

I noticed there is source code for Marlin (https://github.com/bigtreetech/BIGTREETECH-SKR-V1.3/tree/master/firmware/Marlin-bugfix-2.0.x), but there is no source code for Smoothieware+TFT35 (https://github.com/bigtreetech/BIGTREETECH-SKR-V1.3/tree/master/firmware/smoothieware%2BTFT35). Just binary firmware.bin is available.

As this code is based on the open source Smoothieware code (https://github.com/Smoothieware/Smoothieware) and Smoothieware is using GNU General Public License v3.0, you have to follow and open your source code with all the needed modifications and additions (board customizations, TFT35 communication, etc.)

5V UART are tolerant?

I use OctoPI and conect it to my board with USB TTL converter CP2102. Converter has 5v ttl logic level. Can I conected it to TFT or AUX-1 plug? Should I look for a converter with a 3.3V ttl level or I can use an existing one.

smoothieware does support Linux

Sorry, but this sentence in the instructions for the SKR 1.3 makes no sense:

Note: When using smoothieware open-source firmware, since only Windows system
drivers, the SKR board at this time can only be recognized by the Windows system
port! ! !

If you didn't find Linux driver, then you searched for them at the wrong place. Linux has drivers for all known USB to seriell drivers already builtin. Currently I don't own a SKR 1.3 board, but I use the MKS Sbase with smoothieware with Linux without problems. The SKR and the Sbase are very similar, at least they use the same CPU.

Linux supports all this boards for 3d printers much better than Windows. No installation of drivers necessary. It is really Plug & Play.

Regards
Gerald

Erase the memory of the SKR 1.3 board

How can I erase the memory of the SKR 1.3 board?
I can not upload again a new version of the firmware I have installed, it always stays the same.
In an arduino board is with a script, in this I do not know how to do it.

BLTOUCH configuration issue

I've followed the instruction of this video to configure my BLTOUCH sensor:

https://youtu.be/oaXfXkPYHpw?t=244

But that seems to be outdated, the video says to uncomment this line :
#define BLTOUCH
and then comment this one:
\\#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
But after that it says to uncomment this line, that no longer exists:
#define Z_MIN_PROBE_ENDSTOP
I've tried skipping this step but as results my BLTouch doesn't work and stay blinking with red lights.
I'm missing something?, I've checked the pin connections and everything seems to be ok

Stepper Extender on SKR v1.3

I assigned an end stop pin because I wanted to set E to 3, but it does not work well.
Do you have any advice?
[pins_BIGTREE_SKR_V1.3.h]
#define E2_STEP_PIN P1_27
#define E2_DIR_PIN P1_29
#define E2_ENABLE_PIN P1_04
#ifndef E2_CS_PIN
#define E2_CS_PIN -1
#endif

Alternative option If you came here looking for help

BigTreeTech's video's and configs are already far out of date due to rapid changes in Marlin bugfix2.0 branch.

BigTreeTech hasn't really kept up well with responding to issues here, and creating Pull Requests could mess up their product delivery approach.

I've spent a TON of time getting familiar with the issues related to this, and I'm familiar enough with Marlin to help most of you get up and running regardless of your printer model.

If you came here looking for help but can't get an answer, I invite you to drop into the HackerHappyHour discord 3D-printing channel to ask your questions, and I will do my best to help get you up and running.

Another alternative you have, is by checking out my up to date configurations for the SKR v1.3. I'm sharing two links with you. one link will be to the auto-updating tip of my configuration branch, and the other will be a "compare" link that will show you what is different between my configs and Marlin's default configuration files.

The first link is going to be treated as a "production" branch, so you should consider it stable. Please note however, that I have an ender3, and the configs are related to that machine. You can use the second link in turn to see what changes I made so you know what items to look for and modify based on your printers specifications.

I will plan on pulling in the latest Marlin firmware once a week, and both of the links below will reflect those changes... so feel free to bookmark them without fear.

Marlin 2.0 - Ender 3 - SKR v1.3 config branch: https://github.com/HackerHappyHour/Marlin/tree/ender3-skr-v1.3-config
Comparison between my configs and latest Marlin 2 default configs: MarlinFirmware/Marlin@bugfix-2.0.x...HackerHappyHour:ender3-skr-v1.3-config

I've also tried my best to make my commits for this branch tell a story, or as a documentation of sorts. You can read the commit history using the compare link above, or using this link.

For those of you not familiar with git, any commit that has a ... icon next to it means there are more details in the extended commit message. I geared these as comments for you guys, to explain why I did what I did. Click the ...'s to uncover those comments.

Header pins (SPI and UART)

@bigtreetech, Please,
In next version of this board, provide a header pins with all SPI/UART pin available to use with a header cable.

E.g. I only use SPI in X and Y and don't use UART mode, but I need more pins to configure my hardware, and with a better location on hardware. Like the AUX-2 of GEN L

So. We will have a 10 pins to use:
#define X_SERIAL_TX_PIN P4_29
#define X_SERIAL_RX_PIN P1_17 < Same as CSX
#define Y_SERIAL_TX_PIN P1_16
#define Y_SERIAL_RX_PIN P1_15 < Same as CSY
#define Z_SERIAL_TX_PIN P1_14
#define Z_SERIAL_RX_PIN P1_10 < Same as CSZ
#define E0_SERIAL_TX_PIN P1_09
#define E0_SERIAL_RX_PIN P1_08 < Same as CSE0
#define E1_SERIAL_TX_PIN P1_04
#define E1_SERIAL_RX_PIN P1_01 < Same as CSE1

Thank you

macOS support

Hello,

I ordered 2 boards and wanted to know if there is macOS support for connecting to the board.
If no, any plans?
thx

[BUG] BL Touch doesn't work with "#define FAST_PWM_FAN" enabled on BIGTREETECH SKR V1.3

Description
If I activate "#define FAST_PWM_FAN" in your most recent version of Marlin 2.0 my BL Touch Probe stops working connected to my Board " BIGTREETECH SKR V1.3". The Probe shows blue LED always on and doesn't react to GCODE.
If i uncomment that line again everything works fine.

Steps to Reproduce
Activate "#define FAST_PWM_FAN"
Use the hardware mentioned above
Expected behavior:
Fan should be silent if running on reduced Speed AND BL Touch should still work

Actual behavior:
Fans are silent, but BL Touch stops working.

Dual Extruder pins

Hello,

I wanted to have more details about having dual extruder on the board, in particular the pins layout and also the temperature pin.
Any information?
thx

USB device not recognized

Had some intermittent issue with uploading firmware from sd card. Now the board does not read anything from card and over usb is not recognized.
Help please

BIGTREETECH TMC2208 UART dosnt work with Linear Advance

I bought SKR 1.3 and TMC2208 UART all from BIGTREETECH and all seem to work fine with Marlin Fix 2.0.x

The only issue that the extruder wont rotate unless I disable Linear Advance in marlin. I had to disable it to make it to work which is frustrating I need that option on and cant find anyway to make it to work.

#error "X_MIN_PIN is not an INTERRUPT capable pin."

Can someone help me with this error?

Processing LPC1768 (platform: https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/master.zip; board: nxp_lpc1768; framework: arduino)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/nxplpc-arduino-lpc176x/nxp_lpc1768.html
PLATFORM: NXP Arduino LPC176x > NXP LPC1768
HARDWARE: LPC1768 100MHz 31.80KB RAM (464KB Flash)
DEBUG: CURRENT(cmsis-dap) ON-BOARD(cmsis-dap) EXTERNAL(blackmagic, jlink)
Converting Marlin.ino
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(off) COMPATIBILITY(strict)
Collected 6 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.0.0
|-- 1.0.0
|-- 0.4
|-- 0.4.5
|-- 1.1.8
|-- #e35d62c
upload disk: E:
Compiling .pioenvs\LPC1768\src\src\module\endstops.cpp.o
Compiling .pioenvs\LPC1768\src\src\module\printcounter.cpp.o
Compiling .pioenvs\LPC1768\src\src\module\probe.cpp.o
Compiling .pioenvs\LPC1768\src\src\module\scara.cpp.o
In file included from Marlin\src\module\endstops.cpp:36:
Marlin\src\module../HAL/HAL_LPC1768/endstop_interrupts.h:52:8: error: #error "X_MIN_PIN is not an INTERRUPT capable pin."
#error "X_MIN_PIN is not an INTERRUPT capable pin."
^~~~~
Marlin\src\module../HAL/HAL_LPC1768/endstop_interrupts.h:64:8: error: #error "Y_MIN_PIN is not an INTERRUPT capable pin."
#error "Y_MIN_PIN is not an INTERRUPT capable pin."
^~~~~
Marlin\src\module../HAL/HAL_LPC1768/endstop_interrupts.h:76:8: error: #error "Z_MIN_PIN is not an INTERRUPT capable pin."
#error "Z_MIN_PIN is not an INTERRUPT capable pin."
^~~~~
*** [.pioenvs\LPC1768\src\src\module\endstops.cpp.o] Error 1

=============================================================================================== [ERROR] Took 7.13 seconds ===============================================================================================

======================================================================================================= [SUMMARY] =======================================================================================================
Environment megaatmega2560 [SKIP]
Environment megaatmega1280 [SKIP]
Environment at90usb1286_cdc [SKIP]
Environment at90usb1286_dfu [SKIP]
Environment DUE [SKIP]
Environment DUE_USB [SKIP]
Environment DUE_debug [SKIP]
Environment LPC1768 [ERROR]
Environment LPC1769 [SKIP]
Environment melzi [SKIP]
Environment melzi_optiboot [SKIP]
Environment rambo [SKIP]
Environment sanguino_atmega644p [SKIP]
Environment sanguino_atmega1284p [SKIP]
Environment STM32F1 [SKIP]
Environment fysetc_STM32F1 [SKIP]
Environment BIGTREE_SKR_MINI [SKIP]
Environment STM32F4 [SKIP]
Environment ARMED [SKIP]
Environment mks_robin [SKIP]
Environment mks_robin_mini [SKIP]
Environment mks_robin_nano [SKIP]
Environment JGAURORA_A5S_A1 [SKIP]
Environment black_stm32f407ve [SKIP]
Environment teensy35 [SKIP]
Environment malyanm200 [SKIP]
Environment esp32 [SKIP]
Environment fysetc_f6_13 [SKIP]
Environment linux_native [SKIP]

Sensorless Homing not triggering

I am using the original TMC2130 drivers in my board. I have all the required modifications made to my firmware. I even went as far as swapping out, inverted and non inverter endstops just to see. I have tested on the board with a multimeter the diag 1 pint to the endstop to make sure that there is a connection. Also missing from the outstanding video made for showing all of us how to setup this board, Shutting off homing bump from 5 to 0 . But all my attempts to get sensorless homing to work has gone without success. Is there anything else I could check?

TMC Connection Error

lcd shows TMC CONNECTION ERROR , and if i send m122 i get all low on xyz and e.

i have soldered the j2 pads, set TMC2208 , set both serial ports as shown in the instructions in config, set tmcdebug in config adv.
I have all jumpers removed except the uart jumpers.

is there something im missing?

TMC2208 [TMC CONNECTION ERROR]

I configured marlin and SKR1.3 to work in uart mode but i have the same message on the display.
The driver are BIGTREETECH TMC2208 SKU:UUU001758
The board is SKR V1.3, i follow the instruction here: https://www.youtube.com/watch?v=oaXfXkPYHpw
But i have the same message on display.

Attached a photo of my driver.

Here is the output of my M122:
X Y Z E Enabled false false false false Set current 800 800 800 800 RMS current 1436 1436 1436 1436 MAX current 2025 2025 2025 2025 Run current 25/31 25/31 25/31 25/31 Hold current 12/31 12/31 12/31 12/31 CS actual 0/31 0/31 0/31 0/31 PWM scale 0 0 0 0 vsense 0=.325 0=.325 0=.325 0=.325 stealthChop false false false false msteps 256 256 256 256 tstep 0 0 0 0 pwm threshold 0 0 0 0 [mm/s] - - - - OT prewarn false false false false off time 0 0 0 0 blank time 16 16 16 16 hysteresis -end -3 -3 -3 -3 -start 1 1 1 1 Stallguard thrs DRVSTATUS X Y Z E stst olb ola s2gb s2ga otpw ot 157C 150C 143C 120C s2vsa s2vsb Driver registers: X 0x00:00:00:00 Bad response! Y 0x00:00:00:00 Bad response! Z 0x00:00:00:00 Bad response! E 0x00:00:00:00 Bad response! Testing X connection... Error: All LOW Testing Y connection... Error: All LOW Testing Z connection... Error: All LOW Testing E connection... Error: All LOW ok
IMG_20190426_161544
IMG_20190426_161555

TMC2208 X connection... Error: All LOW

TMC2208 X connection... Error: All LOW

But same Stepper will work in Y,Z or E. So Stepper ok.

X will work with TMC2130 in SPI mode or TMC in Standalone mode. Think it may be the X-UART jumper pins ?. How can i test. Have 12V and USB to Raspberry PI plugged in and powerd up ok.

BigTreeTech SKR board.stl is wrong

BigTreeTech SKR board.stl is wrong the outer connector of the stepper driver is 2.4mm too far in.
The two big connectors are (heatbed and 24Vin) are 1.3mm to wide
TH1 TH0 TB are 1.3mm too far to the right and should be touching AUX-1 and should be 23.9mm wide not 22.7mm.

USB Port is 1mm to narrow

error1+2
error3

Problems installing driver (Windows 10)

I'm happy to say my SKR v1.3 arrived today. So far it hasn't been smooth sailing unfortunately.
One of the things i'm stuck at is installing the drivers to control it with Repetier for example.

I get the following error when installing lpc176x_usb_driver.inf
"The folder you specified doesn't contain a compatible software driver for your device If the folder contains a driver, make sure it is designed to work with Windows for x64-based systems. "

What can i do about this?

Max voltage for ABL and auto power pin?

Hello,
I was looking under the pin group and I didn't see a pin specific for "auto power off after print", I am assuming that PS_ON_PIN?

I am using an inductive z probe and I wanted to know the max voltage the Z-min pin can handle?

Thanks!

((TMC connection Error))

Dear Friends ,
Since 2 week i work on SKR 1.3 with BLTouach and TFT SKR.
and i have The Original TMC 2130 from WATTEROTT .
when i configured the board with Marlin-bugfix-2.0.x .
i have always ((TMC connection Error)) on / display 12864/,
and on Pronterface With (( M122 Code)) i have:

SENDING:M122 S0
X Y Z E
Enabled false false false false
Set current 800 800 800 800
RMS current 1436 1436 1436 1436
MAX current 2025 2025 2025 2025
Run current 25/31 25/31 25/31 25/31
Hold current 12/31 12/31 12/31 12/31
CS actual 0/31 0/31 0/31 0/31
PWM scale 0 0 0 0
vsense 0=.325 0=.325 0=.325 0=.325
stealthChop false false false false
msteps 256 256 256 256
tstep 0 0 0 0
pwm
threshold 0 0 0 0
[mm/s] - - - -
OT prewarn false false false false
off time 0 0 0 0
blank time 16 16 16 16
hysteresis
-end -3 -3 -3 -3
-start 1 1 1 1
Stallguard thrs 2 2 0 0
DRVSTATUS X Y Z E
stallguard
sg_result 0 0 0 0
fsactive
stst
olb
ola
s2gb
s2ga
otpw
ot
Driver registers:
X 0x00:00:00:00 Bad response!
Y 0x00:00:00:00 Bad response!
Z 0x00:00:00:00 Bad response!
E 0x00:00:00:00 Bad response!
Testing X connection... Error: All LOW
Testing Y connection... Error: All LOW
Testing Z connection... Error: All LOW
Testing E connection... Error: All LOW

my mode is: TMC 2130 /SPI Mode/Sensor less homing for X and Y BLTouch.
Of course, i changed the processor name to(LPC1768) and motherboard name to (BOARD_BIGTREE_SKR_V1_3)

So I need your help and suggestions Please

Pronterface won’t connect to the skr v1.3 after updating TFT35 with new firmware.

I’ve been working and testing the new skr v1.3 with TFT35 v1.2.6 on pronterface. I updated the TFT to v1.2.11 and then tried to connect to pronterface. I’m not able to connect. Pronterface just says connecting then times out. I changed the TFT35 firmware to v1.2.10 from here and the same results. I deleted the firmware that came with the TFT.

Is there a way to make the skr board visible to pronterface again? This TFT firmware is a brand new beast to me.

ESP3D - where to connect?

Is there any other usable UART besides TFT/AUX-1? I need to connect ESP3D and my TFT/AUX-1 is already used by TFT35.

Missing license on the repository

Hi,

Thanks a lot for all your work, very nice to see a Chinese company make so much progress toward opensource (especially sending PR to Marlin for TMC2190, nice work!).

I was wondering what was the license of this repository? Can a LICENSE file be added to the top of the directory at it is custom for github?

Thermocouple board connection

To which pins do i need to connect thermocouple boards and do i need to set other settings in the firmware except the ones below?

  • -4 : thermocouple with AD8495
  • -3 : thermocouple with MAX31855 (only for sensor 0)
  • -2 : thermocouple with MAX6675 (only for sensor 0)
  • -1 : thermocouple with AD595

Some pictures with the contacts to be used marked on the board would be nice.

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.