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

Z will not go Up (1 reply)

$
0
0
Ok I am no stranger to Marlin and how it works.... there is no lines for fixing this Issue 2 things the Z tends to Jam and it will only go Down... Early versions of Marlin had a way to correct this issue but I cant find it in Marlin 1.1.9...and it cant be that hardware I had it running on my Hypercube some weeks back think its the same issue as always 2 motors one Driver.. getting half of everything...nope even with weak settings it should turn the M8 Rod OK...

What is wrong with this picture? (no replies)

$
0
0
Marlin ver bugfix 2.0.x.8cfcabe
Repetier v2.1.6

I home all with G28. Home is set to backoff 30mm
I then run this script

g0 x50 y50 ; place XY on bed
g28 z ; home Z and raise to 30mm (backoff)
g0 z0 ; Z=0 = measure offset

It goes to x50, y50
then homes Z which ends up at Z=30mm
then it move Z to 0 to test my offset which is set at 0.20mm

Repetier Log
20:23:54.770 : N79 G28*45
20:24:03.945 : X:0.00 Y:0.00 Z:30.00 E:0.00 Count A:0 B:0 Z:24000
20:24:11.405 : N80 G0 X50 Y50*16
20:24:11.405 : N81 G28 Z0*96
20:24:11.405 : N82 G0 Z0*89
20:24:21.634 : X:50.00 Y:50.00 Z:30.00 E:0.00 Count A:20000 B:0 Z:24000

So why is Marlin saying it is still at Z=30? The probe actual position is about 0.10mm from the bed. (paper thickness)
If I click Z 1 + step, Z rises to 31mm.

21:01:42.183 : N100 G1 Z31 F1000*54

confusing documentation (1 reply)

$
0
0
So what is new?

I have a nozzle mounted piezo probe/endstop == NOT carriage mounted, The Nozzle IS the probe.

based on this excerpt from configuration.h, I should enable both FIX_MOUNTED_PROBE and NOZZLE_AS_PROBE
but that does not work


/**
* A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
* (e.g., an inductive probe or a nozzle-based probe-switch.)
*/
//#define FIX_MOUNTED_PROBE
/**
* Use the nozzle as the probe, as with a conductive
* nozzle system or a piezo-electric smart effector.
*/
//#define NOZZLE_AS_PROBE

So what should I do?

POWER_LOSS_RECOVERY error (no replies)

$
0
0
Hi,
I'm trying to enable the POWER_LOSS_RECOVERY feature but it's not working well.
Unfortunately, changing the status of pin 31 to HIGH stops printing and restarts and resumes the message.
Unfortunately, the Z axis does not deviate from the set value of 20 mm, and when resuming,
printing does not return to the correct X, Y position or Z height.

Thanks


UPS 24V connected.
https://github.com/makerbase-mks/MKS-UPS12V-UPS24V?spm=a2g0o.detail.1000023.17.53df5356e6PStx

Marlin FW bugfix 2.0.x
#define POWER_LOSS_RECOVERY
  #if ENABLED(POWER_LOSS_RECOVERY)
    #define BACKUP_POWER_SUPPLY       // Backup power / UPS to move the steppers on power loss
    #define POWER_LOSS_ZRAISE      20 // (mm) Z axis raise on resume (on power loss with UPS)
    #define POWER_LOSS_PIN         31 // Pin to detect power loss 
    #define POWER_LOSS_STATE     HIGH  // State of pin indicating power loss
    #define POWER_LOSS_PULL    pulldown // Set pullup / pulldown as appropriate
    #define POWER_LOSS_PURGE_LEN   20 // (mm) Length of filament to purge on resume
    #define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.

    // Without a POWER_LOSS_PIN the following option helps reduce wear on the SD card,
    // especially with "vase mode" printing. Set too high and vases cannot be continued.
    #define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data
  #endif

Z-probe "Touch-MI" (1 reply)

$
0
0
HI,
I use a Z-probe type Touch-MI Probe by hotends.fr

info: Touch-MI probe

When using the POWER_LOSS_RECOVERY function, the probe is deployed when restored because the extruder moves to the X_MIN_POS position.
This is inadmissible because the probe tip strikes the object when returning to the print position.

The same problem occurs if DUAL_X_CARRIAGE mode is activated and carrier X1 is parked at position X_MIN_POS when the carrier returns to print is a big problem deployed probe.

FW Marlin Bugfix 2.0.x

BTT SKR 1.4 Turbo, BTT TMC2209 Drivers, Sensorless Homing Issues (no replies)

$
0
0
So have a new bigtreetech skr 1.4 turbo with bigtreetech tmc2209 stepper motors.

Trying to setup sensorless homing however my Y MIN Endstop always shows triggered which means it never tries to home Y.
X sensorless homing is working fine?

>>> M119
SENDING:M119
Reporting endstop status
x_min: open
y_min: TRIGGERED
z_min: open

Anyone got any ideas?

Tried both Stock Marlin 2.0.5.3 and Marlin 2.x Bugfix

SKR 1.3 Marlin Build Help (no replies)

$
0
0
Hello,

I'm busy trying to do a Marlin build for my SKR 1.3 board but can't get it to build. I was wondering if anyone might be able to help me out?

The printer I'm doing it for is a JGAurora A5s with a TFT24 screen installed.

First Layer Fail Using Bilinear Auto Bed Leveling Marlin v2.0.5.3 (no replies)

$
0
0
First layer is high on one side of the bed and low on the other after impleming auto bed leveling. Here's the matrix:

Bed 60C
SENDING:G29 V4
Bilinear Leveling Grid:
0 1 2 3 4
0 +0.002 +0.112 +0.197 +0.341 +0.506
1 -0.180 -0.068 +0.044 +0.174 +0.330
2 -0.260 -0.134 -0.013 +0.137 +0.251
3 -0.226 -0.088 +0.046 +0.142 +0.246
4 -0.066 +0.021 +0.063 +0.137 +0.244

Here's a link to the pic showing the uneven first layer. Shouldn't auto bed leveling handle such minor differences in bed height?

Image error
Missing Location header in redirect response.
open image URL


Kein Return nach Filamentwechsel (no replies)

$
0
0
Hallo Leute mein BQ Hephestos 2 läuft mit der Marlin 1.1.x toll , aber !

der Filamentwechsel mit M600 im gcode aus cura funktioniert, aber nach dem Laden des neuen Filament steht der Drucker still, am LCD steht Druck Pausiert und nichts geht mehr !
man kann im Menü herum wählen was man möchte aber er reagiert auf nichts .
Das gleiche macht er auch wenn ich den Filamentwechsel direkt am Drucker ohne laufenden Druck aktiviere !

denke das Problem liegt also in der FW.
wo kann ich da ansetzen ?

Danke im Voraus für eure Hilfe

ABL Fail Bilinear. (no replies)

$
0
0
Hello everyone.

I have a z-probe problem I cannot figure out. I have read all the post I could find related to my problem with no luck.

My Machine:
DIY 3d printer running the lastest release of Marlin as of this date.
Build Area: 540x 445y 500z
Hardware: SKR 1.1 Pro with TMC2209 on all except Z and extruder (TMC2208)
The machine homes at the bottom of the Z axis
DC42 Probe

When trying to ABL, get the following

G29 L20 R150 F20 B300 V3


Bilinear Leveling Grid:
      0      1      2      3      4      5      6      7      8      9
 0 +0.958 +0.715 +0.882 +0.785 +1.005 +1.120 +1.217 +1.760 +1.327 +1.465
 1 +0.515 +0.285 +0.455 +0.502 +0.640 +0.717 +0.790 +0.927 +0.993 +1.065
 2 -0.193 -0.038 -0.083 +0.175 +0.203 +0.345 +0.467 +0.502 +0.637 +0.705
 3 -0.433 -0.387 -0.187 -0.085 +0.042 +0.115 +0.190 +0.237 +0.400 +0.450
 4 -0.683 -0.550 -0.200 -0.433 -0.195 -0.073 +0.140 -0.015 +0.160 +0.272
 5 -0.750 -0.657 -0.490 -0.400 -0.290 -0.225 -0.088 +0.020 +0.082 +0.162
 6 -0.755 -0.665 -0.538 -0.480 -0.300 -0.245 -0.143 -0.045 +0.015 +0.157
 7 -0.278 -0.580 -0.435 -0.370 -0.257 -0.115 -0.005 +0.015 +0.097 +0.197
 8 -0.138 -0.407 -0.243 -0.157 -0.075 +0.020 +0.108 +0.162 +0.252 +0.385
 9 +0.097 -0.153 -0.058 -0.103 +0.722 +0.410 +0.015 +0.833 +0.510 +0.595
G29 uncorrected Z:5.80
 corrected Z:5.20
  current_position= X150.00 Y347.50 Z5.20 : sync_plan_position
<<< G29

But when I try to run it on the whole area of the bed, I get:

G29 L20 B500 F20 B300 V3

>>> G29 L20 R500 F20 B300 V3
SENDING:G29 L20 R500 F20 B300 V3
  current_position= X150.00 Y347.50 Z5.20 : >>> G29
Machine Type: Cartesian
Probe: FIX_MOUNTED_PROBE
Probe Offset X0.00 Y-47.50 Z-0.20 (Middle-Front & Below Nozzle)
Auto Bed Leveling: BILINEAR (enabled)
ABL Adjustment Z+0.595
G29 Auto Bed Leveling
  current_position= X150.00 Y347.50 Z5.20 : Leveling ON
  current_position= X150.00 Y347.50 Z5.80 : ...Now OFF
  current_position= X150.00 Y347.50 Z5.80 : sync_plan_position
  current_position= X150.00 Y347.50 Z5.80 : Probe::set_deployed
deploy: 1
Probe::move_z(10.00)
>>> do_blocking_move_to X150.00 Y347.50 Z10.20
<<< do_blocking_move_to
>>> do_blocking_move_to X150.00 Y347.50 Z10.20
<<< do_blocking_move_to
reset_bed_level
Probing mesh point 1/100.
>>> Probe::probe_at_point(500.00, 20.00, raise, 3, probe_relative)
  current_position= X150.00 Y347.50 Z10.20 :
>>> do_blocking_move_to X500.00 Y67.50 Z10.20
<<< do_blocking_move_to
echo:busy: processing
echo:busy: processing
  current_position= X500.00 Y67.50 Z10.20 : Probe::set_deployed
deploy: 1
  current_position= X500.00 Y67.50 Z10.20 : >>> Probe::run_z_probe
  current_position= X500.00 Y67.50 Z10.20 : >>> Probe::probe_down_to_z
>>> do_blocking_move_to X500.00 Y67.50 Z-10.00
<<< do_blocking_move_to
echo:busy: processing
  current_position= X500.00 Y67.50 Z2.34 : sync_plan_position
  current_position= X500.00 Y67.50 Z2.34 : <<< Probe::probe_down_to_z
SLOW Probe fail!
  current_position= X500.00 Y67.50 Z2.34 : <<< run_z_probe
  current_position= X500.00 Y67.50 Z2.34 : Probe::set_deployed
deploy: 0
>>> do_blocking_move_to X500.00 Y67.50 Z2.34
<<< do_blocking_move_to
Error:Probing Failed
[ERROR] Error:Probing Failed

<<< Probe::probe_at_point
  current_position= X500.00 Y67.50 Z2.34 : Probe::set_deployed
deploy: 0
  current_position= X500.00 Y67.50 Z2.34 : > probing complete
<<< G29

When I try to run G29 without the extra code:

SENDING:G29 P3
  current_position= X500.00 Y67.50 Z2.34 : >>> G29
Machine Type: Cartesian
Probe: FIX_MOUNTED_PROBE
Probe Offset X0.00 Y-47.50 Z-0.20 (Middle-Front & Below Nozzle)
Auto Bed Leveling: BILINEAR (disabled)
  current_position= X500.00 Y67.50 Z2.34 : Probe::set_deployed
deploy: 1
Probe::move_z(10.00)
>>> do_blocking_move_to X500.00 Y67.50 Z10.20
<<< do_blocking_move_to
>>> do_blocking_move_to X500.00 Y67.50 Z10.20
<<< do_blocking_move_to
reset_bed_level
>>> Probe::probe_at_point(538.00, 2.00, raise, 0, probe_relative)
  current_position= X500.00 Y67.50 Z10.20 :
>>> do_blocking_move_to X538.00 Y49.50 Z10.20
<<< do_blocking_move_to
  current_position= X538.00 Y49.50 Z10.20 : Probe::set_deployed
deploy: 1
  current_position= X538.00 Y49.50 Z10.20 : >>> Probe::run_z_probe
  current_position= X538.00 Y49.50 Z10.20 : >>> Probe::probe_down_to_z
>>> do_blocking_move_to X538.00 Y49.50 Z-10.00
<<< do_blocking_move_to
echo:busy: processing
  current_position= X538.00 Y49.50 Z2.52 : sync_plan_position
  current_position= X538.00 Y49.50 Z2.52 : <<< Probe::probe_down_to_z
SLOW Probe fail!
  current_position= X538.00 Y49.50 Z2.52 : <<< run_z_probe
  current_position= X538.00 Y49.50 Z2.52 : Probe::set_deployed
deploy: 0
>>> do_blocking_move_to X538.00 Y49.50 Z2.52
<<< do_blocking_move_to
Error:Probing Failed
[ERROR] Error:Probing Failed

<<< Probe::probe_at_point
  current_position= X538.00 Y49.50 Z2.52 : Probe::set_deployed
deploy: 0
  current_position= X538.00 Y49.50 Z2.52 : > probing complete
<<< G29

I have attached Config.h and Config_adv.h

I am completely lost. Please help.

Rick

Clone prusa z-axis rate and steps issue. (no replies)

$
0
0
Greetings. I am a novice. Just built first 3axis prusa clone Reprapguru brand

Having trouble with z-axis trabel and rate of travel.

Homing works, print starts, extrusion looks good. The layers start smashing together.
So z-axis travel is not set correctly.

However if I set default z-axis travel to calculated value for threaded rod, 25600, the motor just screams during homing.

Please direct me to guidance on related issues. I have been and continue to search the Marlin firmware forum.
Thanks!

TMC2130 - Marlin - Sdcard (no replies)

$
0
0
Hi,

apologies, not sure which section of the forum to drop this into.

im using an trigorilla 1.1, marlin 2.0.4.4, tmc2130 i3 clone and it has the discount controller with 2 cables, sdcard and lcd.

to get the tmc2130 working, i had to plug into exp2 (the sdcard slot) and this i thought was fine, as i presently am printing through computer to usb, but i have octoprint setup, working and ready to go.

but the dial doesnt work on the display anymore, and i really want access to babystepping.

so... does anyone know the alternative pins i can connect to, to allow the sdcard to be connected?

ive tried;
the servo connectors (11, 4, 5, 6, 12)
max stops (2, 14, 15)
aux2 (42, 43)
uart3 (14, 15)

or, an alternative way?

Dual Extruder PID (no replies)

$
0
0
Hi,
I have a custom 3d printer with a dual extruder. The problem is that I only can use the first one because the temperature of the second one is not enought estable. The extrutders are identic. Someone knows which can be the problem?

Extruder --> [www.hta3d.com]

Thanks

Problem with RepRapDiscount Smart Controller - Marlin (no replies)

$
0
0
Hi,

I have self-made 3D printer assembled and I started to configurating Marlin. I have issue with RepRapDiscount Smart Controller, more precisley with launching it. I've configurated Marlin by following guides on the Internet (according to instructions I've found it requries only to uncomment one line '#define REPRAP_DISCOUNT_SMART_CONTROLLER' and it should works just fine, and several another lines to f.e. enable SD card support but to display anything this one line should be eoungh). Despite this screen still does not work. I've tried to switch connectors- in the wrong way first and third line have all pixels on (like on the foto) and in the other layout screen does not working at all, even backlight is off (although buzzer emits sound when I press the button and I have impression that menu is working itself but it doesn't display anything)- like in the second picture. I have only RepRapDiscount Smart Controller connected to RAMPS 1.4 on Arduino Mega, nothing more. In my opinion the are two possible capabilities why it doesn't work. First: RepRapDiscount Smart Controller is broken and I can by a new one but secondly and more likley I've done something wrong in Marlin and that's the reason of my problem. I attach 'Configuration.h' [attachment 115707 Configuration.h] I haven't done anything in other Marlin files.

Thank you in advance

[attachment 115705 20200528_153051_Easy-Resize.com.jpg]
[attachment 115706 20200528_153108_Easy-Resize.com.jpg]

Are you supposed to see z-axis changes mid print with ABL? (no replies)

$
0
0
I've recently got ABL working with my Anet A8, and the prints are coming out great, but when I'm doing prints on pronterface I don't notice the z-axis height changing as it goes around the bed, shouldn't I see this value fluctuate by a couple hundredths if my bed is about that far out of alignment in any given spots? I thought maybe the value just doesn't update but I also don't see my z stepper motors moving as it prints across different parts of the bed. I've got G29 enabled on my starting g-code, is there something else I'm missing? If I can't observe any changes in the z-axis during the printing of a given layer, is it really bed-leveling at all? The prints are coming out good so surely something must be happening I imagine

BL Touch homing nozzle smashing into heatbed (no replies)

$
0
0
I added BLtouch and upgrade firmware. Now it looks like BLtouch doesn't work. It doesn't do nothing when I press probe, it smashes nozzle to the heatbed.

I have uploaded firmware for Z homing.

[github.com]

Connected black and white to Z switch.

Printer is Ender 3 pro with SKR-mini-E3 board

Any idea?

Analog Input on MKS Robin E3D / STM32F103RCT6 (no replies)

$
0
0
I tried to setup the analog pin 11 -> pc1 -> phys. pin 33 as input.
"Hijacked" the PC1 Pin from the Beeper with the breakout board from the bl-touch right at the exp-connector on the board.
Tested if i got the correct pin with M43 T S33 L33 R5 W1000 and voltmeter
-> fine , Pin is correct
Then i connected my sensor to the Pin (power supply for the sensor is 5V - took it from the board to have the same ground-connection)
But i get weird results from the filament width in the display.
Output from the sensor mesured is 1.98V - Display tells me 2.98.
Measured on the other side on the breakout board - 1.98V
So there should be no defect on the cable or connector.
When i set the pin to input with pullup mode the voltage goes up to 3.04V
Back at normal input 2.98 again.

The strangest thing at all is that the board tells me that there is no input at all at that pin - but displays it in the lcd ...

Send: M43 P33
Recv: PIN: 33 PC1 (A11) Analog in = 0 Input = 0
Recv: ok

The Sensor is working fine - got some help here in the forums allready

config parts in the firmware (using 2.0.5.3 bugfix)

pins.h - file for e3d:
added :
#define FILWIDTH_PIN PC1
changed :
// #define BEEPER_PIN PC1

speaker is commented out in configuration.h

G29 returns OK but does nothing (1 reply)

$
0
0
I have an Ender 3 Pro with a BTT SKR 1.3 control board with TMC2208s and a BLTouch. I recently had some problems with an older version of Marlin 2.0.bugfix, so I updated it to 2.0.x.
Since then, I am not getting any G29 action. The G29 command results in no motion at all.
I am at a loss to what I may have done or not done to cause this.
Anyone have a suggestion?

Adding additional axes to Marlin (no replies)

$
0
0
Hi All,

I have question. I am currently designing a tool changer upgrade. This tool changer has a elevator mechanism to elevate parked tool heads to maintain the usable print area. The elevator is operated by two steppers. The tool changer also uses a stepper to lock the tool head. I other words, I need two additional axes in Marlin.

There are two options as far as I can see. The bad way and the right way.

The bad way
In the past (Marlin 1.1.0-RC6) I used the bad way. I create my own G-code number and programmed delays in combination with extDigitalWrite. I also added some genuine G-code commands in-between so all axes worked in sequence. This created one G-code command which did an entire sequence of things with many different axes. I had to add a refresh_cmd_timeout() every now and then to prevent the watchdog from shutting everything down due to the delay commands. The bad way worked like a charm. It had some pros and cons. The pros was that it was easy programming and migrating it to a new version of the firmware was relatively simple. I only added a new G-code command. The downside was that the delays temporary locked up all other systems in de printer which was acceptable at the time.

I am currently working with Marlin 2.0. Refresh_cmd_timeout() does not longer work. Therefore the watchdog shuts me down. I am not entirely sure if the bad way is still possible.

The good way
The good way will be to add the axes in a similar way to adding additional extruder axes. I never tried this. I have no idea if it can be done relatively easily.

I would love to hear your advice on this. The bad way which temporary locked all other system would still be acceptable to me. As long as it doesn't create a fire hazard. The good way would be awesome if it is doable.

Interfacing with the Wanhao i3 LCD (1 reply)

$
0
0
I have a Wanhao Duplicator i3 aka Monoprice Maker Select V2.1, which uses a Melzi controller board. I have successfully installed Marlin to that board, and it functions well.

I'm replacing the Melzi board with a BIGTREETECH SKR V1.4 Turbo and rebuilding Marlin for it. I'm trying to figure out how to interface with the LCD that's built into the i3's control box. Just to emphasize, Marlin worked fine with this LCD when it was attached to the Melzi, using the LCD_FOR_MELZI setting and the Sanguinololu 1.1 pin settings. (I am a novice when it comes to 3d printers and generally electronics.)

My question is how I can configure the EXP pins on the SKR through Marlin to be able to communicate with this LCD.

A commenter on a blog once wrote that he got it to work:

For those who struggles to connect the stock wanhao i3 1.2 LCD display. I got it working by connecting the following pins:
pin 1 LCD CS –> 1.19 EXP 1
pin 2 Encoder B –> 3.25 EXP 2
pin 3 LCD Data –> 1.18 EXP 1
Pin 4 Encoder A–> 3.26 EXP 2
pin 5 LCD SCLK –> 1.20 EXP 1
pin 6 Encoder Button –> 0.28 EXP 1
pin 7 ESTOP –> I dont use that one- so did not try to find it
pin 8 Beeper –> 1.30 EXP 1
Pin 9 5v –> 5V EXP 1
pin 10 GND –> GND EXP 1

LCD pins should like this:
1 2
3 4
5 6
7 8
9 10

There are a couple of things that are impeding my understanding here: Their pin labels for the LCD don't match what's silkscreened on the Melzi. I don't know what display setting they used in their configuration file. They wire the LCD display to both EXP1 and EXP2 and I'm hoping it can be done without making some unholy wiring mess that goes to both. Finally, the pin numbering doesn't comport with what is what is silkscreened on the Melzi and the Pin 1 indicator on the box header.

Here is my own diagram of what is silkscreened and how the cable attaches between the two PCBs:

/**
 *       Melzi                      SKR
 *       _____                     _____
 *  GND |10 9 | 5V             5V |10 9 | GND
 *   A4 | 8 7 | D10/RX1      1.23 | 8 7 | 1.22 
 *   A3 | 6 5   D11/TX1  ->  1.21 | 6 5   1.20 
 *   A2 | 4 3 | D16/SCL      1.19 | 4 3 | 1.18 
 *   A1 | 2 1 | D17/SDA      0.28 | 2 1 | 1.30
 *       -----                     -----
 *                                 EXP1
 */

Note that, for instance, 5V and GND appear to be reversed.

This is what the Wanhao configuration does when you enable the LCD_FOR_MELZI:

      #define LCD_PINS_RS                     17
      #define LCD_PINS_ENABLE                 16
      #define LCD_PINS_D4                     11

      #define BOARD_ST7920_DELAY_1 DELAY_NS(0)
      #define BOARD_ST7920_DELAY_2 DELAY_NS(188)
      #define BOARD_ST7920_DELAY_3 DELAY_NS(0)

Am I able to program the SKR pins to talk to the LCD?
Viewing all 2832 articles
Browse latest View live


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