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

[bugfix-2.0.x] RAMPS + DUE = NEOPIXEL_LED causes motors not moving

$
0
0
Hi all, first post.

I've got a modified RAMPS with Arduino DUE running Marlin bugfix-2.0.x branch, checkout on 11.11.2018, added neopixel leds today to pin 47 with separate power supply, NEOPIXEL_STARTUP_TEST cycles through colours at startup and M150 works too.
In fact, everything else works fine except that enabling NEOPIXEL_LED with following configuration causes homing to hang after (what seems to be) the first step of the steppers, all motors simultaneously.
Marlin stops responding to serial communication, does not complain about not hitting endstops, lcd menu is usable but instead of movement commands i see a "Tune" option.

Any pointers to where to start looking and what for would be greatly appreciated.

Regards,
Peter

#define NEOPIXEL_LED
#if ENABLED(NEOPIXEL_LED)
  #define NEOPIXEL_TYPE   NEO_GRB // NEO_GRBW / NEO_GRB - four/three channel driver type (defined in Adafruit_NeoPixel.h)
  #define NEOPIXEL_PIN    47        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
  #define NEOPIXEL_PIXELS 16       // Number of LEDs in the strip
  // #define NEOPIXEL_IS_SEQUENTIAL   // Sequential display for temperature change - LED by LED. Disable to change all LEDs at once.
  #define NEOPIXEL_BRIGHTNESS 55  // Initial brightness (0-255)
  #define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
#endif

Re: Unable to get TMC2130 sensorless homing working

$
0
0
Quote
wamonite
Yep, that was it. Enabling endstop pullups and inverting endstop logic for my TMC2130s fixed my sensorless homing issues. This would have worked in 1.1.8 (although I was having other TMC2130 issues) and changed in bugfix-1.1.x (at 53757444). Thanks for listening ;)

did you enable all endstop pullups???

and when you say inverted the endstop logic..which ones ?? all or just x and y ???

can you share the config.h file??

thanks in advance....

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

$
0
0
HI,

Sorry, some more details

Printer Malyan m150.

My home settings:
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

// Travel limits after homing (units are in mm)
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 200
#define Y_MAX_POS 200
#define Z_MAX_POS 150

And, here you can see my home [youtu.be]

Printhead and bed movements off

$
0
0
Good evening all,
I apologize for the poor subject line. The short story is that the printer 'thinks' that the rear corner of the bed is almost in the center of the bed and all the movements it makes are about 1/3 about what they should be. Example: I move the head 50mm but it physically only moves about 2.5cm.

The long story is that it was an anet A8 that's had every component replaced (literally). I swapped over to the aluminum extrusion type frame (AM8), the rest of the guts are different, (and here's where you come in) swapped tp a RAMPS board. The idea is to run a Cyclops for soluble supports soon. So the main board is flashed and the hardware kinks worked out, BLtouch is touchin, motors are motoring, heaters heating, things look good. But...the movement thing. I'm pretty technically inclined. The firmware (Marlin 1.1.9) I've done some with. I know enough to flash things, I understand the basics and then some but wouldn't consider myself quite adept yet. Attached is my config and adv config files. So far I've basically tried to mirror the way the Anet FW looked (yeah yeah, I know....) to get it close but look how far that got me.
For a little more detail, when the nozzle is somewhere near the center of the bed the X axis reads that it's at 250 mm. Which should be at the far right (facing the printer) side of the bed.

Excuse my ignorance, I'm sure there's an obvious mistake somewhere in the firmware files. Appreciate the assist!

Thanks, AS

Re: Printhead and bed movements off

$
0
0
This is a discrepancy between what the hardware is set to vs the defined steps/mm

I see #define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 95 }

but I also see
#define X_DRIVER_TYPE DRV8825
#define Y_DRIVER_TYPE DRV8825

I would guess you have the micro stepping wrong...

Under each stepper driver is 6 pins, for 3 jumpers to set the micro stepping

for DRV8825 use this table (high = jumper in place)



The default is all on, which for a A4988 is 1/16 and 80 steps/mm
but for a DRV8825 this is 1/32 and is 160 steps/mm

so your steps/mm should be

#define DEFAULT_AXIS_STEPS_PER_UNIT { 160, 160, 800, 190 }

Or you could remove the Mode0 and Mode1 jumper and set the steppers back to 1/16th

One or the other, your choice...

Re: Printhead and bed movements off

$
0
0
Thank you! I'll give that a shot right now. In black and white 1/32 stepping makes me think that it's capable of more precise movement there fore capable of higher quality prints. Is the hardware mechanically able to 'tell a difference'?

Re: Printhead and bed movements off

$
0
0
On a Cartesian machine 1/32 is over kill in my view. Due to the way steppers work, you don't get increased accuracy, just lower noise (steppers do not move on every micro step)

It also limits the max speed of the machine as it has to send out twice the steps over 1/16th (its only a slow 16mhz processor)

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

$
0
0
We did this with Z-Safe Homing did not like the nozzle on the corner of the bed.

#define Z_SAFE_HOMING

#if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)
#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)
#endif

My Proximity sensor is located 25mm behind the nozzle and firmware says 10mm to the right. (Now it is directly behind but forgot to change)

Mine does the same thing, only 10mm from center on the X Axis and only 25mm from center on the Y-Axis.

Bed 220 x 270mm and I believe this is caused by the probe offset settings.

#define X_PROBE_OFFSET_FROM_EXTRUDER 10
#define Y_PROBE_OFFSET_FROM_EXTRUDER 25

Shown Below (" Be careful!!!! Remember this is done so your probe does not go off the bed during bed leveling. ")

#if HOMING_Z_WITH_PROBE
destination[X_AXIS] -= X_PROBE_OFFSET_FROM_EXTRUDER;
destination[Y_AXIS] -= Y_PROBE_OFFSET_FROM_EXTRUDER;
#endif

And It really does not matter where the Nozzle homes

But just out of curiosity sake!!! Anyone out there! Can I safely add the Offset back just for the Z-Safe Homing.

Help on single extruder with servo with chimera

$
0
0
Hello..
i need some help if is possible..

I searched a lot but i don't now if is possible or search in wrong way..

I use a mks base 1.4, with a homemade printer based in a FolgerTech i3 2020.

And i want to have 1 extruder with a servo to work with a chimera and Z Dual drive because of the of dual endstop mod...

Video in this link:
dual z axis and dual z stop

If i put 2 extruder and activate Z2 in marlin appears a error that says:

Z_DUAL_STEPPER_DRIVERS requires Z2 pins (and an extra E plug)


If i use only 1 extruder :
error "TEMP_SENSOR_1 shouldn't be set with only 1 HOTEND

Is there any change of work around this?

Thanks.

B)

Re: Help on single extruder with servo with chimera

$
0
0
Just think on what your trying to do here for a minute...

stepper drivers
1 * X
1 * Y
2 * Z
2 * E

that is 6 stepper drivers

and how many stepper drivers are on your controller?

Thats right, 5 stepper drivers

So this is never going to work. (without adding hardware)

You say you also tried with 1 extruder which gives you an error message "TEMP_SENSOR_1 shouldn't be set with only 1 HOTEND"

which explains what to do..

Find #define TEMP_SENSOR_1 in configuration.h and make sure it is set to 0, as you only have 1 hotend

Re: Help on single extruder with servo with chimera

$
0
0
The board has:
X, Y, Z, E0, E1
Try to use E1 to Z2
I now that is possible...
My problem is the hotend...
Is there any configuration that I can change to have 1 extruder but with 2 hotend?

Re: Help on single extruder with servo with chimera

$
0
0
Take a look at SWITCHING_EXTRUDER [marlinfw.org]

Is that what you have?

as 2 hotends and 1 extruder isnt very common

Re: Help on single extruder with servo with chimera

$
0
0
Yes...
I have 1 stepper for both filament and use a servo to switch between filament. But since I have a chimera... Is to see if can use the 2 nozzle with SWITCHING_EXTRUDER..

Re: Dual Nozzle, Dual Stepper, Servo Actuated Nozzle - Marlin Settings?

$
0
0
Hi Everyone
Thank you very much for the detailed information on switching extruder. Im looking for a version to configure dual extruder for my project. If someone can help me with the actual version of Marlin that can do this job.
Thanks in advance.
Avishek.

How to doing Custom Status Screen ?

$
0
0
Hello.

I seached and find;
[reprap.org]

But I could not

I activated "#define CUSTOM_STATUS_SCREEN_IMAGE"
and i create 25x25 pixel a icon(bmp)

So, [marlinfw.org] convert to bmp status screen
I created "_Statusscreen.h" file.

And load code and error;

Arduino:1.8.1 (Windows 10), Kart:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\ultralcd_impl_DOGM.h:49:0,

                 from sketch\ultralcd.cpp:96:

dogm_bitmaps.h:1185: error: 'status_screen1_bmp' was not declared in this scope

   static_assert(sizeof(status_screen1_bmp) == BMP_SIZE, "Status header (status_screen1_bmp) dimensions don't match data.");

                        ^

In file included from sketch\ultralcd_impl_DOGM.h:350:0,

                 from sketch\ultralcd.cpp:96:

sketch\status_screen_DOGM.h: In function 'void lcd_implementation_status_screen()':

status_screen_DOGM.h:246: error: 'status_screen1_bmp' was not declared in this scope

           blink && fanSpeeds[0] ? status_screen1_bmp :

                                   ^

exit status 1
'status_screen1_bmp' was not declared in this scope

C:\Program Files (x86)\Arduino\libraries\MultiLCD-master içerisinde geçersiz kütüphane bulundu: C:\Program Files (x86)\Arduino\libraries\MultiLCD-master
C:\Program Files (x86)\Arduino\libraries\MultiLCD-master içerisinde geçersiz kütüphane bulundu: C:\Program Files (x86)\Arduino\libraries\MultiLCD-master

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


[/quote]

Please help me for this.
I want to like;




Re: Dual Nozzle, Dual Stepper, Servo Actuated Nozzle - Marlin Settings?

$
0
0
I am sure Marlin would do a great job.

Personally, I ended up switching from Marlin to Klipper for my dual extrusion needs: [github.com]

Re: How to doing Custom Status Screen ?

$
0
0
It seems to be a bit of a bug where it presume there are at least two frames to the image

a quick fix is to copy the block in _Statusscreen.h

const unsigned char status_screen0_bmp[] PROGMEM = {
....
}

and create a second block
const unsigned char status_screen1_bmp[] PROGMEM = {
....
}

Re: How to doing Custom Status Screen ?

Re: How to doing Custom Status Screen ?

$
0
0
If you take a look at the example CR-10S configurations in [github.com]

you can see exactly how to do it...

especially important is the lines like

#define STATUS_SCREEN_HOTEND_TEXT_X (E) (38 + (E) * 20)
#define STATUS_SCREEN_BED_TEXT_X (HOTENDS > 1 ? 81 : 73)

Which defines where on the screen to write the text for the hotend and heated bed.

Re: How to doing Custom Status Screen ?

$
0
0
Oh really thanks, this is perfect for me!

So i want bed figure animation. can I do it?
Viewing all 12108 articles
Browse latest View live


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