-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[FR] Creality Sermoon D1 + BLTouch #542
Comments
You may be able to enable pins-debugging and then use M43 to figure out which pins are associated with the BLTouch. |
oh ok, how would i go about enabling pin debugging ? |
Marlin/Configuration_adv.h
|
sorry to be a pain, the firmware file is a .bin file, how would i go about opening that to be able to edit it ? |
you don't edit bin files. |
ok great to know, but how do i get the configuration files to begin with ? |
You ask Creality nicely for them, and when they refuse, you remind them they are in violation of the licensing and ask again. |
Then you open up the machine and trace all the wires and document what is plugged into where. |
so if thats the case would tham mean that i could use the configuration files from the ender 6 as its the same board used between both machines or would that complicate things too much ? |
The Config files describes way more than just the motherboard. Egs build size, direction to move the steppers, homing direction. LCD.Screen settings |
ok, well i messaged Creality two days ago so if i hear back from them ill post it up here |
Hi @Valexxia, any updates? I wrote to Creality today for my CR-200B to claim Marlin source code. |
Someone managed to get source out of Creality! Well done them. So enabling Bltouch should be easy now, and in time can be added to current Marlin |
The provided source takes some tricks to compile as its so old and has not locked down the versions of things it needs. In platfomio.ini Change the [env:STM32F1_base] section to
Change [common] section to
Then fix the case sensitivity bugs In Marlin/src/lcd/dwin/LCD_RTS.h In Marlin/src/lcd/dwin/LCD_RTS.cpp |
@ellensp Have you managed to compile BL touch enabled in firmware using breakout board on Sermoon? If so do you mind sharing? |
or if you prefer a DIFF diff --git a/Marlin/src/lcd/dwin/LCD_RTS.cpp b/Marlin/src/lcd/dwin/LCD_RTS.cpp
index f863173..14e92c5 100644
--- a/Marlin/src/lcd/dwin/LCD_RTS.cpp
+++ b/Marlin/src/lcd/dwin/LCD_RTS.cpp
@@ -1,5 +1,5 @@
#include "LCD_RTS.h"
-#include <wstring.h>
+#include <WString.h>
#include <stdio.h>
#include <string.h>
#include <Arduino.h>
diff --git a/Marlin/src/lcd/dwin/LCD_RTS.h b/Marlin/src/lcd/dwin/LCD_RTS.h
index 1f8d73f..47ed1da 100644
--- a/Marlin/src/lcd/dwin/LCD_RTS.h
+++ b/Marlin/src/lcd/dwin/LCD_RTS.h
@@ -2,7 +2,7 @@
#define RTS_H
#include "string.h"
-#include <arduino.h>
+#include <Arduino.h>
#include "i2c_eeprom.h"
diff --git a/platformio.ini b/platformio.ini
index 1bae5b0..f41520f 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -27,7 +27,7 @@ build_flags = -fmax-errors=5 -g -D__MARLIN_FIRMWARE__ -fmerge-all-constants
lib_deps =
U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
[email protected]
- TMCStepper@>=0.5.2,<1.0.0
+ TMCStepper@=0.5.2
Adafruit [email protected]
Adafruit_MAX31865=https://github.com/adafruit/Adafruit_MAX31865/archive/master.zip
LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
@@ -197,12 +197,13 @@ board = nxp_lpc1769
# STM32F1 base
#
[env:STM32F1_base]
-platform = ststm32
+platform = ststm32@~9
+board_build.core = maple
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
${common.build_flags} -std=gnu++14
build_unflags = -std=gnu++11
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
-lib_ignore = Adafruit NeoPixel, SPI
+lib_ignore = Adafruit NeoPixel, SPI, Adafruit MAX31865 library
monitor_speed = 250000
#
|
@Randy1727 with the patches above if you enbale #define BLTOUCH, it still compiles |
I've got a current code base synced as of Friday that has the board and touchscreen working, but I don't have a Sermoon to physically test on. I'll be cleaning things up over the next day or two and can drop it over if you want to test. |
@InsanityAutomation I was able to compile it last night but the touchscreen wont work still. Yes if you want to send over to me to test that would be awsome. |
https://github.com/InsanityAutomation/Marlin/tree/CrealityDwin2.0_Bleeding Code is here, Dwin files in the Creality Combined archive, as my understanding is its the same part number LCD from the 10S Pro / CRX / E6 etc Should be able to just use the PIO environment for it without touching the config files |
Thanks, Ill give it a try this week! |
@InsanityAutomation Being im a total noob when it comes to changing confg files and compiling firmware please excuse my ignorance. The only things I enabled are #define MachineSermoonD1 #define HotendStock #define DirectDrive #define BedDC #define ABL_BLTOUCH #define GraphicLCD #define MeshFine, Is there anything else that needs to activated for the Sermoon, Also In the zip there are 3 DWIN folders, I take it the Sermoon will use the Combinedscreens one? Thank you for your help, Im still learning/. |
@InsanityAutomation These are the errors im getting Log Output
|
the controller is not a LPC1769 based |
Got it working, compiled and screen is working. Im a idiot and didnt see the zip of precompiled firmware. |
Ok, Installed the firmware and dwin from combined screens v5.7 and some buttons such as move, motor control dont work, Level and info do come up but unable to back out. |
Are you able to get a serial log when browsing the screen? Almost sounds like serial communication isn't stable for some reason. If it boots, it has communication, so it's odd movement isn't working. Will it move from Gcode on the terminal? |
@InsanityAutomation Language and printer info work and let you back out, Move, motor, refuel, print and temp dont work at all, Leveling lets you enter but not back out. Also had someone else check with Creality screen firmware still installed just to try and no button works at all Movement commands from octoprint do work, I sent you a msg on discord, |
did this work? can i get in on the testing? |
I am waiting for this firmware |
Good news is I have the majority of it working... A few screens arnt behaving completely correctly bringing my 10s pro project files over to the newer dwinos but it isn't far off Bad news is it'll be a few days till I can sit down to it again. |
I think creality posted a BL Touch firmware im acessories session. https://www.creality.com/download |
Indeed.
|
Ive got a build working for it, granted a bit rough with a few bits to tweak on the screen (overlapping text etc). If you hop on the discord, ill send over the current setup for testing. |
Cool, send the project for testing |
heyo, im also kind of a noob, but my D1 sermoon is coming tomorrow in the mail. Ive been reading up, glad to see creality released the source. I grabbed it and changed to the older platformio configs above and got it to compile. But I see the lcd isn't loving you guys. Can I ask how the progression goes ? I downloaded the latest hex files from insanity but im reluctant to flash tomorrow if my screen won't work right and id be stuck trying to use octprint solely. thanks again for your awesome work ! |
Still a few more things to work out, so I'd hold off for a little while. Unfortunately day job has me working all weekend again so it'll be a little bit until I can wrap it up. |
No rush man. I’m excited that you’ll get it working soon. Glad I got the printer once the source code was actually released. Crazy that these high end creality printers don’t come with an ABL sensor in the box. Or official downloadable factory firmware to add one. Creality should pay you! |
I designed a mount for the CR-Touch on the sermoon. The regular mounts didn't work. https://www.thingiverse.com/thing:5050263 Anyone have any hints on how to get help from Creality support? They don't seem to answer emails. |
I already downloaded the mount a few hours ago ;) I’m reading that this 4.3.1 board isn’t so great. Only has silent steppers on x and y? I’ll refrain from what I think about that. Think it’s worth it to swap it for a 4.2.7? Would there be any problems with firmware .. besides swapping board declaration? |
There are many people on this board who are imminently more qualified to answer that question, I'm just a newbie in this area. Although if I were to buy a new board I'm not sure I would get the creality. |
I did find the power supply was drastically undersized on the Ender 7 causing occasional shutdowns when the driver pulled the voltage down too low... First I would check cooling on the main board and then the power supply before assuming the board is dead. |
Any idea what the power capacity was on the undersized supply? I just checked and the one in the D1 is 24V 14.6A. I'll hook up my meters and measure input and output current during a print tomorrow. |
While the bed and hot end were heating, I measured 12.5A. While printing, current stayed around 6A most of the time, but peaked a couple of times to 13. Maybe it's not in the danger zone, but a little undersized for my comfort. I don't like seeing sustained current over 80% of the capacity. @mikeroxy2019, even without the silent stepper on the X, the printer is still very quiet. I don't think it's a big deal. |
@thinkyhead Will the Sermoon D1 be added to Configuration soon? Or is there still a lot of work to do on the Screen Part? |
Any luck on getting this working I would love to add the touch to it and have u any idea how to do the e steps o can we really not do it on this machine |
@rmurilo see the link in the comment above, code is up and working. I'll be adding the cr5 and cr10 smart shortly as well hopefully. |
@InsanityAutomation Sorry so just to confirm the same file works for all the machines listed I don’t see the sermoon d1 listed in there from the link above could u post a direct link to the specific download for the sermoon d1 please and happy holidays |
I joined the discord group thank you for all you do for these machines |
@InsanityAutomation Is it possible to add BLTouch with your firmware? And if so, where to find a wire diagram for it? |
There’s a pre compiled bin file with bltouch support on IA’s GitHub already. Board uses the same pins as a 4.2.7 / 4.2.2.
…Sent from my iPhone
On Jan 2, 2022, at 12:01 PM, ETE-Design ***@***.***> wrote:
@InsanityAutomation<https://github.com/InsanityAutomation> Is it possible to add BLTouch with your firmware? And if so, where to find a wire diagram for it?
—
Reply to this email directly, view it on GitHub<#542 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AWK4N4AUBLVDHFQA2HCXZHLUUCVIHANCNFSM5APYLTVA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@InsanityAutomation The Screen on the Sermoon D1 is it a DWIN T5UID1? |
¸can someone please help me with compiling firmware for sermoon d1? |
You should ignore messages under the "Problems" tab, which are generated by other VSCode extensions. |
Duplicate of #649 |
Description
Uses the same board as the ender 6 however it seems that creality simply has no support for the sermoon D1, It does have a extension board with a bltouch port on it however there is no firmware from the standard 1.1.1 that comes preloaded on the machine.
Configuration Details
apoligies for the lack of information, i am happy to try and find anything that is needed. just not sure what to look for
Additional Information
The text was updated successfully, but these errors were encountered: