makerbase-mks / MKS-SGEN_L-V2

MKS SGEN_L V2.0 is powerful 32-bit 3D printer control board. The CPU is LPC1769 120MHZ, SGEN_L V2 hardware Integrated 4KB EEPROM, 5AXIS and dual Z interface, has 2 way FANs and Dc12/24V out interface, support TMC UART and SPI mode...
https://www.aliexpress.com/item/4001283346331.html?spm=a2g0o.store_home.slider_165457030.0
GNU General Public License v3.0
71 stars 28 forks source link

Encoder knob working wierd on LCD12864B with MKS SGEN L V2 #26

Closed Voxel3DPrinting closed 3 years ago

Voxel3DPrinting commented 3 years ago

Hey, I recently bought an "MKS SGEL L V2" motherboard with the "LCD 12864B" I configured and uploaded Marlin 2.0 and it works fine, but the encoder knob on the LCD only seems to react when I turn it quickly, if I turn it slowly it just does not register. I already tried adjusting the "#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high-resolution encoder" value in "configuration.h" but it does not seem to work. Also, the SD card reader does nothing. The "#define SDSUPPORT" is uncommented

Anyone any other ideas?

mks-viva commented 3 years ago

Hi! Can you provide your marlin firmware to me?

Voxel3DPrinting commented 3 years ago

Sir,

My marlin firmware is provided here: https://we.tl/t-tTgQqnUE9w I also noticed a problem while homing. The axis just move a tiny bit to the positive side, then stop… what could this be, I provided a video in the link above?

mks-viva commented 3 years ago

Hi! You can #define ENCODER_PULSES_PER_STEP 2, and i test it OK! TEST.zip

Voxel3DPrinting commented 3 years ago

IT WORKS!!! Thank you so much! However, I still have the problem that the SD card is not detected at all. And it does not home. (As shown in the Video of last mail). Do you know what could cause this?

mks-viva commented 3 years ago

If you want read LCD's SD card, you need set it in pins_MKS_SGEN_L_V2.h file image image

Voxel3DPrinting commented 3 years ago

Okay, and the Homing issue?? What could that be? Thankyou by the way for the amazing help so far!!

mks-viva commented 3 years ago

I want to know your endstop is normally open or normally closed and i think you should change endstop logic setting in configuration.h file image

Voxel3DPrinting commented 3 years ago

I will try soon. Can I mail you later today?

mks-viva commented 3 years ago

Of course! If you has any problem when you using and you can feedback it to us.

Voxel3DPrinting commented 3 years ago

Thank you so much!!

Voxel3DPrinting commented 3 years ago

Hi, I tried changing the SD from ONBOARD to LCD, but it still did not work, it now gave the error "SD INIT FAIL".. However, inverting the endstop values did fix the homing issue. So, the Homing and encoder problems have been fixed, but the SD problem still persists..

mks-viva commented 3 years ago

Hi, I tried changing the SD from ONBOARD to LCD, but it still did not work, it now gave the error "SD INIT FAIL".. However, inverting the endstop values did fix the homing issue. So, the Homing and encoder problems have been fixed, but the SD problem still persists..

Can you replace the short cable, from LCD to motherboard EXP1 EXP2, I think the cable is too long.

Voxel3DPrinting commented 3 years ago

Nopee, still does not recognize the card at all.. not when it is set to LCD and not when it is set to ONBOARD 

mks-viva commented 3 years ago

Nopee, still does not recognize the card at all.. not when it is set to LCD and not when it is set to ONBOARDmet vriendelijke groet, Sander Hesp

OK! I know what causes.

  1. You need use TF card on the board and update firmware
  2. You need remove motherboard's TF card and repower on, because LCD use SD_DET signl same as motherboard
Voxel3DPrinting commented 3 years ago

It works!! Buuut, now I have a homing issue again... -_- After homing all axis, it says "homing failed, printer halted" but all endstops, stepper drivers and steppers work correctly and are connected right (endstop s->signal / v-> nothing / g->ground) If i home the axis individually it works fine, and do not get the error.  What could this be?

mks-viva commented 3 years ago

It works!! Buuut, now I have a homing issue again... -_- After homing all axis, it says "homing failed, printer halted" but all endstops, stepper drivers and steppers work correctly and are connected right (endstop s->signal / v-> nothing / g->ground) If i home the axis individually it works fine, and do not get the error.  What could this be?

Can you provide a video?

mks-viva commented 3 years ago

Has this problem been resolved?

Voxel3DPrinting commented 3 years ago

Hey, thanks for coming back! The initial problem have been fixed, yes. Thankyou! However I do have some issue's now regarding the heatbed; it just will not heat above 48 degrees. I am using an ender 3 24V heatbed, and the output on the cable is indeed 24.18 Volts. I cannot find where this is coming from. Maybe you can help me with this? I hope to hear from you soon.

Voxel3DPrinting commented 3 years ago

Edit: I measured the voltage on the motherboard tot 24,18 Volts. At the heatbed itself, it goes down to 23,7 Volts. Could this make the difference?

mks-viva commented 3 years ago

@Voxel3DPrinting If the heating cannot continue, it is largely a problem of the heating bed power. When heating, the voltage will drop because the hot bed is essentially a resistance

Voxel3DPrinting commented 3 years ago

I noticed thanks! disable the PIDBEDTEMP in marlin and it is indeed working now!

The last problem I seem to have is the extruder making a clicking sound while retracting.. It is not present during extruding and I verified that I am using the correct Vref. I am using the tmc2100 stepper drivers with the e3d hemera hotend. What could this be?

mks-viva commented 3 years ago

I think you can adjust the speed or distance of the extruder withdrawal when Cure slices.

doug-scott commented 3 years ago

I noticed thanks! disable the PIDBEDTEMP in marlin and it is indeed working now!

The last problem I seem to have is the extruder making a clicking sound while retracting.. It is not present during extruding and I verified that I am using the correct Vref. I am using the tmc2100 stepper drivers with the e3d hemera hotend. What could this be?

Easiest way to figure out the source of the sound is to feel the filament as it enters the extruder. Since you are hearing this on retraction you will need to hold your fingers against the extruder while the filament is pushed out. If you are feeling the filament stop moving when noise is made it is slipping in the extruder. Depending on what extruder you have you may be able to increase the tension on the filament. It is pretty odd to have it slip on retraction though. How far is your print set to retract? I have had it happen when the retraction is set too far and the filament was being compressed in the hotend, stopping it from going into the PTFE tube. Note that this has also caused the filament to appear to be plugged in the hotend.

mks-viva commented 3 years ago

I close this issues about encoder.