-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Will SKR mini E3 support Ender 3 V2? #424
Comments
I have just configured Marlin for Ender 3 V2. You also have to do some pin changes on ribbon cable for display, because pinout is different. I will update this post next week. |
I was actually looking to do the opposite. Add the ender3 v2 screen to an ender 3 pro with skr mini e3 v2. Curious on the pin changes needed to get this to work. |
Would you mind showing us the pinout of the Ender 3 V2 screen and how to change the pinout? |
Edited on Mar 28 2021 This is tested on Marlin version 2.0.7. New Marlin version has changed SERIAL_PORT definition and a lot of other stuff. Use Marlin's Ender 3 V2 You need to import this code into /**
* Ender 3 V2 display SKR Mini E3 V2.0
* _____ _____
* 5V | 1 2 | GND 5V | 1 2 | GND
* (BTN_E1) A | 3 4 | B (BTN_E2) (BTN_EN1) PB15 | 3 4 | PB8 (BTN_E2)
* BEEP | 5 6 ENT (BTN_ENC) PB9 | 5 6 RX1
* (SKR_RX1) TX | 7 8 | RX (SKR_TX1) RESET | 7 8 | TX1
* NC | 9 10| NC (BEEPER) PA15 | 9 10| PB5 (BTN_ENC)
* ----- -----
* EXP1 EXP1
*/
#if ENABLED(DWIN_CREALITY_LCD)
// RET6 DWIN ENCODER LCD
#define BTN_ENC PB5
#define BTN_EN1 PB15
#define BTN_EN2 PB8
#ifndef BEEPER_PIN
#define BEEPER_PIN PA15
#undef SPEAKER
#endif
#endif Commented picture shows pinout for display and SKR board. CAUTION!!! You can connect other pins as you like, just make sure you define correct pins in Marlin (you can connect display A to SKR's PB9 etc.). Pinout for Ender 3 V2 display is printed on display's PCB. If you remove the back cover, you will see the connector marked. After you have copied this code, adjusted pins on display and adjusted pins in Marlin for button and beeper, change also
Make sure you also change From here on you can change Marlin to use BL Touch, sensorless homing etc. |
Hi all.The day before yesterday I received this board, killed two days on the configuration, was already going to sell it, when I suddenly came across this post. Thank you very much, you have given me hope. |
Yes, that is correct. Hope you get it to work. Please comment on the results. |
Thx, but i cant' compile FW file, few days ago i was create new issue (before I was see that post): Maybe need in configuration.h indicate CREALITY_V4? |
@Stalkeros000 did you look at a post above where you have to add some code to |
@jernejp21 just to confirm, you would need to place that code in the correct file and build a custom cable to wire it as defined? So basically you can't just use a regular flat ribbon cable for this to work? |
@dani190 yes. You have to make new cable or adapter to use with default cable, because pinout of CR10 display differs from Ender 3 V2 display. |
Ok fair enough - and this will use the stock Creality menus I guess? Since the marlin UI has not been re-written yet? |
I have will contact Marlin developers if they want to include this fix or not. You will need to fix HW by yourself (or if BTT or someone else starts to sell adapters). This configuration isn't plug and play like it's for BLTouch and Neopixle and sensorless homing. |
Hi all. Im not test new board yet, bcs I dont want lose PC connection. Sometimes need use some G-code commands in real-time. Only that stops me to trying made some adapter and change board. If you know how fix that problem, please tell. |
Weird that this worked for you... I tried it and got a ton of errors about the encoder wheel or something. I ensured I put the above code into the file you mentioned. Were there any other changes you made? |
Check if everything is defined. Also check for |
@jernejp21 Ok so it seems like the stock Marlin config files are missing some stuff that must be turned on... Fixed it by comparing to the Ender 3 V2 example, enabling a few things for the encoder wheel and didn't have classic jerk enabled causing other issues. Going to try building a cable now and see how it works. |
after flashing my printer keeps booting. It shows progress bar and after it's full it starts again from the beginning. |
Ya I had the same behaviour... gave up for now as I know Marlin's dev's are working on fixing this soon. |
@MrSalzi @dani190 I have updated my comment on how to setup config file. |
Update regrading Marlin support for this configuration. It's like the time you needed adapter for Ender 3 (8-bit board) for using BLTouch. |
yes I had it defined from before. Took a working copy of my config and just added your suggested changes |
Well I don't know if that means they aren't going to support it but like you said... it needs a custom cable. |
Thanks for your fast response. I've done all that and tried to disconnect all the other pins but these didn't fix it :( |
If I comment out #define EEPROM_SETTINGS then it boots to main menu. Button works but rotation doesn't, but anyway my board is alive. I guess this isn't the final solutions? |
I am at the same step. I can get it to post by commenting out EEPROM_SETTINGS. With it enabled it just boot loops. |
Ok, so I got it to work with eeprom, and with almost everything working including z offset and a bltouch. There is a flaw in the code for saving the language setting to the eeprom that makes it only work with the eeprom on the creality v4 board. With these lines commented out marlin starts properly however as a default it will always start in English. I'll do a full write up on how to make it work later when I get home. |
@bigtreetech do you plan to officially support the Ender3v2? |
I am getting the following error when compiling. Attached is also my configurations. |
Figured out the issue in Configuration_adv.h calling out the serial connections to each 2209 driver. It compiled now the new board should be in tomorrow and I can install and try out. |
Oh sorry I haven't realized you were talking about a different board. You can find the pinout config for your board here, so you can cross check it: https://github.com/CZDanol/Marlin/blob/E3V2-EXTUI-BLT-SKRMini3V2/Marlin/src/pins/stm32f1/pins_BTT_SKR_E3_DIP.h |
Still don't see with are TX and RX pins for my board :-( |
So I finally installed skr mini e3 v2 with tft 35 display... everything works fine, except two or three things. First screen shows BLT failed bed leveling just when I run the printer, probe goes out and then it's hiding, when levelin it is not going out. 2nd and 3rd thing is that when I try to autohome it works fine, but when I move bed manually direction is reversed. When I reverse Y_dir in marlin, manually it is working, but then homing is going opposite direction. I am trying to fight with bl, but with this autohome and Y direction I have no idea what to change |
I had the same problem and I managed to solve it. Replace I successfully compiled the latest Jyers firmware. (https://github.com/Jyers/Marlin) |
TLDR: This board DOES support Ender 3 V2 with its stock display, I've opened a request to add it to mainstream Marlin here: |
Ender 3 V2 display support on BTT SKR Mini E3 boards is now available in mainstream Marlin. No more need to reconfigure pins and serial ports. |
Sorry, BTT SKR E3 RRF (with esp8266 module) will work with our display? |
Guys I am confused, is the hardware rewire still needed or not for the E3v2 display? |
See if the wiring diagram on this page helps - Andy |
Hi, Please excuse me if its already taken care of but i am trying to enable the stock LCD with ender3V2 on SKR e3 mini v2 board and getting error message "error: #error "EMERGENCY_PARSER is only supported by HardwareSerial or USBComposite in HAL/STM32F1" I am compiling the firmware for the first time so please point me to a thread which describe exactly what needs to be done as i might not be able to follow instructions which has some obvious steps for an intermediate level but for me those will be tough. Thank you |
The code jernejp21 references here: https://github.com/jernejp21/Marlin has BEEPER_PIN on PB9. But the ascii picture in his github post for this issue shows it on PA15. The pretty wiring diagrams show BEEPER_PIN on PA15. Do the wiring diagrams in this issue need to be updated to be consistent with https://github.com/jernejp21/Marlin, or is there a another branch that should be used that IS consistent with wiring diagram in this issue? |
I am extremely new to all of this, and I was wondering if anyone could answer a few questions. They are probably very basic, but like I said, I'm new to it all.
Thanks in advance. |
@davthomaspilot Pinout in discription if different because I made different cable and forgot to make changes to description. I have fixed this. Thank you.
|
Step by step guides like this: and wiring diagrams in this issue assume a configuration.h like your original post-- BEEP on pin 9 of SKR Mini EXP1 connector. So, I think cables already built won't work with the code you changed for a new cable. I think later posts in this thread say your changes are now in the main line Marlin? What version of the cable should be expected for compatibility with the latest Marlin release and future releases? Will cables built using the diagrams in this issue (and copied many places) have to be redone for compatibility with newer Marlin software? Sorry if this sounds negative--it's not intended to be. You did a great job in getting this working and documenting. I'm just trying to save headaches for others that stumble on this thread or use other web resources and later Marlin releases. Thanks! Which version of the cable should be built if we want hardware to be compatible with the latest (and future) releases? |
@davthomaspilot I have check Marlin's code and my code. It looks like the pinout is the same. I think that Marlin will not change pinout anymore. You can make custom flat cable or use standard cable and make PCB adapter. #if HAS_DWIN_E3V2 || IS_DWIN_MARLINUI
/**
* ------ ------ ------
* (ENT) |10 9 | (BEEP) |10 9 | |10 9 |
* (RX) | 8 7 | (RX) | 8 7 | (TX) RX | 8 7 | TX
* (TX) 6 5 | (ENT) 6 5 | (BEEP) ENT | 6 5 | BEEP
* (B) | 4 3 | (A) (B) | 4 3 | (A) B | 4 3 | A
* GND | 2 1 | (VCC) GND | 2 1 | VCC GND | 2 1 | VCC
* ------ ------ ------
* EXP1 DWIN DWIN (plug)
*
* All pins are labeled as printed on DWIN PCB. Connect TX-TX, A-A and so on.
*/
#error "Ender-3 V2 display requires a custom cable, see diagram above this line. Comment out this line to continue."
#define BEEPER_PIN EXP1_9
#define BTN_EN1 EXP1_3
#define BTN_EN2 PB8
#define BTN_ENC PB5
/**
* Ender 3 V2 display SKR Mini E3 V2.0
* _____ _____
* 5V | 1 2 | GND 5V | 1 2 | GND
* (BTN_E1) A | 3 4 | B (BTN_E2) (BTN_EN1) PB15 | 3 4 | PB8 (BTN_E2)
* BEEP | 5 6 ENT (BTN_ENC) (BEEPER) PB9 | 5 6 RX1
* (SKR_RX1) TX | 7 8 | RX (SKR_TX1) RESET | 7 8 | TX1
* NC | 9 10| NC (BTN_ENC) PA15 | 9 10| PB5
* ----- -----
* EXP1 EXP1
*/
#if ENABLED(DWIN_CREALITY_LCD)
// RET6 DWIN ENCODER LCD
#define BTN_ENC PA15
#define BTN_EN1 PB15
#define BTN_EN2 PB8
#ifndef BEEPER_PIN
#define BEEPER_PIN PB9
#undef SPEAKER
#endif
#endif I would recommend you use official Marlin's code and check the pinout. My code is outdated. It was meant as a fix, because Marlin didn't have the implementation yet and at the time, they didn't have interest in including support for SKR mini E3 V2 on Ender 3 V2. But now there is full support in Marlin and you should use it, because Marlin gets regular updates. This issue should also be closed, because it is fixed in Marlin now. |
@HYC23 Please close this issue with comment: SKR mini E3 support for Ender 3 V2 is implemented in Marlin since MarlinFirmware/Configurations#535. Please use official Marlin FW (don't use @jernejp21 fork anymore). For cable configuration see pins config file - src/pins/stm32f1/pins_BTT_SKR_MINI_E3_common.h |
Just wanted to say another success! Haven't done a long print yet to make sure I don't get the hangs (I changed to single buffer), but display works and Octoprint connects. Thanks for all those who posted. |
For those who may be worried about making the cable so the stock Ender 3 V2 display can be used I made two cables, both worked. I made first cable by cutting a ribbon cable from Amazon, cutting the ribbon and splicing wires: https://www.amazon.com/dp/B07JNH6J2C?psc=1&ref=ppx_yo2ov_dt_b_product_details Five of the wires go straight through (black, white, grey, purple, and orange, two from the SKR Mini aren't needed (red and brown, and three need to connect to different color in the ribbon. I just used soldered the wires that need to swap with heat shrink tubing. It worked fine, but looked messy, especially when I added RTV for strain relief. A better way, IMHO, is to splice no wires, but just use a new connector. I got a bag of them from Amazon: https://www.amazon.com/dp/B07S1NFG4S?psc=1&ref=ppx_yo2ov_dt_b_product_details Then, just arrange the wires in the new connector before using a vise to squeeze the connector onto the ribbon cable. It looks like this: Important! The display end of the connector is shown |
I have a question. Can you re-arrange the pins of the rainbow cable through the firmware? Instead of mangling my only cable, I tried this. In pins_BTT_SKR_E3_common.h, I switched
With
When I flashed it, the screen did nothing, but no beeping noise. Is this idea not possible, or am I making a small mistake? |
@NathanBerglas Not possible. Marlin doesn't support SW UART. RX and TX pins must be the correct pins to use HW UART. Also if Marlin supported SW UART, I don't think it would be feasible, since it would consume too much resources. Because RX and TX pins are different on DWIN screen, you need custom cable or adapter. You can also make PCB that mixes signals instead of mixing wires of the cable. |
Remember, you need to flash not only the motherboard, but also the LCD display! if Marlin loads, but all the icons are missing, then you have this problem. You need to take a FAT32, 4096 sector size formatted SD card to flash the LCD. You need to remove all the files from it, and put only a file called P.S This only applies to DWIN-style LCD's! If you have the more recent DACAI display, then you should use the |
I was able to get the screen working but it dosent register when I turn the know left and right only clicking it what what did I mess up. |
How do people get the idea that it is cool to inject a comment in a random language into an English speaking thread? Greetings from Germany. |
Hello, can someone please help me? I put a new SKR mini E3 V3.0 board on the ender 3 in 2 |
+1 |
+1 |
I recently got an Ender 3 V2, but one of the stepper motor drivers on the motherboard is broken. I have an old ender 3 running SKR mini E3 board and works pretty well, so is the new SKR mini E3 V2 board support the new Ender 3 V2 printer, eg. the screen?
The text was updated successfully, but these errors were encountered: