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

Re: Marlin 2.0.6

$
0
0
Actually just flashed Marlin 2.0.6 on a working 3D Printer and the Reset does load and save firmware defaults.
No further need to M502 / M500

HELP !! Delta firmware Guidelines X(

$
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

Re: TOOLCHANGE_ZRAISE

$
0
0
I guess I didn't ask my questions in a clear and concise way. Let's deal with the compilation errors. I've compiled successfully on an earlier version of Marlin bugfix-2.0.x downloaded 7/21. I'm unable to compile on a version downloaded on 8/25. The errors seemed to be centered around the lcd code. I can compile as long as there is no lcd or any other screen that needs a menu. The first of many errors
/Users/Marlin/Marlin-bugfix-2.0.x/Marlin/src/MarlinCore.cpp:993: undefined reference to `MarlinUI::show_bootscreen()'
references MarlinUI. I'm new to this, where do I find MarlinUI and define a reference to it?

Re: unable to upload firmware to sd card from windows

$
0
0
I am experiencing the same problem. I can see the Marlin attached in Windows 10 Device manager under Disk Drives and in Portable Devices. Windows 10 seems to recognize the Re=Arm board but not the SD card.
I had it working with Smoothieware but decided to switch to Marlin to be consistent with my other printer. As soon as I switched to Marlin, the Re-arm SD drive is no longer recognized.
I can use the Re-Arm by compiling the Configuration.h in VSC Platformio and then copying the binary file by inserting the SD card into my laptop and then copying the binary file from the build folder,

Any help would be greatly appreciated.

Re: unable to upload firmware to sd card from windows

$
0
0
What build are you using? I am now running v2.0.6 of the full version. One thing that you must do though is download the full zip file, and unzip to a new folder. Then open that folder in Visual Studio Core and compare the new configuration.h and configuration_adv.h to your working ones. Put your settings into the newer files. Also edit the platformio.ini and update the default_envs setting. Trying to use your original .h files just doesn't work. The compare is the best way. I have updated a couple of times since June and have not lost access again. BTW, doing the compare also finds you new things you didn't know were there, like in my case, the case insensitive setting.
You can keep the Smoothieware usb driver, it works fine for Marlin as well.

How to wire LED_PIN ?

$
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?

Re: How to wire LED_PIN ?

$
0
0
"But I can't find anywhere if this is the V+ or GND pin"

IO pin flip from gnd to their vcc (3.3v in this case)

IO pins can both source and sink current. So can be used as a + or a gnd pin.
but care must be taken not to exceed their source or sink limits for the pin (not all pins are equal)

If you want the led to be on when the IO pin is on, your using the pin as source, the other led leg should be grounded.

If you want the led to be on when the IO pin is off, your using the pin as a sink, the other led leg should be on vcc.

Most IO pins on the LPC1768/9 are 5v tolerant when in IO mode (not when analog mode)
But not all...

When you dealing with electronics is always best to check the datasheet [www.nxp.com]
search for P1[18] and P1[23], both are 5v tolerant.

Also remember that LEDs have polarity. It only works one way around.

Re: How to wire LED_PIN ?

$
0
0
Thank you very much!
That makes a lot of sense now.

Display don't work without connecting USB to laptop

$
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?

Re: Display don't work without connecting USB to laptop

$
0
0
... it's most likely the +5V for the display are feeded from the USB-port, not from the +5V of the Arduino.

Check the current consumption of the display before connecting to the Ardino or it will eventually draw too much current.

Or you can use another power source over USB -- e.g. a +5V wallplug or a powerbank ...

Re: Display don't work without connecting USB to laptop

$
0
0
It appears that you have a dead 5V regulator on your Arduino controller.
I have replaced mine several time until I modified and added a higher current regular chip to the Arduino Mega2560 board.

There are many different ideals on replacing this regulator chip.
Here is one such youtube video
[www.youtube.com]

Re: Display don't work without connecting USB to laptop

$
0
0
Don't waste your time people...

This user has been posting this same thing for 30 days now and just doesn't want or cant understand the answer.

Upgrading from Marlin 1.1.9 to Marlin 2.0.x causes problems with extruder

$
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

Re: Bltouch and z axis issues

$
0
0
I instrumented motion.cpp, planner.cpp and probe.cpp with tons of DEBUG statements and found that setting the axis pos to zero has no effect.

Relevant code lines from function void do_homing_move() in file motion.cpp:
// Get the ABC or XYZ positions in mm
abce_pos_t target = planner.get_axis_positions_mm();
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("###1331 axis= ", axis); //ZABEX 2020-08-29

DEBUG_POS("###1332 do_homing_move BEFORE target[axis]=0", current_position);//ZABEX 2020-08-29
target[axis] = 0; // Set the single homing axis to 0
planner.set_machine_position_mm(target); // Update the machine position

DEBUG_POS("###1336 do_homing_move AFTER target[axis]=0", current_position);//ZABEX 2020-08-29


The result of debug output ###1332 is 15.5mm and of debug output ###1336 is also 15.5mm instead of zero.

Here an extract from my logging:
18:52:03.027 : >>> do_homing_move X223.00 Y170.00 Z15.50
18:52:03.027 : ###1278 do_homing_move:distance=15.00
18:52:03.027 : ###1279 do_homing_move:fr_mm_s=10.00
18:52:03.028 : ###1283 do_homing_move:real_fr_mm_s=10.00
18:52:03.028 : ...(Z, 15.00, 10.00)
18:52:03.028 : ###1309 do_homing_move:is_home_dir=0
18:52:03.028 : ###1331 axis= 2
18:52:03.028 : current_position= X223.00 Y170.00 Z15.50 : ###1332 do_homing_move BEFORE target[axis]=0
18:52:03.028 : current_position= X223.00 Y170.00 Z15.50 : ###2861 planner:set_machine_position_mm BEFORE position.set
18:52:03.028 : ###2862 planner: c=0.00
18:52:03.028 : current_position= X223.00 Y170.00 Z15.50 : ###2868 planner: set_machine_position_mm AFTER position.set
18:52:03.028 : ###2873 planner: set_machine_position_mm AFTER position.set, position.c=0
18:52:03.029 : current_position= X223.00 Y170.00 Z15.50 : ###2879 planner: set_machine_position_mm AFTER stepper.set_position()
18:52:03.029 : current_position= X223.00 Y170.00 Z15.50 : ###1336 do_homing_move AFTER target[axis]=0
18:52:03.029 : ###1340 target[axis]=distance = 15.00
18:52:03.029 : current_position= X223.00 Y170.00 Z15.50 : ###1351 do_homing_move AFTER target[axis]=distance
18:52:03.030 : ###1348 planner.synchronize
18:52:03.137 : current_position= X223.00 Y170.00 Z15.50 : ###1355 do_homing_move AFTER planner.synchronize()
18:52:03.137 : <<< do_homing_move X223.00 Y170.00 Z15.50


In void Planner::set_machine_position_mm() I inserted a
set_current_from_steppers_for_axis(ALL_AXES); //ZABEX Bugfix 020-08-29
in the ELSE block after stepper.set_position(position);
So the code looks like:
void Planner::set_machine_position_mm(const float &a, const float &b, const float &c, const float &e) {
TERN_(DISTINCT_E_FACTORS, last_extruder = active_extruder);
TERN_(HAS_POSITION_FLOAT, position_float.set(a, b, c, e));
DEBUG_POS("###2861 planner:set_machine_position_mm BEFORE position.set", current_position);//ZABEX 2020-08-29
DEBUG_ECHOLNPAIR("###2862 planner: c=", c);//ZABEX 2020-08-29

position.set(LROUND(a * settings.axis_steps_per_mm[A_AXIS]),
LROUND(b * settings.axis_steps_per_mm[B_AXIS]),
LROUND(c * settings.axis_steps_per_mm[C_AXIS]),
LROUND(e * settings.axis_steps_per_mm[E_AXIS_N(active_extruder)]));
DEBUG_POS("###2872 planner: set_machine_position_mm AFTER position.set", current_position);//ZABEX 2020-08-29
//FALSCH: set_current_from_steppers_for_axis(ALL_AXES); //ZABEX Bugfix 020-08-29
if (has_blocks_queued()) {
//previous_nominal_speed_sqr = 0.0; // Reset planner junction speeds. Assume start from rest.
//previous_speed.reset();
buffer_sync_block();
DEBUG_POS("###2878 planner: set_machine_position_mm AFTER buffer_sync_block", current_position);//ZABEX 2020-08-29
}
else
{
stepper.set_position(position);
DEBUG_POS("###2885 planner: set_machine_position_mm AFTER stepper.set_position(", current_position);//ZABEX 2020-08-29
set_current_from_steppers_for_axis(ALL_AXES); //ZABEX Bugfix 020-08-29
DEBUG_ECHOLNPAIR("###2885 planner: set_machine_position_mm AFTER set_current_from_steppers_for_axis() position.c=", position.c);//ZABEX 2020-08-29
DEBUG_POS("###2886 planner: AFTER set_current_from_steppers_for_axis", current_position);//ZABEX 2020-08-29

}
}



That changes the current position to zero but unfortunately the axis still does not move up for Move Away before Home 2 Slow.

Is there anybody who has deeper knowledge of the mechanisms around the handling of the values between position and current_position?

Best regards,

Zabex

Re: Display don't work without connecting USB to laptop

$
0
0
OK!
But let's give the user the benefit of the doubt.
If he cannot figure it out, he could take a laptop to the nearest electronics school show the video too the students / professor they could help him fix it.
Where there is a will there is a way, and this user seems to have plenty of will. And right now I seem to be in abundance of time.

Endstop coreXY

$
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

Re: Bltouch and z axis issues

$
0
0
Maybe I was searching in the wrong place. Homing for X and Y works and they show the same behaviour in position and current_position as Z.
To determine whether the not executed "move away" has something to do with my12ms endstop signal from BLtouch I made the BLtouch signal 2000ms long (using a Tiny85).
That leads to no change.

I tried the following:
Moved Z to +30mm and put a 20mm box and a 10mm box on the bed. When executing the Z-Part of G28 I moved the 20mm box below the BLtouch and replaced it by the 10mm box after the first touch. I removed both boxes after the second touch.
The result was:
- Z moves fast down until 20mm box was touched first.
- Z moves slowly down until the 10mm box was touched second.
- Z moves down some millimeters and stops.

So neither the "move away" of HOMING_BUMP_MM=15mm up works nor the HOMING_BACKOFF_POST_MM=10. Seems as if "moving up" was inhibited by - hm, by what?

I enabled endstop monitoring (M43 E1) and saw events for X and Y but not for Z. Is there a special ENDSTOP handling for BLtouch?

LEFT_PROBE_BED_POSITION is outside the probe region

$
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

Re: LEFT_PROBE_BED_POSITION is outside the probe region

$
0
0
Can it be your hotend moves off of the bed when homing? Because then you need to set a homing offset in your firmware. The homing offset would be the distance from the endstop to when the hotend nozzle is above the bed and it needs to be a negative number in that case.

Re: LEFT_PROBE_BED_POSITION is outside the probe region

$
0
0
yes the hotent out of heatbed to touch endstop

so can you change the numbers in my attached config file as eamble to understand it?
Viewing all 12094 articles
Browse latest View live


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