6
$\begingroup$

My Kossel Mini printer (delta) has RAMPS1.4/Arduino Mega electronics configured to use a standard 20x4 LCD display with Marlin during printing.

Often, navigating the menus during print can be painfully slow, and I occasionally end up making the wrong selections due to lag.

Without starving the actual printing process of CPU resources, is there any way of speeding up the menu navigation?

$\endgroup$
7
  • $\begingroup$ What speed are you printing at? If I understand correctly, Marlin's interrupt frequency for stepping is based on the print speed (more correctly the necessary steps per second). $\endgroup$
    – nanofarad
    Commented Jan 14, 2016 at 11:28
  • $\begingroup$ @hexafraction I don't think the interrupts are the problem, as they're very fast. The problem is that the planner is simply very slow, because delta's require complex arithmetic. $\endgroup$ Commented Jan 14, 2016 at 11:34
  • $\begingroup$ @TomvanderZanden Ah, I didn't realize Kossel is a delta. I should have googled first. $\endgroup$
    – nanofarad
    Commented Jan 14, 2016 at 11:34
  • $\begingroup$ @hexafraction I added "delta" to the description so that you don't have to google next time. :) $\endgroup$ Commented Jan 14, 2016 at 12:02
  • $\begingroup$ @TomvanderZanden, are you suggesting that it could be is the path planning algorithm that occasionally require too much processing? In that case, I believe the menus would be slower for complex movements, such as circles or polynomial paths. I will investigate that tonight, but I believe you might be right about that. $\endgroup$ Commented Jan 14, 2016 at 12:20

1 Answer 1

5
$\begingroup$

A Delta printer requires constant complex calculations to produce straight lines while printing. The firmware, therefore, spends most of its time figuring out the step and timing sequence, and only the little remaining time between interrupts and these calculations is given to the user interface.

Marlin doesn't document any configuration parameters that would improve the user interface responsiveness, and in any case such improvement must necessarily come at the cost of printing speed and/or accuracy. The processor is being used to its maximum capacity. The only thing you might be able to do is dig into the firmware and try to change it yourself, as this is not a clear option within Marlin.

If working with the user interface while printing is important to you, your next step should probably be to change to a faster 32 bit processor. There are a few firmwares available for ARM and other architectures which may resolve your situation.

$\endgroup$
1
  • $\begingroup$ Thank you for taking your time with this. I have had this suspicion for some time, but not really known where to start. I don't think fiddling with the firmware really is the way to go, as that could be a huge time investment! At some point I might upgrade the electronics, but for now I will just accept that it is somewhat slow at times. $\endgroup$ Commented Jan 14, 2016 at 16:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .