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

Re: Is Marlin 2.xx strictly for 32 bit controllers?

$
0
0
Quote
dlc60
What I really want is a 32 bit board/firmware combo that allows a config file rather than a re-compile, can network and can set the stepper currents with an M command instead of a screwdriver. But I think that I am just dreaming, right?

I don't normally post on this forum, but I think I should point out that there are versions of RepRapFirmware for LPC and STM based 32-bit boards now, including the SKR boards.

Re: EEPROM & other storage

Re: BTT SKR 1.4 Turbo, BTT TMC2209 Drivers, Sensorless Homing Issues

$
0
0
Has anyone found a solution to this yet? The only thing I have been able to do, to get the Y-Axis to work, is to install DRV8825 driver instead of TMC2209. I followed the video from Chris' Basement on YouTube, almost to the letter. [www.youtube.com]

Re: Re-ARM UART pins for TMC2208

$
0
0
Did you get this working?

or am I trying to do the impossible...?

Re: Problem with LCD in Marlin 2/Marlin2.bugfix

Marlin 2.0.6.1 with PlatformIO and VSCode

$
0
0
I was working on updating my Marlin configs today when VSCode stopped working and started throwing the error
"ModuleNotFoundError: No module named 'platformio.managers.package':". I've successfully compiled this config before, and this just started out of the blue. Does anyone have any ideas on how to help? I'd really like to still be able to use vscode...

Re: Re-ARM UART pins for TMC2208

$
0
0
Quote
workshopninja
Did you get this working?

or am I trying to do the impossible...?

I personally didn't get this working, but someone else did : [github.com]

I've since moved over to klipper (https://github.com/KevinOConnor/klipper) which is not only more flexible than Marlin, but also only uses 1 pin per stepper (instead of having seperate pins for TX and RX)

But with those pinouts, you should be able to connect 4x TMC2208 :)

Re: Re-ARM UART pins for TMC2208

$
0
0
"but also only uses 1 pin per stepper (instead of having seperate pins for TX and RX)"

Marlin also support this mode in talking to tmc2208's you just set the TX and RX pin to the same pin in the config.

I'd like to improve CNC mill support

$
0
0
I'd like to improve CNC mill support. I want to add a couple immediate commands.

Status
Pause
Resume

These commands would make it easier to get Marlin working with Universal Gcode Sender and other CNC control projects.

Has this already been attempted?

Re: I'd like to improve CNC mill support

$
0
0
I believe they have them. is this what you are looking for.

M27 - Report SD print status
M25 - Pause SD print
M24 - Resume SD print

Re: I'd like to improve CNC mill support

$
0
0
Thanks for the reply. I’m looking to send serial commands. I need finer time resolution.

error message that prevents build

$
0
0
I am running Marlin 2.0.6 and just tried to run a build. I get this for an error message:

ModuleNotFoundError: No module named 'platformio.managers.package':
File "C:\users\doug\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 167:
env.SConscript(item, exports="env")
File "C:\Users\doug\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 598:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\doug\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 287:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "J:\Marlin-2.0.6\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 12:
from platformio.managers.package import PackageManager

I just started enabling BLTouch settings and tried to run the build. These errors kill the build before it even starts. The build worked last week, and the only changes were the ones to enable BLTouch. Can't see how that would stop it from even starting. I am building inside Visual Studio Code and Platformio. Any help would be greatly appreciated.

Re: error message that prevents build

$
0
0
platfomio itself was updated

In PlatformIO Core 5.0 they removed managers.package

You need to upgrade marlin to 2.0.6.1

Re: error message that prevents build

$
0
0
Quote
Dust
platfomio itself was updated

In PlatformIO Core 5.0 they removed managers.package

You need to upgrade marlin to 2.0.6.1

Thank you very much, that was a quick and painless fix.

3D Touch for Hictop

$
0
0
3-pin: Brown (-, GND), Red (+5V), Orange (control signal) (Z-Max)
2-pin: Black (-, GND), White (Z min)

[attachment 116649 3DTouch.jpg]

Making sure the pin configuration is correct.
Connect the 3 pin wire to the Z max pin.
Connect the 2 pin wire to the Z min pin.

Marlin Code Changes
#define NUM_SERVOS 1 // Servo index starts with 0 for M280 command

#define SERVO_ENDSTOPS {-1, -1, 0} // Servo index for X, Y, Z. Disable with -1
#define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 10,90} // X,Y,Z Axis
#define Z_MAX_PIN -1 //Old pin 19
#define SERVO0_PIN 19 //Old pin 6

OK I have come up with an Ideal can anyone help me and tell me if this looks correct.

Quote

When 3D Touch is first powered up it does a self test
Starting with the pin up it them goes down/up 3 times and ends up the the LED on solid.
Continuous flashing means that there is an obstruction or fault.

The 3D Touch responds to these gcodes

M280 P0 S10 ; pushes the pin down
M280 P0 S90 ; pulls the pin up
M280 P0 S120 ; Self test – keeps going until you do pin up/down or release alarm
M280 P0 S160 ; Release alarm

Alarm – The 3DTouch can sense when something is wrong and then goes into alarm mode which is continuous flashing. Alarm can be triggered like an obstruction that stops the pin going up and down freely, it could be dirt etc.

Thank You.

G29 Manual bed leveling guestions

$
0
0
I have a home built printer with a SKR V1.4 turbo control board with Marlin firmware. I'm trying to set up the bed leveling. According to the docs G29 S0 is supposed to print out the stats of the bed leveling. When I give thew G29 S0 command it immediately moves to the first position and starts the leveling process. If I continue with the three points it ends with this printout:

Send: G29 S2
Recv: >>> G29 X150.00 Y200.00 Z0.20
Recv: Machine Type: Cartesian
Recv: Probe: PROBE_MANUALLY
Recv: Auto Bed Leveling: 3POINT (disabled)
Recv:
Recv: 3-point probing done.
Recv: current_position= X150.00 Y200.00 Z0.20 : > probing complete
Recv: current_position= X150.00 Y200.00 Z0.20 : G29 uncorrected XYZ
Recv: Probed Z0.00 Matrix Z-0.02 Discrepancy 0.02
Recv: current_position= X150.00 Y200.00 Z0.00 : G29 corrected XYZ
Recv: current_position= X150.00 Y200.00 Z0.00 : sync_plan_position
Recv: X:150.00 Y:200.00 Z:0.00 E:0.00 Count X:39750 Y:53000 Z:346
Recv: <<< G29 X150.00 Y200.00 Z0.00
Recv: ok

If I try the G29 S0 again it just starts over again. The docs say I should be getting this with the G29 S0 command:

> G29 S0
Num X,Y: 3,3
Z offset: 0
Measured points:
0 1 2
0 +0.011 -0.020 -0.026
1 +0.017 +0.002 -0.019
2 +0.022 -0.030 -0.013


Can anyone tell me why its not working like the docs say it should.
Thanks all

Re: Marlin 2.0.6.1 with PlatformIO and VSCode

$
0
0
I had the same problem. PlatformIO upgraded itself and they changed the module. You can just download the latest marlin version and use that but I figured I would have to reset all the settings. So I downloaded the latest version and deleted the buildroot folder in my current version and replaced it with the buildroot folder from the new version. It then would buid correctly without having to redo all the settings.

Re: G29 Manual bed leveling guestions

$
0
0
What type of ABL did you select in Marlin?

::oRe: About heating failed system stopped heater_id 0

$
0
0
error message as the title says.I tried with temp - sensor with no.1,5,8no difference.resistance is 5.6 but lead is red.pls advice on getting this error removed.all other device runs correct,all stepper motor including that of extruder.and cooling fan.I am a plastic technology had my injection moulding unit catering to multinational cos.pls guide me for firm ware setting and connection .

Re: G29 Manual bed leveling guestions

Viewing all 12090 articles
Browse latest View live