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

Re: RepRapdiscount smart controller shows odd characters after boot screen

$
0
0
So bog standard RAMP + MEGA2560 + REPRAP_DISCOUNT_SMART_CONTROLLER

Using your config files on same hardware, It works fine on my test setup.

BTW it doesn't have a SPEAKER, it has a buzzer. But that doesn't cause this issue.

How long are you cables to the LCD? got any other shorter one you can try?

Re: RepRapdiscount smart controller shows odd characters after boot screen

$
0
0
Quote
Dust
So bog standard RAMP + MEGA2560 + REPRAP_DISCOUNT_SMART_CONTROLLER

Using your config files on same hardware, It works fine on my test setup.

BTW it doesn't have a SPEAKER, it has a buzzer. But that doesn't cause this issue.

How long are you cables to the LCD? got any other shorter one you can try?

Don't have new one. LCD works fine with following hello world example, pins are same as on wiki. I even set the delay to ZERO, and lcd still worked with very fast flashing of text.

Marlin also uses LiquidCrystal since it gave me an error for missing LiquidCrystal.h header file when I enabled lcd

#include 
LiquidCrystal lcd(16, 17, 23, 25, 27, 29);

void setup() {
  // put your setup code here, to run once:
  lcd.begin(20, 4);
}

void loop() { 
  lcd.home();
  lcd.print("hello, world!");
  delay(500); //worked with zero as well
  lcd.clear();
  delay(500); //worked with zero as well
}


Re: RepRapdiscount smart controller shows odd characters after boot screen

$
0
0
Quote
Dust
So bog standard RAMP + MEGA2560 + REPRAP_DISCOUNT_SMART_CONTROLLER

Using your config files on same hardware, It works fine on my test setup.

BTW it doesn't have a SPEAKER, it has a buzzer. But that doesn't cause this issue.

How long are you cables to the LCD? got any other shorter one you can try?

Also just want to emphasis that boot screen displayed fine

Biqu Mechanical Endstop w/ Marlin 1.1.9

$
0
0
I am currently working on building an Anet Metal Frame A8 printer. Along with that is several modifications. I'm using a Ramps 1.6 board w/ Arduino Mega 2560 board, Raspberry Pi 3, 500 watt computer PSU, and an E3D V6 clone hot end. I had originally planned on running a BLTouch, but it appears that it may be bad, and I don't know at this point whether I'm going to try spending the money to replace it or not.

For endstops, I'm running the Anet A8 endstops on X & Y, and I've managed to get them configured correctly where they show open when not homed, and triggered when homed. My problem is the endstop I'm now trying to use for Z. It is a Biqu/BigTreeTech mechanical endstop that I purchased on Amazon (Biqu Mechanical Endstop).

I initially had it plugged in wrong, and when activating the endstop, it would reset the Ramps board. After looking at the wiring, and figuring out which was the signal wire, I got it straightened out.

When I connect the printer to my computer, and execute an M119, I get open on X & Y, and Triggered on Z. I've tried reversing the logic in the Endstop Settings section of Configuration.h in Marlin, but I've had no change at all, it still continues to show triggered when it should be open.

Can anyone help me? I'm getting so frustrated trying to get this printer working, I'm about ready to throw it in a box and let it collect dust.

Re: Biqu Mechanical Endstop w/ Marlin 1.1.9

$
0
0
It is just a switch with LED's

It pulls the IO line to 5v or 0v. So you don't need pullup resistors enabled, but having then enabled wont cause an issue either.

If you inverted the logic and it was stick on triggered it should then be stuck on open.. so that doesn't make sense....


Test your endstops with this test firmware [github.com] enable serial monitor in arduino/vscode at 9600 to see what is going on.

Re: Integrating a Custom 32 Bit Board in Marlin 2.0

$
0
0
Quote
Dust
Step 1

Identify the motherboard.

The linked marlin is either BOARD_RAMPS_14_RE_ARM_EFB or BOARD_ARCHIMAJOR
The RAMPS_14_RE_ARM_EFB only has 5 stepper drivers, the config has #define EXTRUDERS 2 so there are no free extruders to use as Y2

The BOARD_ARCHIMAJOR seems to have 5 extruders.

This is a real oddball controller, people have been working on adding support for it since 2017...
[github.com]

Thanks for linking that github thread I have not seen that before I'll probably go down a rabbit hole today of reading through what they've been dealing with.

The board I have is the Archimajor board and it has support for up to 8 stepper motors on the hardware side of things.

Marlin 2.1 Dev - Homing after completing a print

$
0
0
I can't figure out why my printer tries to home after completing a print. This appears on my terminal:

Changing monitoring state from "Printing" to "Finishing"
Send: N30998 M400*44
Recv: ok
Send: N30999 G28 X Y*24
[...]
Recv: X:-24.00 Y:-6.00 Z:16.60 E:676.12 Count X:-1920 Y:-480 Z:6640
Recv: ok
Send: N31000 G28 Z*107

In Cura I have this as End G-code:

M104 S0 ; extruder heater off
M140 S0 ; heated bed heater off
M107; Turn fan off
G91 ; relative positioning
G1 E-1 F300 ; retract the filament a bit before lifting the nozzle to release some of the pressure
G1 Z+2.0 E-5 F6000 ; move Z up and retract filament even more
G90 ; absolute positioning
G1 X0 F6000 ; move X to min endstops so the head is out of the way
G1 Y280 F6000 ; move the bed so it is easy to access to the printed part
G92 E0 ; zero the extruded length
M84 ; steppers off

My Marlin config files are attached. Any ideas where to look?

Re: Biqu Mechanical Endstop w/ Marlin 1.1.9

$
0
0
I'm really at a loss for why this switch isn't working, but no matter what wire combination I use, or how its plugged in to the board, or how the firmware is set for true/false, I can not get this thing to show triggered when the switch is depressed.

I did test the connection on the board by plugging in my Y axis endstop, and it worked perfectly. Showed triggered when the switch was depressed.

I'm about at my wits end with this stupid thing, so sick & tired of spending money on it. I guess the only other option at the moment is to just buy some 2 wire endstops in the hopes those will work.

Re: Biqu Mechanical Endstop w/ Marlin 1.1.9

$
0
0
[attachment 114743 Image2.jpg]


[attachment 114745 FilamentRun-out.jpg]

This should make it easy

Re: Biqu Mechanical Endstop w/ Marlin 1.1.9

$
0
0
It very much sounds like you have a dead IO pin on your controller..

Re: Marlin 2.1 Dev - Homing after completing a print

$
0
0
2.1 is extremely experimental, no one should be trying to print with it!

Important ifdef blocks of some features

$
0
0
Hello,

We are doing a research about how to help new developers understanding configurable/variable features in OSS developed with C-preprocessor (i.e. ifdef blocks).
Many researches proved that some features are scattered through many files and this situation hinders feature comprehension because is difficult to developers to know from where they should start.

We plan to mitigate this problem adapting the concept of key classes: “Usually, the most important concepts of a system are implemented by very few key classes which can be characterized by the specific properties. These classes, which we refer to as key classes, manage many other classes or use them in order to implement their functionality. The key classes are tightly coupled with other parts of the system”. We think we can move this concept to “key ifdef blocks”. Our theory is that the most important concepts of a feature are implemented by few ifdef blocks. Therefore, if we can give developers a good starting point (i.e. a key ifdef block) for understanding a concrete feature, (s)he would be able to comprehend the feature faster. So, we aim at identifying those ifdef blocks that are central for understanding the feature using different kind of measurements.

In order to validate this theory, first, we need to identify those blocks with expert-base opinion to then, compare these blocks with those obtained from the results of our measurements. However, we are not expert on Marlin so we are not able to identify which would be the key ifdef blocks for some features. We would be very grateful if the community can tell us which are the most important ifdef blocks (if they exists) for the following features:

• ADVANCED_PAUSE_FEATURE
• NOZZLE_PARK_FEATURE
• NOZZLE_CLEAN_FEATURE
• HOST_KEEPALIVE_FEATURE
• HAS_TEMP_SENSOR
• HAS_BED_PROBE

With a couple of blocks per feature would be enough.
Thank you in advance!

Raul Medeiros

Re: Marlin 2.1 Dev - Homing after completing a print

$
0
0
Thank you, but I'd like to figure out if this is a bug or if the issue is with my configuration. If it's a bug I want to create an issue for it on GitHub.

Re: Biqu Mechanical Endstop w/ Marlin 1.1.9

$
0
0
I wondered about that, but I was able to take my Y axis endstop, and connect it to the Z axis pins and it worked fine. Showed open when it should and triggered when it should. So it appears to be something to do w/ these end stops. Not thrilled about it, but I'm going to order some endstops that match the Anet endstops I already have, and use those. If that doesn't work, then I don't know what I'm going to try.

Enabling joystick - Hmm

$
0
0
Hello

I have a Rambo 1.4 running Marlin, and I am trying to enable the joystick function without success.

I have mapped my required pins as I think I need in Config_adv.h:

/**
* Analog Joystick(s)
*/
//#define JOYSTICK
#if ENABLED(JOYSTICK)

#define JOY_X_PIN 3 // 3- Analog Ext 4
#define JOY_Y_PIN 4 // 4- Analog Ext 6
#define JOY_Z_PIN 5 // 5- Analog Ext 8
#define JOY_EN_PIN 4 // PWM ext pin 6

// Use M119 to find reasonable values after connecting your hardware:
#define JOY_X_LIMITS { 5600, 8190-100, 8190+100, 10800 } // min, deadzone start, deadzone end, max
#define JOY_Y_LIMITS { 5600, 8250-100, 8250+100, 11000 }
#define JOY_Z_LIMITS { 4800, 8080-100, 8080+100, 11550 }
#endif

Do I need to uncomment the line //#define JOYSTICK to enable it? Or is that simply a header for the following lines of code?

I also have had a bit of a time trying to work out the pins on the Rambo board (I wish they included a detailed pinout map).
Does the attached image look correct?

Many thanks!

Marlin 2.0 Example configurations for LOTMAXX SC-10?

$
0
0
Hi, I was just wondering if anyone has made a Marlin config for the LOTMAXX SC-10?

Re: Enabling joystick - Hmm

$
0
0
"Do I need to uncomment the line //#define JOYSTICK"

YES!!!

Or everything above is just ignored.

Re: Marlin does not send "File opened" message to host (Octoprint)

$
0
0
The problem has been solved. It was a configuration problem. And there'll probably be a patch for Marlin which prevents this problem from happening again in the future.

The Configuration.h I used included these 2 values:

#define SERIAL_PORT 3
#define SERIAL_PORT_2 1

Since I changed them into

#define SERIAL_PORT 1
#define SERIAL_PORT_2 3

everything works as it's supposed to.

Re: Enabling joystick - Hmm

Marlin 2.0 bare LPC1768 :S

$
0
0
Does Marlin 2.0 needs an especific bootloader, I'm trying to flash it on bare LPC1768 and I'm not having success.

I used the flashmagic to flash the bin file, the flashing process worked but the LPC1768 seems to be stuck not doing anything.

Then I flashed the USB secondary Bootloader (for the LPC1768) again the flashing went well and a Mass Storage device appeared on my computer after pluging the USB cable, I copied the Marlin .bin file to it then reset the LPC1768 the same thing happened the LPC1768 is stuck and the computer doesn't see it.

Is there something that I need to do to burn marlin 2.0 on a Bare LPC1768.
Viewing all 12085 articles
Browse latest View live


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