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

Re: Programatically defining and setting a bed leveling mesh

$
0
0
The mesh point locations are calculated by Marlin. They are based on the bed size, specified inset, and the number of points in the mesh. They are spaced equally from each other. You don't get to move the mesh point locations other than by shifting the bed size, number of points and inset.

Which bed leveling system are you using?

In general... You should probe the bed. And then print a G26 mesh validation pattern to see how well the mesh represents the topography of the bed. Have you done that?

Can a BLTouch Sensor die?

$
0
0
Hey y'all,

I have been running a Wanhao Duplicator 6 Plus Mark II in combination with a BLTouch sensor and Marlin 1.1.x for quite some time now. But sadly yesterday something died after finishing a print.

It seems that my BLTouch sensor no longer reports that it is closed. Running M119 command shows it's always in the open position. I tried reflashing Marlin, different versions even bugfix-2.x.x. This didn't help the nozzle would simply just crash into the bed. I measured all wires and ribbon cables to see if it made contact, which it did.

This morning I connected some breadboard with a switch to see if the motherboard is still okay. When using engaging the mechanical switch the M119 command returns triggered state again. And open when the switch is not engaged.

Is it possible for my BLTouch sensor to have died? I returned to a 24v Capacitive Sensor again, but in my previous experiences this was not so accurate.

Thanks for your consideration!

Re: Can a BLTouch Sensor die?

$
0
0
You cant check a bltouch with M119 It is only triggered for 5 ms or so, enough for the controller to see, but not long enough for a human to catch

from [locxess.de]
"NOTES M119 can’t be used to see the state of the sensor end stop as the signal is only 5ms long (A CRO might work)"

Yes it can die, all electronics can die... and it does sound like it has died.

Change extruder stepper...how to do it?

$
0
0
Hi guys.
I have gt2560 rev.b and my original extruder slot stop work.
I have 2 free slot for add extruders.
What i have to mod in firmware for work on 2nd slot?

Re: Can a BLTouch Sensor die?

$
0
0
Thanks for your response Dust, I have made a guarantee claim at the webshop where I bought it. I hope I will receive my new sensor soon.

Re: Change extruder stepper...how to do it?

$
0
0
Presuming you have tried swapping the stepper driver module and it not just a dead stepper driver...

You need to change the appropriate pins.h file for your controller.

Looks like motherboard is set to BOARD_ULTIMAKER for these boards, so this is a starting point.

Now depending if you have a older firmware or a newer firmware you have to look in different places
in older firmware everything was in pins.h, in newer they split it up into different files, looks like its pins_ULTIMAKER.h

If its one large pins.h file you need to fine the correct section, search for "Ultimaker pin assignment" directly under that you will find the pins for your hardware

you will find something like

#define E0_STEP_PIN 43
#define E0_DIR_PIN 45
#define E0_ENABLE_PIN 41

#define E1_STEP_PIN 49
#define E1_DIR_PIN 47
#define E1_ENABLE_PIN 4

simply swap all the E0 and E1 Pins over and the extruder will start to use the E1 socket.

Re: Change extruder stepper...how to do it?

$
0
0
Yes...I try to swap the pin assignment,but temp sign -14°
I search in motherboard's datasheet and assign relative pin,but still -14°
I'm on 2.0 now,and I cant move estruder

Little question....I've to swap the molex connector too or keep it in original place?

developer documentation

$
0
0
Hi, everyone!

I am writing a comparison between various firmware for machine control, a comparison made with the eyes of a developer.
So, I want to consider the structures behind these firmwares; in order to read GCode and control a machine the firmware must have an interpreter, a trajectory planner, it must adapt to various kinematics, and control the motion accordingly.
It's easy to know that the end of the chain (generating steps) must be on an MCU (someone uses an FPGA for the stepgen, but it is just for that).
I want to compare Firmwares like Marlin and Smoothieware, that run completely on a MCU, and Software like Klipper that moves part of the chain on a Linux (running on a RPi), and LinuxCNC/Machinekit that were born on Linux (using a real time kernel), and have barely the stepgen out of it.

Doing this comparison I would like to show some graph like that
http://linuxcnc.org/docs/2.7/html/code/code-notes.html#_architecture_overview
It shows all the pieces of the CNC stack in LinuxCNC and how they are connected to each other.
In the documentation of Marlin I couldn't find anything like that, and I started reading the code to understand the whole structure.

Is there here some developer is interested in this kind of documentation, and maybe that can help me with this?

Regards,
mngr

Re: Change extruder stepper...how to do it?

$
0
0
yes you have to move the stepper molex connector, and you have to move the stepper driver if that slot is empty

temperature has nothing to do with stepper motors...

Re: developer documentation

$
0
0
Marlin is also being redeveloped for 32 bit platforms ie marlin v2 which changes things a lot... so that is something else to consider.

Re: Change extruder stepper...how to do it?

$
0
0
Ok....This is my situation.
I have to solder the 12 pin,cause the board haven't....
It's right like this?
Now I've only to find the temp pin?

How to set home position in the middle of the bad in Marlin 1.1.0-RC7

$
0
0
Hi Guys

I don't know how to set home point. My command g28 finish in this position

ttyUSB3 PC> m114
SENDING:M114
X:64.00 Y:159.00 Z:15.00 E:0.00 Count X: 6018 Y:15013 Z:5929


my configuration.h looks like
#define MANUAL_X_HOME_POS 100
#define MANUAL_Y_HOME_POS 100
#define MANUAL_Z_HOME_POS 15

Re: How to set home position in the middle of the bad in Marlin 1.1.0-RC7

$
0
0
I presume your doing this on some sort of Cartesian printer? (which is very odd to have 0,0 in the center of the board.)

are you homing to max or min?

If min the X and Y should be negative
if max you also need to have you bed size correctly defined in firmware

Re: Change extruder stepper...how to do it?

$
0
0
Ah I see... non standard connectors for extruders where everything is grouped together... didn't notice this originally.


yes you will have to solder in a new header


after quite a bit of searching I found this circuit diagram [github.com]
and new firmware [github.com]
with is own boards file [github.com]

but this doesn't tell you directly what the thermistor pins are

name, phiscal pin,  arduino pin  
t2       86    analog 11
t bed    87    analog 10
t1       88    analog 9
t0       89    analog 8


So it one of the above 4

Re: Change extruder stepper...how to do it?

$
0
0
Well I did it!!!
I have to edit and delete the string of old extruder and add a9 for temp sensor.
Now work all

Thanks for help

Re: Change extruder stepper...how to do it?

$
0
0
It's normal that when I switch on the printer,give me -14C° on extruder? Bed give me 19(room temp) and early the same on bed
Yesterday when I try and test give me the right temp.
Today,work anyway,but start -14C°
I don't know if this issue give a problem with the real extrusion temp

Remapping pins for Marlin 1.1.9

$
0
0
Hi all!

I want to change the electronics of my Anet A8. I bought a mks gen v1.4 board, a 12864 full graphics card and 4 tmc2130 drivers that I have switched to SPI mode. I need to know in what pins the tmc2130 are connected in the marlin 1.1.9 for the SPI mode and in which the CS of each driver

In this photo I leave you as I have the wiring the board, I just need to configure the pins for Marlin 1.1.9
[imgur.com]

Thanks and sorry for the english.

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

$
0
0
Maybe someone can explain this kind of strange issue... B)-

I try to mod in "sd fat config.h" the string

// Set USE_SOFTWARE_SPI nonzero to ALWAYS use Software SPI.
#define USE_SOFTWARE_SPI 0
<<<<< to 1

Now.
-When i turn on the printer and insert the sd,nothing (no sd detection by printer)
-If i inserit a usb cable, with printer off, connect to repetier,i can see list of file in my sd ::o
-If i turn on the printer while it's connect to repetier,in the menu of printer i can see "print from SD",but when i enter there is no file.And,if i try,from repetier,to get file list,give me "volume.init failed" 8-)

Re: Change extruder stepper...how to do it?

$
0
0
Seems to be solved.....Now don't give me -14C° on start ;)

Servo not moving to correct angle

$
0
0
I have my stow / deploy angles set to 70 / 140 respectively.

However, when the actual autolevel process is running, the deploy angle looks closer to 120.

I have checked this by manually setting the angle and comparing to when the autoleveling process is running, it is definitely not correct when autoleveling is going.

This issue has actually caused the printer to descend with the servo arm at an angle, causing the button to miss and the servo arm to break. I had to replace both the arm and the servo.

Is this a Marlin bug?
Viewing all 12106 articles
Browse latest View live


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