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

Re: SD init fail.....make me crazy:X 2560 rev b.

$
0
0
Ok.
I check,no debris in the slot.
Now resolder all pin i've touch and control all with magnifer. (tu)

Re: SD init fail.....make me crazy:X 2560 rev b.

$
0
0
I resold all pin of sd reader.
Check all....nothing.

Report my voltage
The value next the first it's the read if have when init sd with repetier (sd insert)

SD pin1 (DATA2) 3,14V
SD pin2 (DATA3) 3,11V 0,18V
SD pin3 (CMD/IO) 3,92V
SD pin4 (GND) 0,12V 0,14V
SD pin5 (VDD) 3,43V 3,45V
SD pin6 (CLK) 0,12V 1,44V
SD pin7 (GND) 0,12V 0,15V
SD pin8 (DATA0) 0,12V 1,06
SD pin9 (DATA1) 0,14V 0,16V

The voltage change when init,and return on first value after 3 seconds
Are my sd voltage right?

Re: SD init fail.....make me crazy:X 2560 rev b.

$
0
0
When you say "when init sd with repetier (sd insert)" does this mean that you use repetier firmware? or repetier host? or both?

How are the results with the SD_listfile sketch?


If you want to use a multimeter to test voltages, then you probably need to make a sketch that (slowly) sets each pin to high and then low, so you have time to measure.
Otherwise you will need a tool that can keep up with the speed of the data stream, so it is able to register highest and lowest voltages. This typically means an oscilloscope or a logic analyzer. Perhaps if you multimeter has a high, low, avg setting, it might be able to give partially useful results, but I still wonder if a multimeter can register voltages for a data stream with the speeds of SPI.

The challenge will be, to measure these voltages, inside the card-reader-slot. Because this is the only way that you will be able test every link in the chain. Perhaps if you have a sd-card adapter, where you connect wires inside the sd-adapter? I do not know if this is possible, as I have not (yet) tried this myself.


Another way could also be to wire up a sc-card adapter, like solder those wires to the outside of the SD-adapter, and then plug a micro sd-card into that adapter.
This would eliminate any contact issues inside the sd-slot, that is soldered on the LCD pcb.

Linear Advance questions

$
0
0
Hi, I am interested in tuning linear advance on my printer running RAMPS with Marlin 1.1.9 release

I tried generating test patterns using this page: [marlinfw.org]

The first one I did in the default range 0-2, then I tried 0-10, and even 0-100, and I never see the effect of under/over extrusion going away or reversing.

Does this not work with higher acceleration values? I have 3000 mm/s^2 accel on XY and 10mm/s jerk. The extruder is a greg's wade 1.75mm (no bowden).
I was testing 15mm/s to 40mm/s speed difference.

Is it possibly some conflict between extruder vs XY accel / jerk?

edit: Is there a setting I missed in Configuration.h to enable this in the first place?

Also should I be running the 1.1.9 bugfix instead? I never quite understand why the branch with fixed bugs would be the one that is cautioned *against* using on the download page.

Cant get manual auto leveling to work

$
0
0
hello everyone...

so i received anet a8 printer a couple of days ago and now i've put marlin on it. so far so good. except that manual auto leveling feature will not work because Z offset will not go into negative once it hits Z endstop trigger.

i tried commenting this out
// Min software endstops constrain movement within minimum coordinate bounds
//#define MIN_SOFTWARE_ENDSTOPS
//#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
//  #define MIN_SOFTWARE_ENDSTOP_X
//  #define MIN_SOFTWARE_ENDSTOP_Y
//  #define MIN_SOFTWARE_ENDSTOP_Z
//#endif

and i tried sending pronterface commands like this:

>>> M211 S0
SENDING:M211 S0
echo: Soft endstops: Off  Min: X-33.00 Y-10.00 Z0.00  Max: X220.00 Y220.00 Z240.00
echo:enqueueing "G28"
echo:enqueueing "G29 V1"
G29 Auto Bed Leveling
Manual G29 point 1 of 9
echo:endstops hit:  Z:-0.05

and you can see it hits endpoint and it wont move anymore down so i have to tediously level the bed the old fashioned way with turning screws... and i hate it lol... takes a lot of time

Re: SD init fail.....make me crazy:X 2560 rev b.

$
0
0
Hi.
I use repetier host to do command m21,I would have used cura.
Anyway,the voltage was taken from inside pin of SD reader

Re: Linear Advance questions

$
0
0
Did you enable it in "Configuration_adv.h" ?

you have to remove the "//" before "#define LIN_ADVANCE" to make it work.

Hope you get it running.

Re: Linear Advance questions

$
0
0
That was the issue. I think I had searched for an enable setting in Configuration.h and not finding one assumed it was just a thing that could be set on the fly.

Also was reading through the marlin docs on linear advance, taking it step by step. It shows the setting to enable in Configuration_adv.h but only after all the sections about how to calibrate it. Slightly confusing.

can't compile with PARKING_EXTRUDER in 1.1.9

$
0
0
Hi guys. I have been trying to update to 1.1.9 from 1.1.8, I have double checked everything I can think of. Compiles perfectly when I disable PARKING_EXTRUDER. 1.1.8 is working great for me but I was looking to try a few of the newer features. I have also tried the latest bug fix version also with the same issues. Any help with a solution to this problem would be great and thanks in advance.

1.1.x BugFix Crashes On Print

$
0
0
Attached is my configuration.h.

I upgraded from Marlin 1.1.0-RC8, transfered the settings to the current version.
Now when a print job starts, the hotend heats up, the hot bed heats up, the carriage homes......
The print job starts - that is, the start G-code kicks off, the head/carriage moves to 0,0,0, begins to prime, the extruder moves...
But, in the terminal window it has already started to throw errors.

Here is the terminal window output from Octoprint just after the printer 'homes'-

Recv: echo:busy: processing
[...]
Recv: echo:busy: processing
[...]
Recv: echo:busy: processing
Recv: X:120.00 Y:120.00 Z:0.00 E:5.00 Count X:9662 Y:9661 Z:0
Recv: ok
Send: N11 G1 X0 Y5 Z0.2 F3000*47
Recv: ok
Send: N12 G92 E0*116
Recv: X:0.00 Y:5.00 Z:0.20 E:0.00 Count X:9662 Y:9661 Z:0
Recv: ok
Send: N13 G1 X200 E25 F600*98
Recv: ok
Send: N14 G92 E0*114
Recv: X:120.00 Y:5.00 Z:0.20 E:0.00 Count X:9661 Y:9660 Z:1
Recv: ok
Send: N15 G1 E-1.2500 F207*31
Recv: ok
Send: N16 G1 Z0.180 F1000*37
Recv: ok
Send: N17 T0*12
[...]
Recv: echo:busy: processing
[...]
Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
[...]
Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
[...]
Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
[...]
Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
[...]
Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
[...]
No response from printer after 6 consecutive communication timeouts, considering it dead. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
Changing monitoring state from "Printing" to "Offline (Error: Too many consecutive timeouts, printer still connected and alive?)"
Connection closed, closing down monitor

Does this mean anything to anyone?

Here is my G code start script (works fine on my previous version of Marlin):
G21        ;metric values
G90        ;absolute positioning
M82        ;set extruder to absolute mode
M107       ;start with the fan off
G28 X0 Y0  ;move X/Y to min endstops
G28 Z0     ;move Z to min endstops
G1 Z15.0 F{travel_speed} ;move the platform down 15mm
G92 E0                  ;zero the extruded length
G1 F200 E3              ;extrude 3mm of feed stock
G92 E0                  ;zero the extruded length again
G1 F{travel_speed}
;Put printing message on LCD screen
M117 Printing...

Arduino Build stats -
Previous Build I use -
Sketch uses 131688 bytes (51%) of program storage space. Maximum is 253952 bytes.
Global variables use 4711 bytes (57%) of dynamic memory, leaving 3481 bytes for local variables. Maximum is 8192 bytes.

Current build -
Sketch uses 133258 bytes (52%) of program storage space. Maximum is 253952 bytes.
Global variables use 4626 bytes (56%) of dynamic memory, leaving 3566 bytes for local variables. Maximum is 8192 bytes.



Thanks!

SOLVED Re: problem with LCD and encoder mod

$
0
0
First, thanks for dedicated time; I saw You have edited the posts many times. And even You have prepered the hardware.
...
I have made the hardware months ago and I have tested it under arduino with success. I know the I2C address (0x27 it is PFC8574T).
...
The LCD_SAINSMART_I2C_2004 work like You said. The booting is a little bit longer (i was wondering if it is the ...end ) but I save about 20% percent of the mem of the anet MOBO - it's great :)

But at the end i have a problem: What really "-1" mean "not use"? If I have not declared (or set -1) some pins then they are not visible for marlin?

At the end: Everything work just flawless :) Thanks again for Your work. I have not make step by step like You wrote but now I understand thet part of marlin and it works:)

Re: problem with LCD and encoder mod

$
0
0
Wll, you foround some inspiration, and it lead to a solution. And solutions... we like :)-D

Re: 1.1.x BugFix Crashes On Print

$
0
0
In line N17 the code is "T0" - what is this?
Should the line not start with G or M? Is T0 not usually is a parameter that is associated with a Gxxx or Mxxx code?

I wonder if Marlin is as confused as I am about this T0 command, and this is why it just keeps processing?

Re: 1.1.x BugFix Crashes On Print

Re: 1.1.x BugFix Crashes On Print

$
0
0
I installed 1.1.9 and got the same result. Reverted back to 1.1.0-RC8
So it isn't a bugfix thing.

I assume the slicer is throwing in the T0. It is not in my start script.

Marlin is awesome by the way. Thank you for everything.

Re: 1.1.x BugFix Crashes On Print

$
0
0
Quote
Eddiie
I installed 1.1.9 and got the same result. Reverted back to 1.1.0-RC8

I upgraded to Marlin 1.1.5 and am very happy with the results, when I tried to setup Marlin 1.1.8/1.1.9 could not get them to work.
May try again one day as I have been researching all the configuration changes being made to correct the crazies from happening.
Though I do not know what functions would be in Marlin Versions 1.1.6 - 1.1.9 that I could not live without.

You may try this earlier version of Marlin 1.1.5 found it works well and easy to setup, this had all the functions I require at this time.
Babystepping, filament run-out monitor, Bi-Linear bed leveling, Menu X,Y,Z driven individual axis homing to name a few.

And as an added feature I did not expect, I can save the Bi-linear data and restore. Though most functions are reserved only for Unified Bed Leveling.
Just not having to re-level the bed every print is all I ever want in the first place. Though my bed is fairly level It helps with the first levels adhesion.
Using LCD "Store settings: to save Bed leveling data."
In Startup G-Code Add "M420 S1 ; Bed Leveling On" (I added to the last line too make sure it did not get disabled)

Using WinMerge this free program assisted me to loading both old and new files to compare and transfer across my needed changes.

Re: babystepping z

$
0
0
I Baby Step from Matter Control it would be a real pain to do it with the screen/dial

Can not get firmware working for Wanhao Duplicator i3 with RAMPS1.4 and BLTouch

$
0
0
I have been trying to generate firmware for my printer for two days now, and I am about to start pulling out my hair, very frustrated. I have tried the Marlin config tool, editingn manually in Notepad++, and even resorted to using questionable firmware I have found on Thingiverse and google, and nothing is working, I get random errors while trying to compile the firmware and I am tired of chasing my tail here. I have a Wanhao Duplicator i3 with 200mm (x) by 300mm (y) bed, recently upgraded to RAMPS 1.4 +RepRap Full Graphics LCD (tried to get it working with Repetier but no luck there either) and BLTouch installed. My offsets for the sensor are X: 41mm Y: 46mm and Z: 1mm. I can provide any other info needed.

I am uploading my current configuration here: [www.dropbox.com]
Here is my current Configuration.h via pastebin: [pastebin.com] (I took out SD card support on this, but now my SD slot is not working (duh)) Also my steppers are not moving with this configuration.

My current error appears to have something to do with enabling SD card support (which I am assuming I need) I will paste it below. Can someone please take a look make any corrections needed and give me a version that will work, or at least get me headed in the right direction? Thank you in advance

Current error message via pastebin: [pastebin.com]

Re: Can not get firmware working for Wanhao Duplicator i3 with RAMPS1.4 and BLTouch

$
0
0
Still waiting on zip to upload, Im on a slow connection :(

Re: Can not get firmware working for Wanhao Duplicator i3 with RAMPS1.4 and BLTouch

$
0
0
What version of marlin are you using.

SD Card is located in the configuration.h

//#define SDSUPPORT
Viewing all 12089 articles
Browse latest View live


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