Are you sure you have the dual firmware installed?
I am fairly confident I have the firmware (mostly) correct since the y axis is working great with both motors! Iām on the SKR 1.3. Iāll check the connections to make sure, but it is odd since the offending motor seems to sound okay and has good holding torque, just spins too far. It does spin the correct direction though. Iāll admit though, that I am no firmware expert, so I am not sure exactly which part of it makes the board recognize that second motor as X2, but Iām wondering if there isnāt some place where its steps/mm is set differently than the regular X motor.
Sorry I didnāt see the SKR part. I have not messed with mine enough to help yet. Sorry.
Ben,
You can run a M122 command and it will show you all the stats for the motors.
The lines to see the settings are in configuration_adv.h at ā#if HAS_TRINAMICā around line 1811. Make sure the current and microsteps for everything except Z is the same (you can even set Z to be the same if you want to make it easy).
If those are the same use an M503 and see what M92 is set for. Make sure they are the same since M92 sets the steps/mm.
I think you have to enable TMC_DEBUG too, right?
Yes but if he is running the firmware I made I enabled it.
First, a big THANK YOU for sharing your hard work with all of us! I specifically bought an SKR 1.3 and TFT35 V3 to copy your work because I know NOTHING about programming these blasted things!!
That said, I learned a LOT comparing your version to the 2.0 BUG FIX, so I was able to get it to build. It caused me some fits, because I tried to just copy your files and install them, but no dice. SO far the TFT WORKS and I appreciate the work you did setting it up for lasers. Iāve since tried my hand at making custom icons, and Iām really getting there. My machine isnāt built yet, but I needed to make sure I could get steppers to turn, and I did. Again, THANK YOU, brother.
Ok, my questionā¦
Can you post your TFT Config.ini file? It was not in your github files. Iām trying to simply change some fonts, but I canāt get mine to load a modified config that I downloaded from BIGTREEās github files. Iām seriously not sure whatās going on. I want the fonts to match a certain theme that Iām using, but I see no change when I try to update it, and the config.ini never changes to config.cur. I could totally be missing something simple, so ANY advice would be appreciated.
Again, thanks for sharing your work. I know I speak for all newbies like me when I tell you that youāve helped me more than you know!
Cheers!
Bryan Roundtree (treeb52)
For the SKR board, did you have to adjust jumpers or leave them as they come on the board? I am setting-up the same SKR and TFT that you didā¦printed your caseā¦nice job and Iām not sure on those jumpers. Thanks!
There are many skr boards. Do you mean the skr pro1. 2? Which drivers? 2209?
SKR V1.3 with 2209 drivers. I would like to use Dans setup as posted at the beginning of this post.
I was able to leave my jumpers as set since I ordered the board and drivers together and they came in UART mode. Otherwise I would have had to check them against the manual.
Chris Riley has a good video on this board with how to set it up in UR mode (not standalone). He says remove all the jumpers near the stepper drivers and then add the red jumpers to the red pins ābelowā the drivers:
Video: https://www.youtube.com/watch?v=H5ea2iyOscg (go to around 5 minutes)
The original version I ran doesnāt appear to have used config.ini. I know jeff was working with a more recent fork and had config.ini but I donāt see that anywhere in mine. I uploaded almost the entire folder structure to github.
Hello,
I have BTT SKR 1.4 Turbo + BTT TFT35 v3.0 and the diode laser is controlled via 5v.
in Marlin use #define SPINDLE_LASER_PWM_PIN SERVO0_PIN.
how to change gcode control in TFT firmware from M106 to M3 and M107 to M5?
Thank you for your support,
Alex
In the firmware files in the TST\src\User\Menu
Go to leveling.c
On line 40 (off), 43 (5%), and 46 (100%) are the laser buttons on the job setup screen.
In Printing.c change line 519 to M5 rather than M107 so it turns off the laser.
In Fan.c is where the fan speed is set; however this calls a bunch of other classes to figure out the fan speed. To change this I believe you go to Configuration.h and on line 54 are all the FAN_CMD notes. Change all the M106 to M3. The P# is to pick the fan but if that doesnāt apply you can likely just remove it.
Hi Dan
Thank you for your answer.Iām change in files, but not working.
in leveling.c:
case KEY_ICON_4:
storeCmd(āM5\nā);
break;
case KEY_ICON_5:
storeCmd(āM3 S5\nā);
break;
case KEY_ICON_6:
storeCmd(āM3 S255\nā);
In Printing.c:
mustStoreCmd(āM5\nā); //kill the laser/fan
In Configuration.h:
#define FAN_CMD {āM3ā, āM3ā, āM3ā, āM3ā, āM3ā, āM3ā };
in video:
control of xyz from the tft display works very well, but as soon as I try to control the laser, control from the tft display over all functions is lost. control from the application is normal. what could be wrong?
video - youtu.be/1UpnGxsn9Mw
Best rgs
Alex