Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all 2831 articles
Browse latest View live

Tmc2130+ lcd graphics on same SPI (no replies)

$
0
0
Hi all,

Does anybody have experience with this?
When you place the 12864 type LCD PCB adapter on the RAMPS, it uses and blocks the SPI -AUX 1 header- blocking for TMC use
Software SPI is possible, but will the hardware SPI then still work?

Thx

Coolerooney

How to Read G29 Autoleveling Offset Printout (no replies)

$
0
0
I'm having a hard time understanding which corner is my home corner on the Autoleveling printout (from G29). Is my home 0,0 or 2,2?
See attached image.
[attachment 109839 offset_question.png]

Configuration.h (1 reply)

$
0
0
Hello All, I am very new to all of this and at a very late stage in my life, BUT I am keen to get involved and I am picking it up as I go, but I do come across problems that I cannot unravel.
My problem at the moment is that when I open up Marlin on my laptop the boxes that should be at the top of the page showing the Configuration variants are not there which means I cannot access them.
Please can I have some advice to solve this. At the moment I am not able to proceed any further.
Looking forward to hearing you, thanks

Non-stop movement between G0/G1 commands (no replies)

$
0
0
Hello.
I'm trying to use Marlin for a CNC task with 3 motors.
As long as I see, Marlin always comes to full stop at the end of G0 or G1 command.
I'e. if I send the following:
G0 X0
G0 X100 F1000
G0 X200 F2000
Marlin will travel from X=0 with speed 1000, decelerating to 0 at X=200 and accelerating to 2000 afterwards.
Is there a way to skip this stop, so Marlin reaches the point X=100 at speed 1000 and then accelerates further to speed 2000?
Of course, the following command should already be buffered.

Thanks.

"garbage" in RepRapDiscount Smart Controller + Re-ARM (no replies)

$
0
0
Hi !

I try to put Marlin 2.0 on my Re-arm+RAMPS1.6 board with a RepRapDiscount Smart Controller.
I attached this as described here:
[panucattdevices.freshdesk.com]
And I get that ...
[attachment 109865 IMG_5012.JPG]

All pins were checked twice, I don't know how to fix this...

Any Idea ?

Sending commands while heating via M109 causes printer to pause (no replies)

$
0
0
Hi guys,

using the latest bugfix-1.1.x, I enabled EMERGENCY_PARSER to be able to use M108 in headless mode, via host, to resume from M600 pause.

The issue I am seeing now is that on some hosts (e.g. Pronterface) the firmware halts on M109 heatup. It heats up, displays "paused for user" and holds the temperature. Only if I send M108 the print starts (since that sets wait_for_user to false I suppose).

Since Pronterface caused this issue and OctoPrint did not, I noticed that OctoPrint uses the recommended way of M155 for temperature polling while Pronterface floods the printer with M105. This seems to cause a lock up on the M109 heating period.

Is there any way of preventing those commands of causing the firmware to wait for user input?

Thanks in advance!

pixelation on full-graphic-discount display (no replies)

$
0
0
I have gone through all (most?) of the suggestions to eliminate the pixelation shifts that I see on my display, with some improvement but no complete fix. The attached video snippet shows the issue. Running the latest bug-fix version of Marlin on a reprap machine and a Melzi board. All works well on a srd lcd display. Anyone have a proven remedy? Thanks.

SD card via USB (2 replies)

$
0
0
Hi,

I'm a Marlin newbie.

Yesterday, I configured and installed the HEAD of branch bugfix-2.0.x (commit 113af46) on an MKS SGEN v1.0. I used the MKS SBASE configuration for this.

Everything seems to work, except that the MKS SBASE configuration is supposed to expose the SD card of the controller board to the PC via USB. But the USB storage device exposed to the PC says "no media found". The SD card *is* detected by the controller, though, and via gcode commands, I can list its contents.

I used the configuration files under Marlin/src/config/examples/Mks/Sbase/.

Am I not supposed to be able to see the card from the PC? What could be wrong?

Best regards,
Mikael D.

Three quick questions (no replies)

$
0
0
I have Marlin 2.0 set up on a MKS Gen L every thing is moving in the right directions, homing and heating but there are still a few issues.

Getting it to print in the middle of the bed, I put a test print in the middle of Cura's build platform and the extruder tried to come out of the front of the printer. Which was interesting but not helpful.

1. How do I sort that out? Is it controlled by home offsets?

I'm really struggling to understand the how Marlin handles motion, endstops, invertion, offsets, bed size, travel limits and such.

2, Please can you recommend something I can read? The manual tells me " How to turn a knob" but doesn't give me the overview I need. Why should I turn it and how will it interact with other settings?

Unfortunately I one of the unlucky Gen L owners who have a board that won't drive any of the reprap displays even though I have tried every fix I can find on the net. So I'm considering buying a board from a reputable manufacturer even though it's going to be costly.

Thanks All. Aamcle

What's the most supported Marlin 2.0.x board? (no replies)

$
0
0
Hey guys,

I searched through the forums all last night, and couldn't find a solid answer to my question.

I'm designing a new controller board for a proprietary printer ... I won't say what printer yet, but it's fairly common.
This printer is currently closed source, and has REALLY bad slicing software, so most people have thrown them away.

I was wondering what board is most supported by the Marlin 2.0.x firmware?
I've combed through the source code (I'll be making some modifications myself) but can't find any that stand out.

I've already ordered a Teensy 3.6 as a starting point, I'd like to go with the beefiest UC, I'll be using 256x stepping controllers and would like the speeeed.

Also, same question on LCDs. I see there's some discussion around LCD's taking cycles away from the 8bit microcontrollers.
What's the biggest / best LCD supported by Marlin? if speed wasn't an issue?

Thanks all!

Compile Marlin 2.0x Bugfix For Archim 2 board (no replies)

$
0
0
Hello everyone.
I am new to the world of compiling custom marlin builds for 3d printers. I have made small mods just tweaking some values and checking this suggested from forums but this is a very new level for me. I have a very basic coding knowledge basically can make sense of what i am reading and what its for. so not completely useless.

I am having troubles compiling the new marlin 2.0.x bug fix for my new archim2 board. My plan is to install it on my Lulzbot taz 6. I have followed the guides best i can and need help. Also watched youtube videos but from what i can see thea people buying the archim board are pros and dont need help.

When compiling the new software can i use Arduino ide or Atom? I am using Arduino 1.9.0 beta at the moment.

I have installed the board drivers and the stepper drivers.
I have configured the configuration.h and configuration_adv.h to the best of my ability.
Alot of what i have done is using the Marlin_TAZ6_SingleExtruder_1.1.5.64_6353ccb which i got from github.

Any advice or even a direction on some reading material that will help is appreciated.

Thank you

can´t select negative zoffset on LCD (no replies)

$
0
0
Hi all!
I have adapted an E3D extruder on my Atom 2.0 (delta printer) to have the possibility of using an all metal extruder. I am using an external zprobe with has the following offset x=0 y=-16.90 z=-5.0.
I need some help with the firm (based on v1.0.0) because I have updated the values and the G29 auto leveling works fine and then the firm applies the following fórmula: zoffset=zprobe_offset+LCDzoffset_selected.
My problem is that my zprobe has an offset of -4.5mm with the nozzle so, when the firm applies last formula I get a negative value for zoffset, and when I tried to adjust for the first layer the lcd puts extrange symbols (see attached).
It is caused because you cant select a negative value for the zoffset, so to adjust the offset I have to select a possitive value for the offset and repeat again the bed leveling to obtain the new negative value.
After 6 iterations I had been able to adjust fine but i have to repeat the bed leveling each time that i modify the zoffset that is crazy.
I have found the line where It is supposed you select the zoffset on lcd. "Ultralcd.cpp" As you can see the range is between -10 and 70. I can reach 70 on the lcd but I cant reach less than 0...

*extrange symbols on lcd*
[www.dropbox.com]
*zprobe*
[www.dropbox.com]
*marlin version*
[www.dropbox.com]
*lcdconfiguration*
[www.dropbox.com]

configuration.h
#define Z_PROBE_OFFSET {0, -16.9, -4.84, 0} // X, Y, Z, E distance between hotend nozzle and deployed bed leveling probe.

marlin_main.cpp
deploy_z_probe();

z_offset = z_probe_offset[Z_AXIS] + (code_seen(axis_codes[Z_AXIS]) ? code_value() : z_offset);
calibrate_print_surface();
retract_z_probe();

feedrate = 6000;
feedmultiply = saved_feedmultiply;
previous_millis_cmd = millis();
endstops_hit_on_purpose();

Config_StoreSettings();
break;
case 30: // G29 Calibrate print surface with automatic Z probe.
saved_feedrate = 6000*3.5;
saved_feedmultiply = feedmultiply;
feedmultiply = 100;

home_delta_axis(); //Bato add for auto homing ATOM when G29

ultralcd.cpp
static void lcd_setting_zoffset_menu()
{
START_MENU();
MENU_ITEM(back, MSG_MAIN, lcd_main_menu);
MENU_ITEM(gcode, MSG_AUTO_LEVEL, PSTR("G29"));
MENU_ITEM(function, MSG_GOTO_ZERO, deploy_z_zero);
MENU_ITEM_EDIT_CALLBACK(float52, MSG_ZOFFSET, &z_offset, -10.0, 70, Config_StoreSettings);
END_MENU();
}

babystepping isn't working for me now (no replies)

$
0
0
I have a coreXY on ver 2 bugfix 870757a and I am having a problem with babystepping.
It is enabled, as is doubleclick to access. It does not go into the babystep menu on doubleclick.
babystep_xy is not enabled.
It has worked in the past and I do not know when it stopped working.
I upgraded my printer to a piezo probe/endstop a while back and have not used it since then.
I do not remember what the last ver was that it worked on, but it was a 1.1.x bugfix as I only recently started using ver. 2.
What am I missing?

Compile for execution speed rather than size ? (no replies)

$
0
0
Hello,

I notice that the Arduino IDE compiles Marlin (and any AVR code really) with 'size' optimization (-Os) set. Has anyone ever tried compiling Marlin for execution speed (-O2) instead ?

If so, did you notice any undue side effects ?

I've not tried running it on the board as yet as I'm still waiting for the controller board to arrive, but it strikes me that it's a much wanted change to make given the lack of desired MCU clock speed.


The location of the compiler optimization settings are in the file (in my case) is ..

C:\Program Files (x86)\Arduino\hardware\arduino\avr\platform.txt ... depends where you installed the IDE.

The two lines that I've changed to compile for execution speed are ..

compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects

and

compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto

I've replaced the two -Os with -O2. It still compiles just fine, but that of cause doesn't mean it'll run fine - learn't this over many years of programming, sometimes it's fine, sometimes the odd routine in your code throws a wobberley with this setting (but can normally be overcome with slight coding adjustments).

If it runs OK, we may gain a good percentage increase in firmware execution speed (depends where the coding bottle necks are), then again, maybe not.

Pip

X/Y Axis Speed & Bed Temperature Issue (1 reply)

$
0
0
I am on the latest version (1.1.9). I am having the strangest issue with my ANET A8. If I reboot my printer the x & y motors move as expected. I start having issues if I issue a bed temp setting for 85C. Initially after I issue the command all is still good. However, once the temperature starts to go above ~70-75C the x/y motors pick up speed dramatically. By the time it hits 85C, the x/y motors are moving ~10 times faster than requested. The strangest part is after I turn off the bed heater and let the bed cool, the motors still run 10 times faster. If I restart by unplugging the unit all goes back to normal.
The commands that I am issuing are as follows

M140 S85
G1 X0 Y0 F300
G1 X150 F300 -> 30 seconds to move 150 mm works initially
G1 X0 F300 -> ~3 seconds at 85C.
G1 X150 F300 -> ~3 seconds at 85C.

I am not sure what the issue is. Any suggestions? And idea what the real issue is firmware? Hardware? Any ideas on how to isolate what the issue is?


FYI, I can print PLA just fine when setting the bed temperature to 60. Trying to get the bed temp hotter for PETG due to print coming off the bed while printing.

MANUAL_Y_HOME_POS (no replies)

$
0
0
I am converting a cubex duo with a rumba board and am in final stages of setting up config.
I have steppers set for home 0,0,0 at top rear left.
I have:
MANUAL_Z_HOME_POS set to -3
MANUAL_X_HOME_POS set to 0
MANUAL_Y_HOME_POS set to 0
and when I G28 It homes to X=0, Z=0, Y= -3 (displayed on LCD) and is on all three endstops.
So 0 on z axis is at bed height.
I wanted to do the same with Y by setting MANUAL_Y_HOME_POS set to -25, which would make 0,0, 0 actually on the bed rather than 25mm behind it.
However when I set:
MANUAL_Z_HOME_POS set to -3
MANUAL_X_HOME_POS set to 0
MANUAL_Y_HOME_POS set to -25
It actually homes at 0 on the X axis (on the endstop) and +25mm away from the endstop on the Y. The LCD still shows position as X= 0, Y= 0, Z= -3.
I was expecting it to home at the Y endstop and for the LCD to show X= 0, Y= -25, Z= -3 based on the way the Z works).
So Z and Y Manual_ Home_Pos are behaving differently? Is it a bug or am I misunderstanding the use of these?

I would have been perfectly happy if on G28 the Z had acted in the same manner as the Y by homing on the endstop and then move 3mm down and it being 0,0,0 at that position.

Any ideas?

On a similar point, which would not be an issue if it would home at Z=3mm below endstop is, Is there a way to prevent Y or x movement when Z is below 0 (as per the example above)?

I am happy with Home being off the bed on the Y axis but being being 3mm below the bed on the Z means any Y movement after a home will slam the extruder into the bed.

Marlin 2.0 and STM32F103C8 (3 replies)

$
0
0
Was it ever possible to build Marlin 2.0 for this MCU? There are at least two boards designed for it (Morpheus and RABPS), plus the Mono Price Mini I3 controller, but I either get a "can't find included file atomic.h" or a "NameError: name 'variant' is not defined:" when trying to build it in Platformio. This happens even on a fresh install of Platformio, which makes me wonder if it was ever possible to build it for this specific MCU. I can build it for other mcu's in the same like like the one in MKS Robin, and a guy in this forum designed a whole 3d printer board around what seems to be an inexpensive stm32f407 module.

I made a board for a stm32f103 port of GRBL and it functions perfectly, if Marlin 2.0 could run on it it then a single board would be able to run both firmwares.

MAX6675 + MKS SBASE Marlin 2.0.X (no replies)

$
0
0
Hi!
I recently upgraded my delta to a 32bit board and I wanted to stay with awesome Marlin that got my delta running preetty well for a long time. I did it and I am enjoying so much this setup.
I bought a MAX6675 + thermocouple combo to upgrade my E3D all metal hot end but when I went to configure the SPI communication I realized that there is not any lines at the pins_MKS_SBASE.h regarding SPI for MAX6675. If I just add the lines for the J8 plug with a custom cable at the pins_MKS_SBASE.h file it should come out just working right?
I know the basic stuff at coding and never had any significant own project on C so I do not how to really follow how the code is connected between all the files.

Help with Marlin please for new M code (no replies)

$
0
0
Hello,

I am just experimenting and trying to add a new M code and a new sensor. I would like to be able to do various items in my new M code based on whether or not my sensor is triggered.

I am trying this;

  case 444:  //test new custom gcode BW
      gcode_M444();break;


/**
 * M444: new GCODE test 
 */
inline void gcode_M444() {

//#if (READ(Z_MAX_PIN))

#if  ENABLED(SDSUPPORT)
 if(READ(Z_MAX_PIN) == 0)
{lcd_setstatus("LIQ LOW!!");}
else
{lcd_setstatus("LIQ HIGH!!");
}
#endif

So one of my first questions, I am not needing Z max endstop. So I want to hook a different sensor to zmax and this is what I want to check in my new code.
The code above works WHEN I have;
#define USE_ZMAX_PLUG
in my config file

If I take it out it gives compiles errors because it can't resolve Z_MAX_PIN
So because I have the above in my config (define use zmaxplug) will that cause marlin to think I am using z max endstop and break other things? If I comment out the define, then my code can no longer read my sensor from zmaxpin.

Thanks

Marlin 2.0 xyz cube surface finish against 1.9.1 (no replies)

$
0
0
Good day all

Have downloaded bugfix-2.0.x from [marlinfw.org]
When printing a xyz calibration cube I get a surface problems as per attached picture.

This defect will be printed when the xyz cube are exactly in the middle of my delta printer build plate and only on the Y axis - when I move it 30mm left/right/front/back - no problems. This told me that there are a mechanical problem. The anycubic linerar plus are 2 months old, but I removed my rails, cleaned & oiled them (smooth as butter) and also checked, motor pinions and belts. Exactly the same problem after this
I moved back to marlin 1.1.9 and no issues.
My feed rates/acceleration/jerk and simplify3d gcode settings are exactly the same. I tried to copy all my 1.1.9 settings to 2.0
1st picture are 1.1.9 and 2nd are 2.0 ( The xyz cubes were only printed 50% because the problem are at the bottom - On the side you will see where the Y start, just beneath it are the problem)
Viewing all 2831 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>