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

Origin position in Marlin (no replies)

$
0
0
Good evening,

I have some troubles understanding the position of he origin in Marlin.
What is the difference between X_MIN_POS and MANUAL_X_HOME in configuration.h ?
Let's say I have an endstop in the negative X, and that my nozzle is 20mm away from the bed when it is against the endstop. Which one of this 2 parameters should I define to -20 in order to set the endstop position to -20 and thus have my bed at X=0 ?

Thank you for your help ;-)

Can't get Marlin 2.0 to work with my MKS SGEN L (no replies)

$
0
0
Hi everyone !
Recently, I've ordered one of thoses MKS SGEN L board, with 5 TMC2209 V2 from MKS.

When I received it, I downloaded the Marlin Bugfix Branch, I configured it and compiled it. No error, the compilation resulted in a success, nothing to say.

Then, I uploaded the firmware.bin file created on my SD card, and put it on my board and... Nothing happend. I have on my SD Card the file FIRMWARE.CUR.

I don't really know what is happening, but my MKS TFT 28 is not reading anything from the printer, I can't send command, receive temperature sensor info etc etc. Also I tried to connect my board on my computer. My device manager don't recognize my serial port (it show it as "Unknown device".) Ho, and I've the LED D6 which shine in RED constantly, with the LED D1 shining on BLUE too.

I tried everything, even to set the serial port 1 to -1 et the second one to 0, but it doesn't fix the problem.

I'm uploading here my config file of my Marlin FW, and a video from me to explain the situation more clearly.

The video Link : [mega.nz]

My marlin configuration : [mega.nz]


Hope you will help me! ^^

3D printer Help Needed please!!! (no replies)

$
0
0
I have a FLSUN extended bed printer I bought a few years back similar to the one in this link (https://www.aliexpress.com/item/32847633139.html?spm=a2g0o.productlist.0.0.19ea4e9eeaSZrD&algo_pvid=3948f016-cd1e-49dc-a140-1246bc00016a&algo_expid=3948f016-cd1e-49dc-a140-1246bc00016a-7&btsid=0ab6f82115869898286663410e318a&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_) and it worked fine for years up until recently as it cant seem to get over 180C because when connected to repetier host it gives:
Error: Heating failed,System stopped! Heater ID: 0
Error:printer halted.kill() called!

centrare ugello sul centro del letto (no replies)

$
0
0
Buon riposo a tutti
Ho sempre un anet a8 Marlin 2.0
Dopo aver installato il sensore di prossimità l'Auto home non centra più l'ugello sul centro del letto
parametri:
X offset: -left +right [of the nozzle +35
Y offset: -front +behind [the nozzle] -4
// The size of the print bed
#define X_BED_SIZE 220
#define Y_BED_SIZE 220

// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS -33
#define Y_MIN_POS -10
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 240

Cosa posso fare ????????
Grazie

Brauche marlin programmierer (no replies)

$
0
0
Moin.
Ich baue gerade einen xxl 3d drucker. Leider bin ich zu dumm um marlin zu programmieren. Ich brauche eure Hilfe und würde euch auch bezahlen da ich schlichtweg kein bock mehr auf visual Studio habe. Ich habe ein makerbase SgenL Board und als x, z und extruder Motoren die makerbase servo 42a. Als y den 57a. Ich schaffe es nicht die Motoren vernünftig zu steuern da ich nicht weiss ob sie über Dir, Uart, oder keine Ahnung was angesteuert werden. Außerdem möchte ich die z achse mit zwei Motoren und 2 Endstopps laufen lassen. Zur Steuerung benutze ich ein mks tft 35 Display das auch nicht richtig funktioniert da auch hier passende Software aufgespielt werden müsste. Zusätzlich möchte ich noch ein BL Touch für das bed leveling benutzen.
Das hotbed wird über 230v betrieben und per Relais gesteuert. Das ganze ist auf der creality cr 10s Basis. Wenn jemand Bock hat schreibt mich bitte an und wir klären den Rest.

Cool and Heat with Marlin :S (2 replies)

$
0
0
Hello RepRapMakers.

I would like to cool and to heat the nozzle, using peltier cells or similar electronics.

Is there a way to select whether to cool or heat?

For example, if I have want to cool, I will connect the peltier as indicated (red to Vcc and black to GND); but if I have to heat it has to change the polarity (red to GND and black to Vcc). And for that, I would like Marlin to indicate the polarity with a pin. It's possible?

Thank you very much!

BLtouch not working properly with prusa MMU feature enabled (no replies)

$
0
0
The title says it all.
I'm using marlin 2.0.5 running on Ender 3 and trying to add an MMU upgrade.
But I'm also using BLtouch and for some reason it gives a bltouch error in pronterface.
The probe deploys and then instead of the Z moving down, the probe retracts and then deploys and retracts 2 more times.
Is there someone who perhaps has a Prusa MK3 with MMU and BLtouch?
I just want to make sure that I didn't make mistakes while customizing the firmware before posting a bug report.

Thanks for reading and have a nice day.

Trouble building Marlin 2.x on BTT SK 1.3 (no replies)

$
0
0
So, for the most part everything seems to be going correctly. hunting down motherboard names, etc. but...when I go to build (Using either PIO Build or Marlin Auto Build) I get the following:

Processing LPC1768 (platform: [github.com]; framework: arduino; board: nxp_lpc1768)
---------------------------------------------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: [docs.platformio.org]
PLATFORM: NXP Arduino LPC176x 0.1.1 > NXP LPC1768
HARDWARE: LPC1768 100MHz, 31.97KB RAM, 464KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES:
- framework-arduino-lpc176x 0.2.2
- toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> [bit.ly]
LDF Modes: Finder ~ off, Compatibility ~ strict
Found 6 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.0.0
|-- 1.0.0
|-- 0.4.1
|-- 0.5.2
|-- 1.3.0
|--
Building in release mode

warning: Calling missing SConscript without error is deprecated.
Transition by adding must_exist=0 to SConscript calls.
Missing SConscript 'Marlin\src\HAL\HAL_LPC1768\upload_extra_script.py'
File "C:\Users\daveg\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 164, in
Compiling .pio\build\LPC1768\src\src\MarlinCore.cpp.o
Compiling .pio\build\LPC1768\src\src\feature\bedlevel\abl\abl.cpp.o
Compiling .pio\build\LPC1768\src\src\feature\bedlevel\bedlevel.cpp.o
Compiling .pio\build\LPC1768\src\src\feature\bedlevel\mbl\mesh_bed_leveling.cpp.o
Compiling .pio\build\LPC1768\src\src\feature\bedlevel\ubl\ubl.cpp.o
Compiling .pio\build\LPC1768\src\src\feature\bedlevel\ubl\ubl_G29.cpp.o
Compiling .pio\build\LPC1768\src\src\feature\bedlevel\ubl\ubl_motion.cpp.o
Compiling .pio\build\LPC1768\src\src\feature\binary_protocol.cpp.o
In file included from Marlin\src\module/stepper/trinamic.h:29:0,
from Marlin\src\module/stepper/indirection.h:44,
from Marlin\src\module/stepper.h:47,
from Marlin\src\MarlinCore.cpp:37:
.pio\libdeps\LPC1768\TMCStepper\src/TMCStepper.h:14:10: fatal error: SPI.h: No such file or directory

*************************************************************
* Looking for SPI.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:SPI.h"
* Web > [platformio.org]
*
*************************************************************

#include
^~~~~~~
compilation terminated.
*** [.pio\build\LPC1768\src\src\MarlinCore.cpp.o] Error 1


This is baffling me as SPI.h is, for all intents and purposes an included library in Arduino.

HELP!!!

Auto Bed Leveling issue (no replies)

$
0
0
I have a Geeetech I3 Pro C with a BLTouch fitted and working with Marlin 2.0.5 Bugfix (about 2 days old).

It is setup to probe a 4x4 matrix and uses :-

#define AUTO_BED_LEVELING_BILINEAR
#define EXTRAPOLATE_BEYOND_GRID
#define GRID_MAX_POINTS_X 4

It runs OK probing all 16 points but when printing a large job (~150x100mm) I notice that one corner of the "Skirt" seems to be not quite right because while the rest of the "skirt" is nice and smooth, that corner it is rather "blobby".

Adjusting "babysteps" helps but then the rest of the skirt isnt perfect any more.

The bed is a Borosilicate glass plate covered with "Blue Masking Tape" and as far as I can measure is pretty damn flat.

Anyone have a hint as to what to look for ?

TIA
Dave

Z STEPPER AUTO ALIGN 4 Z steppers (no replies)

$
0
0
Can i use Zstepper autoalign with 4 z steppers, if so how i set it up?

Z homing in the wrong direction (no replies)

$
0
0
I have a folgertech FT-6. Bed raises for homing. I have the pins connected to Z MIN

When i home the bed goes down. I had a marlin-bugfix-2.0 version installed before (provided by the manufacturer of FT-6) that worked with issues but worked. It had an induction sensor. I just replaced it with a Bltouch and went with bugfix-2.0.x branch.

The firmware source provided by the manufacturer is not compiling anymore which is another issue. So cannot install that. Anyways..

Here, my issues is that the Z goes down (to max) instead of going up when homing. The Bltouch also does not deploy. I ran M119 and the pin goes down, and on startup the pin does its dance, so seems wires are connected to the right pins. I am using BigTreeTech SKR v1.3 board

I am attaching my configuration.h and configuration.adv.h

I have not done any modification to the configuration.adv.h file yet. Trying to get the homing working first.

M119 returns
Send: M119
Recv: Reporting endstop status
Recv: x_min: TRIGGERED
Recv: y_min: TRIGGERED
Recv: z_min: open
Recv: ok

The probe also does not deploy when Z home is initiated.

When using M119 to deploy the probe and sending Z home, bed goes down a little and probe triggers as if the bed touched it. But the bed is miles away from the probe.

just and FYI. I searched and tried all settings i could find before i decided to ask for help.

Marlin setup for BTT GTR (no replies)

$
0
0
Hi,
I don't have any experience with Platformio, wich is the only editor that can be used for changing Marlin firmware for a BTT GTR board with M5 expansion ( so i have been told).
I have tryed to import Marlin to Platformio with no results, so far is as 102 errors and counting.
Can someone please get me a base Marlin Firmware for this board so i can load it to Platformio (including platformio.ini file) and make the necessary changes for my machine. I beliave it as to be the lastest version that can handle 4 z steppers.

Regards
Carlos Silva

Manual bed leveling issues - Tronxy X3 (no replies)

$
0
0
Hello,

My name is Álvaro, from Spain. I have a Tronxy X3, converted to Ramps 1.6 with Marlin 2.0 in order to use dual extruder configuration. I have had some problems solved with time and internet searchs. However, I can't solve a pair of problems.

First problem:
Still don't have automatic bed level sensor, so I've tried to configure Marlin to perform a manual bed leveling through the LCD. Uncommenting:

#define PROBE_MANUALLY
#define AUTO_BED_LEVELING_BILINEAR
#define LCD_BED_LEVELING
#define LEVEL_BED_CORNERS

When I select bed leveling in the menu, it only homes the printer, and returns (inmediatly when starts homing) to the main info screen


Second problem:
Without the leveling function, I perform a totally manual height adjustment, homing the printer, and using bed screws. When it starts printing, it goes a bit higher than expected, and the material doesn't sticks into the bed. I'm using simplest endstops, without condensers or resistors, in normally closed configuration for the Z, and normally opened for the X and Y. Could this behaviour due to a noisy switch?


Thanks in advance

errore arduino su anycubik 4 max pro: dichiarare DIOMISO_PIN_DDR (no replies)

$
0
0
#include

/*
utility functions
*/

#ifndef MASK
/// MASKING- returns \f$2^PIN\f$
#define MASK(PIN) (1 << PIN)
#endif

/*
magic I/O routines

now you can simply SET_OUTPUT(STEP); WRITE(STEP, 1); WRITE(STEP, 0);
*/

/// Read a pin
#define _READ(IO) ((bool)(DIO ## IO ## _RPORT & MASK(DIO ## IO ## _PIN)))
/// write to a pin
#define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0);
/// toggle a pin
#define _TOGGLE(IO) do {DIO ## IO ## _RPORT = MASK(DIO ## IO ## _PIN); } while (0);

/// set pin as input
#define _SET_INPUT(IO) do {DIO ## IO ## _DDR &= ~MASK(DIO ## IO ## _PIN); } while (0);

/// set pin as input
#define _SET_INPUT(IO) do {DIO ## IO ## _DDR &= ~MASK(DIO ## IO ## _PIN); } while (0);
/// set pin as output

Megacontroller with Minipanel and Marlin 2 (no replies)

$
0
0
Hi, i got a problem with two of my printers. I got 2 Daycom 3DP-100. They worked fine but then i decided to update them to Marlin 2.
Everything works fine, but i can only see the backlight of the LCD and no menu. Except i reset the printer. Then i can see the menu for about 1 sec. After this it vanished.
I searched a while with google and found out that i`m not the only one with this issue.

I got the original files from the printer and the marlin 2 files but i can`t figure out what`s wrong.

Hopefully someone have a clue. I tried #define DEFAULT_LCD_CONTRAST 17 in the conditionals_lcd.h but this didn`t change anything.

2.0.5.3 is limiting H.E to 230C (no replies)

$
0
0
I'm unable to go higher than 230c on the hotend of my skr1.3 powered maker select. Somehow the software is setting this limit. This is for both the lcd terminal or Octoprint. I've looked in config.h and adv.h and did not find anything that would set this limit. Here is #define HEATER_0_MAXTEMP 245 so that's not it. What else would set a 230C limit?

RepRap Discount Full Graphics Display for Melzi (1 reply)

$
0
0
I recently got a cheap RepRap Discount Full Graphics Display for my Melzi that I'm trying to get to work with 1.1.9. I was able to get the display to work with Repetier, but I'm having trouble getting it to work with Marlin. I had to change some of the pin definitions in pins_SANGUINOLOLU_11 to match how I wired the display to the board. I know this pin combination works, as it is the same as I used for Repetier.

#define LCD_PINS_RS 29
#define LCD_PINS_ENABLE 16
#define LCD_PINS_D4 11
#define BEEPER_PIN 27
#define BTN_ENC 10
#define LCD_SDSS 28
#define BTN_EN1 17
#define BTN_EN2 30

The display lights up and something is displayed, but it looks like the screen width is not correct so everything is garbled (see photo). I really like the display, and it seems that Marlin uses less flash RAM than Repetier, so I am really interested in getting this to work. Any help getting this display to work would be much appreciated.

Several problems with reading and writing marlin firmware SD (no replies)

$
0
0
I'm trying to use SAM38EAU to build new motherboard hardware and LABVIEW to build new control side.So far so good, but there are two problems with SD write and read operations.
1. I cannot read the SD card as a disk on the computer through the usb port and display the RAW attribute
2. I also cannot write the.gco file to the SD card through the M28 command, which prompts "No Checksum with line number, Last line: 0".
3. The reply to M23 is
"Echo: Now fresh file: FANG4. The GOC
The open failed, File: FANG4. GOC."
In addition, I set the native USB interface of SAM38EAU to slave mode. I can successfully identify SD card through M21 and read the list of files through M20.

Rumba Board 2.0.5.3 TMC2208 ERROR & Endstop Interrupts (no replies)

$
0
0
Hello,

I am restoring a Type A Series 1 printer with a Rumba board. I updated the firmware to 2.0.5.3 and added TMC2208 drivers I'm trying to get UART to work with the driver. It will work with hardware serial, but not with softserial. Using a Y cable connected to pins 63 & 64 I am getting error Testing X connection... Error: All Low. I wanted to use EXP3 on ths board as it has 5 sets of pins for the 5 drivers.

Also another issue, I would like to move the endstops to use interrupts to save some CPU. I have 2 options. Option 1 is to add a hedder and tap into PJ 6 5 4 3 2 or connect them to the unused thermistor pins, which already have pullups and caps. I tried pin 83 in the PINS.h file but it shows as always TRIGGERED. Is this because the pin is configured for ADC? How can I change a pin from analog to I/O OR is this even possible to do on those pins? I would prefer to not solder to the CPU if I don't have to.

Thank You

Linear Advance 1.5 / Marlin 1.1.9 (no replies)

$
0
0
Hello :)

I was curious about the linear_advance feature and decided to give it a try.
I followed the steps on the homepage to calibrate the k-value. For my setup 0.7 works best.
I enabled linear advance in the firmware and reuploaded it on my board (ender 5 stock board). I'm using the method to put the k-value in the start g-code. Everything works fine to this point.

NOW

After I finished printing some test cubes (the first one with a k-value of 0.7, the second one with a k-value of 0, few other k-values afterwards) I noticed that all of them look EXACTLY the same. Print Speed is set to 100 mm/s.
The only difference I noticed is that the print takes A LOT more time. This gets worse as I increase the K-Value. I can also see this when I watch the extruder.

This definitely not what I was exspecting. I tried everything I could find, but I can't get it work.

Any ideas?
Viewing all 2838 articles
Browse latest View live


Latest Images

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