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

ABL acting in reverse (no replies)

$
0
0
For some reason, my bed leveling compensation is acting exactly the opposite way that it should.

The front left corner is higher up.. yet the plot shows it as lower.

And the automatic compensation reacts the wrong way, making it twice as bad.

Anyone know how to fix that? Everything else, including Z homing, printing etc is working fine.

Also, the plot shows the center of the bed to be higher, when it reality, there's a slight dip in the center.. so yeah, everything is reversed.

Marlin 2.0.6 (no replies)

$
0
0
Today I configured Marlin 2.0.6 for my Hictop 3DP11 and 3DP12 3D Printers.

Original
#define FIL_RUNOUT_INVERTING True
Compling set the state of changed variable to HIGH.
#define FIL_RUNOUT_STATE HIGH

Original
#define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axes (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axes (G28).
I hope nothing needs to be done here!
#define Z_SAFE_HOMING_X_POINT X_CENTER // X point for Z homing
#define Z_SAFE_HOMING_Y_POINT Y_CENTER // Y point for Z homing

Wow! on reboot Screen showed to Initialize EEProm
[attachment 116527 EEPROM.jpg]


This Compiled Marlin not presently in a working Hictop Printer it has been uploaded to a Dead stepper driver Hictop Controller for basic function tests.

Kossel Delta FSR G33 P2/P3 Autocalibration probe failures (2 replies)

$
0
0
Hey folks.

I have a hand-me-down delta style printer. I believe it to be a Kossel 250 from Ultibots.

RAMPs 1.4 on Arduino Mega 2560 running Marlin 2.0.6

Bed heating control broke, apparently, so the heating leads have been removed.

I had a terrible time trying to manually calibrate this thing, but got pretty close. So many guides out there refer to using DELTA_SMOOTH_ROD_OFFSET for fine tuning, but best I can tell this is deprecated in recent builds of Marlin?

Anyhow, I was able to finish a half-decent Benchy, then put in an Ultibots FSR kit for autocalibration.

It would not finish a full `G33` pass without probe failure. Sometimes the effector would seem to drift too high when going from the X to the Y tower. I started down this path when I tried to print items that were within the supposed 200mm print diameter, but I'd end up printing in the air half the time.

Now, `G33 P0` and `G33 P1` pass every time. Sometimes I can get `G33 P2` to pass, which I believe is just probing center, and the 3 towers. I have only been able to get it to pass P2 at all with my printable radius set to 80mm rather than 100m as desired. `G33 P3` has never passed, this is when it does a triad of probes at the center, then starts probing in a circular manner counterclockwise around the bed. It usually starts floating upwards and failing shortly after the X tower.

Here's my fork in GitHub with a diff against the default Configuration.h (which is cartesian, but still highlights my changes) [github.com]

Here's the output from the terminal, sans temperature updates: [gist.github.com]
In short, I connected, ran M503 to show delta settings etc, then went through the G33 commands to failure.

Come to think of it, occasionally when attempting to home after a successful print, it will also fail and require reset. None of my prints ever get anywhere near the top limits. I don't run EEPROM, and I leave software endstops enabled at all times.

I could also upload some video to Youtube later, shots of Benchy or other recent failed prints if that would be helpful.

Thanks!

TOOLCHANGE_ZRAISE (no replies)

$
0
0
I have a 2 in one out hot end that was working before I swapped out the Rumba board for a Rumba32 board. The printer prints as expected with no tool change however when going from T0 to T1 the head moves up 2mm, as expected, but then doesn't lower back to the original z pos before starting to print again. I found this issue [github.com] and the op said this was fixed in the latest bug fix. I'm able to compile the latest if I leave out filament sensors and LCD out of configuration.h and configuration_adv.h and the associated settings that go along with those. If I do include the filament sensors and LCD the compile fails and the final error of
Linking .pio/build/rumba32/firmware.elf
long list of warnings/yellow tex
collect2: error: ld returned 1 exit status
*** [.pio/build/rumba32/firmware.elf] Error 1
I loaded the successful built firmware and it did not fix the toolchange issue.
So I have 2 questions,
Any suggestions on how to address toolchange_zraise?
collect2: error: ld returned 1 exit status
*** [.pio/build/rumba32/firmware.elf] Error 1
How do I address this error?

HELP !! Delta firmware Guidelines X( (no replies)

$
0
0
This is my first printer to build from scratch, and my first delta printer , i have a problem using marlin to make a custom firmware for my delta printer , and it has been a while since i ever dealt with simple programming, there are very few helping forums that are interested in delta printers, and too bad i have no specific model to memic, so i made it custom from scratch
I really do not need where to start , I began with a biqu kossel dimensions , but changed the board to skr 1.3 , switched drivers to tmc 2130 , and bought the motors, fish eye and arm lengths that were available ,
so by time i realised that i have made a different version of the product, and have no clew how to edit firmware , and even biqu has discontinued their support for their product long ago for problems it showed , so i have no updated firmware , nor the knowledge to make one , specially for a delta , i feel lost
I am asking for if
1- there is any educational videos that goes step by step to make a custom firmware for a delta printer , i mean really for dummies level , i feel like a child working through this high level programming and delta caliberations
2- if there are any professional services for firmware making , i have seen fiverr, but find no professional service worth , any recommendations

will appreciate your help and answers guys thanks :)-D

How to wire LED_PIN ? (2 replies)

$
0
0
pins_MKS_SGEN_L_V2.h lists:

#define LED_PIN                            P1_18  // Used as a status indicator

I want to use this to turn on/off a 5v LED via
M42 S1
M42 S0

But I can't find anywhere if this is the V+ or GND pin. So I don't know where to plug in the other wire.

I thought of may using the Servo pins for this with P1.23 and 5V, but now I'm thinking that might fry something.

#define SERVO0_PIN                         P1_23  // SERVO P1.23


Suggestions?

Display don't work without connecting USB to laptop (4 replies)

$
0
0
I am using Mega 2560, ramps 1.4, reprap full graphics controller, 12V SMPS for my 3D printer

My display don't turn ON without USB connected to laptop.
With USB connected to my laptop, Voltage in dispay pins (Exp1 GND and VCC) is 4.7 V and without USB connected to laptop Voltage is 0 V. so now what should I do?
How can I connect automatically to Printer using only dispay without using my laptop?

What could be the proble for this?

Upgrading from Marlin 1.1.9 to Marlin 2.0.x causes problems with extruder (no replies)

$
0
0
I've been trying to upgrade my Marlin firmware from 1.1.9 to 2.0.x. Unfortunately it's causing me issues although I configured 2.0.x with the same settings as 1.1.9.

Here is how it looks like with 1.1.9: Youtube Link

Here is how it looks like with 2.0.x:Youtube Link

I'm using a Makerfarm Prusa i3v with a Ramps 1.4 Board. I use Watterott TMC2208 drivers in standalone mode for all axis. From what I can gather it happens at places where a lot of retractions happen in succession but I have no clue what the causes this.


What I already tried:

-Disable Linear Advance and/or S-Curve Acceleration

-Set MINIMUM_STEPPER_PULSE to 1

-Enable SQUARE_WAVE_STEPPING

-Decrease acceleration from 1000 mm/s^2 to 500 mm/s^2

-Enable Classic Jerk settings

-Reset EEPROM settings

-Checked and compared the EEPROM settings with M503

Endstop coreXY (no replies)

$
0
0
Hey all,

i'm creating my own 3d printer with the coreXY theory.

i'm almost finished with the mechanical part of the printer and now i'm reading about the electronic/arduino part of it. (i know how arduinos work (playing with it for 10 years now) thats why i like to use marlin, and its cheap :) )
but my quastion is if one of the steppers skips a step the Y axis wil be crooked thats why i want to have 2 endstops on the Y axis so when it homes it corrects it self.
i know the X axis will also be crooked but the X axis endstop will correct that.
is there a feature inside the marlin firmware that can do this.

so
2x endstop for Y axis
1x endstop for X axis
1 or 3 x endstop for Z axis (maby i will add the auto bed level feature)

and offcource i understand the stepper should not skip a step, but i think it will be a pain in the a$$ if i need to do this manuel all the time, durring calibration the max speed for the printer.

and is there a tool change feature on marlin?
i like to have my E3D verion 6, volcano and a dremmel on it.

kind regards, Emile B

LEFT_PROBE_BED_POSITION is outside the probe region (no replies)

$
0
0
hello
i have this problem when upload code
LEFT_PROBE_BED_POSITION is outside the probe region

my bed siZe is 214 * 214
and the print siZe is 200 * 200

I attached configuration.h

Is Marlin 2.xx strictly for 32 bit controllers? (3 replies)

$
0
0
I have been following this for a while, but am not really certain. I have never heard anyone talk about Marlin 2.xx without talking about SKR boards or Smoothie boards (not running Smoothieware). Never with the ancient and venerable 8 bit AVR MEGA chips. My 32 bit controller of choice is the Duet 2 series right now. It is the only one that seems to be natively supported by reprap firmware, and the smoothie board seems to have vanished. I am open to a less expensive option than Duet, but it would need to be pretty good.

So, is Marlin 2.xx only for 32 bit boards, and is the only way of using by compiling with with Visual Studio? That seems like a remarkably hostile step backwards from the simple, if not particularly elegant, Arduino origins of Marlin 1.xx - And Arduino supports 32 bit systems now, so I am thinking that I am missing something.

What boards support Marlin 2.xx?
What are the development environments that are required to use Marlin 2.xx?
And the big one: Why would anyone want to? What makes it so desirable?

inquiring minds, and all that,
DLC

Marlin 2.0.6.1 with PlatformIO and VSCode (no replies)

$
0
0
I was working on updating my Marlin configs today when VSCode stopped working and started throwing the error
"ModuleNotFoundError: No module named 'platformio.managers.package':". I've successfully compiled this config before, and this just started out of the blue. Does anyone have any ideas on how to help? I'd really like to still be able to use vscode...

I'd like to improve CNC mill support (2 replies)

$
0
0
I'd like to improve CNC mill support. I want to add a couple immediate commands.

Status
Pause
Resume

These commands would make it easier to get Marlin working with Universal Gcode Sender and other CNC control projects.

Has this already been attempted?

error message that prevents build (1 reply)

$
0
0
I am running Marlin 2.0.6 and just tried to run a build. I get this for an error message:

ModuleNotFoundError: No module named 'platformio.managers.package':
File "C:\users\doug\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 167:
env.SConscript(item, exports="env")
File "C:\Users\doug\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 598:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\doug\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 287:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "J:\Marlin-2.0.6\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 12:
from platformio.managers.package import PackageManager

I just started enabling BLTouch settings and tried to run the build. These errors kill the build before it even starts. The build worked last week, and the only changes were the ones to enable BLTouch. Can't see how that would stop it from even starting. I am building inside Visual Studio Code and Platformio. Any help would be greatly appreciated.

3D Touch for Hictop (no replies)

$
0
0
3-pin: Brown (-, GND), Red (+5V), Orange (control signal) (Z-Max)
2-pin: Black (-, GND), White (Z min)

[attachment 116649 3DTouch.jpg]

Making sure the pin configuration is correct.
Connect the 3 pin wire to the Z max pin.
Connect the 2 pin wire to the Z min pin.

Marlin Code Changes
#define NUM_SERVOS 1 // Servo index starts with 0 for M280 command

#define SERVO_ENDSTOPS {-1, -1, 0} // Servo index for X, Y, Z. Disable with -1
#define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 10,90} // X,Y,Z Axis
#define Z_MAX_PIN -1 //Old pin 19
#define SERVO0_PIN 19 //Old pin 6

OK I have come up with an Ideal can anyone help me and tell me if this looks correct.

Quote

When 3D Touch is first powered up it does a self test
Starting with the pin up it them goes down/up 3 times and ends up the the LED on solid.
Continuous flashing means that there is an obstruction or fault.

The 3D Touch responds to these gcodes

M280 P0 S10 ; pushes the pin down
M280 P0 S90 ; pulls the pin up
M280 P0 S120 ; Self test – keeps going until you do pin up/down or release alarm
M280 P0 S160 ; Release alarm

Alarm – The 3DTouch can sense when something is wrong and then goes into alarm mode which is continuous flashing. Alarm can be triggered like an obstruction that stops the pin going up and down freely, it could be dirt etc.

Thank You.

G29 Manual bed leveling guestions (no replies)

$
0
0
I have a home built printer with a SKR V1.4 turbo control board with Marlin firmware. I'm trying to set up the bed leveling. According to the docs G29 S0 is supposed to print out the stats of the bed leveling. When I give thew G29 S0 command it immediately moves to the first position and starts the leveling process. If I continue with the three points it ends with this printout:

Send: G29 S2
Recv: >>> G29 X150.00 Y200.00 Z0.20
Recv: Machine Type: Cartesian
Recv: Probe: PROBE_MANUALLY
Recv: Auto Bed Leveling: 3POINT (disabled)
Recv:
Recv: 3-point probing done.
Recv: current_position= X150.00 Y200.00 Z0.20 : > probing complete
Recv: current_position= X150.00 Y200.00 Z0.20 : G29 uncorrected XYZ
Recv: Probed Z0.00 Matrix Z-0.02 Discrepancy 0.02
Recv: current_position= X150.00 Y200.00 Z0.00 : G29 corrected XYZ
Recv: current_position= X150.00 Y200.00 Z0.00 : sync_plan_position
Recv: X:150.00 Y:200.00 Z:0.00 E:0.00 Count X:39750 Y:53000 Z:346
Recv: <<< G29 X150.00 Y200.00 Z0.00
Recv: ok

If I try the G29 S0 again it just starts over again. The docs say I should be getting this with the G29 S0 command:

> G29 S0
Num X,Y: 3,3
Z offset: 0
Measured points:
0 1 2
0 +0.011 -0.020 -0.026
1 +0.017 +0.002 -0.019
2 +0.022 -0.030 -0.013


Can anyone tell me why its not working like the docs say it should.
Thanks all

RAMPS_14 Firmware Update (no replies)

$
0
0
Hello! This is my first post, sorry in advance for any rule violations.

I wanted to stretch the boundaries of my X-axis from 200 to 250. Pulled the git repo, checked out the version that my machine was currently using, made tweaks to the configuration.h file to the best of my knowledge, and flashed the atmega. Now the printer has all kinds of problems, including having both positive and negative motion commands send the head in the same direction (positive). I set the limits back to the original and am just trying to get back to where I started.

Using Repetier-Host v2.1.5 to control a Prusia i3 V2 printer on Marlin v1.1.6, using RAMPS 1.4 board. (tried with both 1.3 and 1.4 motherboard defines)

Any help would be appreciated. Thanks!

Current configuration.h file attached.

Error while complining (1 reply)

$
0
0
Hello,

I´m running into a issue while cpmlining Marling Bugfix version.

I dont have a clue how to fix it.

Marlin\src\module\configuration_store.cpp: In static member function 'static bool MarlinSettings::save()':
Marlin\src\module\configuration_store.cpp:803:58: error: 'class MarlinUI' has no member named 'preheat_hotend_temp'
803 | const int16_t (&ui_preheat_hotend_temp)[2] = ui.preheat_hotend_temp,
| ^~~~~~~~~~~~~~~~~~~
Marlin\src\module\configuration_store.cpp:805:58: error: 'class MarlinUI' has no member named 'preheat_fan_speed'
805 | const uint8_t (&ui_preheat_fan_speed)[2] = ui.preheat_fan_speed;
| ^~~~~~~~~~~~~~~~~
Marlin\src\module\configuration_store.cpp:813:20: error: 'ui_preheat_bed_temp' was not declared in this scope; did you mean 'ui_preheat_hotend_temp'?

May somebody can help me unterstanding the problem? I attached the configs.

Best regards, Thorsten

Sanguino Board compiling generates many errors, cannot compile (1 reply)

$
0
0
I followed this guide and was successful with loading the bootloader to my printer: [www.fission3d.com]
I then started to work on loading the Marlin firmware again, but encountered many errors when compiling the code on Arduino IDE. I am using: Board: Sanguino. Processor: ATmega1284 (16MHz). Port COM3. Programmer Arduino as ISP.
These are the errors I am getting (it made me zip): [attachment 116701 compilingerrorsarduinoIDE.txt]


Sorry for the huge paste dump. I had these compiling errors before when I was attempting to edit my firmware for BLTouch, so I decided to reinstall octoprint and everything in an attempt to fix it which eventually led me here in the first place... What the heck are these compiling errors all about? My efforts on googling them are not helping.

Edit: I notice that in the error logs it tells me to change the board to Arduino Mega or Mega 2560. I did this and then the code compiles successfully... But I cant use this compiled code right? I need it to be compiled for Sanguino board? Idk

driver DM542Y - Configurare Marlin (1 reply)

$
0
0
Hi, I'm new to the forum, I would like to ask you my question:

I am building a delta for printing with clay, I used a Bigtreetech skr 1.3 card with TMC2209 driver and nema 17 motors for the x, y, z axes

and Marlin-bugfix 2.0 firmware.

So far everything ok, I did a blank print run and everything seems to go smoothly.

For the extruder I instead opted for a nema 23 and DM542Y driver as per link:

[www.omc-stepperonline.com]- stepper-motor.html

to connect it to skr 1.3 there are the appropriate pins (EN DIR STP GND)

it is also necessary to set the 1: 1 step in the firmware, since it will be the external driver that generates the microstep pulses, setting it through the appropriate switches.

And here is the question: the DM542Y driver It is not among the drivers listed in Marlin, how do I configure it?

I'm afraid to test by setting another driver, I have no idea what might happen.

Tips?

Options: A4988, A5984, DRV8825, LV8729, L6470, TB6560, TB6600, TMC2100,
* TMC2130, TMC2130_STANDALONE, TMC2160, TMC2160_STANDALONE,
* TMC2208, TMC2208_STANDALONE, TMC2209, TMC2209_STANDALONE,
* TMC26X, TMC26X_STANDALONE, TMC2660, TMC2660_STANDALONE,
* TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE
*: ['A4988', 'A5984', 'DRV8825', 'LV8729', 'L6470', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE' , 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130', 'TMC5130_STANDONE'
* /
#define X_DRIVER_TYPE TMC2209
#define Y_DRIVER_TYPE TMC2209
#define Z_DRIVER_TYPE TMC2209
// # define X2_DRIVER_TYPE A4988
// # define Y2_DRIVER_TYPE A4988
// # define Z2_DRIVER_TYPE A4988
// # define Z3_DRIVER_TYPE A4988
#define E0_DRIVER_TYPE <<<<<<< ???
// # define E1_DRIVER_TYPE A4988
// # define E2_DRIVER_TYPE A4988
// # define E3_DRIVER_TYPE A4988
// # define E4_DRIVER_TYPE A4988
// # define E5_DRIVER_TYPE A4988

thank you
Viewing all 2831 articles
Browse latest View live


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