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

Re: Lower Z axis speed

$
0
0
check the hardware micro stepping and your step/mm for Z axis

Also check the the values in eeprom match what you set the max feed rate to

LPC1768 and USB Thumb Drive with Arduino USB Host Shield

$
0
0
I got errors when trying to compile Marlin for LPC1768 and USB Thumb Drive with Arduino USB Host Shield.

Did anyone had success with this setup?

Re: LPC1768 and USB Thumb Drive with Arduino USB Host Shield

$
0
0
Hi, did you follow any of the instructions on this page:
[marlinfw.org]

What exactly is the error you're receiving? It's kinda hard to 'guess' what your problem is by the info you give.

Re: BLTOUCH + DUAL Z ENDSTOPS

$
0
0
@georpo Were you ever able to figure this out?

I'm looking to do the same for my printer using Marlin 2.0

MKS Gen 1.4 no display

$
0
0
I won't go through my trials and tribulations, I'll keep them for a time when I have some sad violins playing.

I have a MKS Gen 1.4 (mks brand the real deal) installed in an old CTC Dual ( only 1 extruder fitted) if I control it from a PC it works things move and heat as they should.

However I cannot get it to run a display, rotating the ribbon cable lights up the screen, moving the rotary encoder causes lights to flash on the board so it's mostly going.

I have tried the discount smart controller and the full graphics controller including u8glib when appropriate and uncommenting the controller as required.

I have tried defining the motherboard as MKS Gen 1.3 and Ramps EFB, I've tried Marlin 1.1.8 and 1.1.9 nothing as worked.

So please tell me what do I need to do to get it going?

I could just get a decent motherboard but I don't want to spend anymore money on this lump of junk even if I get it going I don't think the print quality can ever be above mediocre and it's an absolute horror to work on.


Thanks for your patience all.


Aamcle

Re: MKS Gen 1.4 no display

$
0
0
Are you sure you uncommented the correct type of LCD? What type do you have?

Re: MKS Gen 1.4 no display

$
0
0
CDC 20x4 screens are known to have the LCD cable keys on the wrong side

You need to rotate the cables 180 degrees, which you can't do unless you modify the cable plug or the socket.

If your lucky you can carefully pull the plastic sockets off of the back of the display board and put them back rotated 180 degrees. If not you may need to cut out new keys.

Re: MKS Gen 1.4 no display

$
0
0
Yes, when u8glib is included the reprap discount full graphics controller is uncommented.

When the reprap discount smart controller is uncommented u8glib is not included and the full graphics controller is commented out.

Aamcle

Re: MKS Gen 1.4 no display

$
0
0
I have rotated the sockets on the displays until I did that the display wouldn't even light up.

Aamcle

I have had responses rejected by some sort of automated "bot filter", what's going on and how do I avoid this happening?

Re: MKS Gen 1.4 no display

$
0
0
Please clarify which LCD screen you have... 20x4 or 128x64 glcd..

Re: MKS Gen 1.4 no display

$
0
0
If its a 20x4 try this (MKS gen 1.4 lcd pins are same as RAMPS)

//Standard RRD smart controller LCD pins when on a RAMPS 1.4

 //lcd pins  
#define LCD_PINS_RS 16 //[RAMPS14-SMART-ADAPTER]  
#define LCD_PINS_ENABLE 17 //[RAMPS14-SMART-ADAPTER]  
#define LCD_PINS_D4 23 //[RAMPS14-SMART-ADAPTER]  
#define LCD_PINS_D5 25 //[RAMPS14-SMART-ADAPTER]  
#define LCD_PINS_D6 27 //[RAMPS14-SMART-ADAPTER]  
#define LCD_PINS_D7 29 //[RAMPS14-SMART-ADAPTER]  

#define screenX         20
#define screenY         4

#include 
#define LCD_CLASS LiquidCrystal
LCD_CLASS lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5, LCD_PINS_D6, LCD_PINS_D7); //RS,Enable,D4,D5,D6,D7

void setup() {  
  lcd.begin(screenX, screenX);
  // Print a message to the LCD.
  lcd.print("hello, world!");
  lcd.setCursor(0, 1);
  lcd.print("I am not a reprap.");
  lcd.setCursor(0, 2);
  lcd.print("But we are working");
  lcd.setCursor(2, 3);
  lcd.print("on that...");
}

//Main arduino loop
void loop() {
}

If this doesn't work,. well its either dead hardware or a different type of screen

Re: LPC1768 and USB Thumb Drive with Arduino USB Host Shield

$
0
0
I have reported the issue on github. It seems like a incompatibility. I will work on it.

[github.com]

Re: MKS Gen 1.4 no display

$
0
0
Thanks Dust

Am I looking at part of config.h or one of the pins files?

Re: MKS Gen 1.4 no display

$
0
0
This is a stand alone arduino sketch. It just sets up the LCD and displays some text

no configuring, no marlin, no rest of the printer to worry about.

Just save the code as lcd_test.ino load it into the arduino ide, compile and upload it
NB it replaces your current firmware. So make sure you can re upload that first.

And if this doesnt work, take lots of clear pictures of the back of the LCD, looking for numbers on chips or pcb's etc

Re: MKS Gen 1.4 no display

$
0
0
Some of these LCD displays have a contrast control on them could this be the problem.



[attachment 111622 Contrast.jpg]


If not it could be that your Marlin is not complete, You may want to re-download Marlin from GitHub
Myself I would download Marlin 1.1.9BF as it has been bug fixed.

Marlin2.0 for "industrial use" B)

$
0
0
Hi all,

recently I've started to build industrial machines with controllers based on ArduinoDue and Marlin4Due or Marlin2.0.

For this my company designed an Arduino-shield, which converts/adopts the 3.3V levels of the Arduino to 5V and protects them with optocouplers ... this "combo" is then placed on one of our 24V-IO-BOB's.

Here the controller, I'm actually working on - will drive a big ultrasonic cleanig system with roughly 3m x 0.5m traveling ranges along 4 vats and dryers:

[attachment 111624 SeriousArduino.jpg]


Here an image of the the last US-cleaner:

[attachment 111625 KT12-1c.jpg]

Re: MKS Gen 1.4 no display

$
0
0
It didn't work, I'll take it that the board has issues.


I don't mind eating up my own time but I'm not willing to waste yours, I'll look out for a replacement board.


Thanks Dust.


alan

Marlin 2.0 bed PID: autotuned, but won't heat up

$
0
0
I'm trying to enable bed PID in Marlin 2.0. I have PIDTEMPBED enabled in Configuration.h, and autotune yielded these constants:

  #define  DEFAULT_bedKp 206.42
  #define  DEFAULT_bedKi 19.09
  #define  DEFAULT_bedKd 557.90

However, when I dial in a bed temperature, the heater never switches on.

I also have PIDTEMP, PID_EDIT_MENU, and PID_AUTOTUNE_MENU defined, but this only provides access to the hotend PID values, not the bed PID. I also tried enabling PID_PARAMS_PER_HOTEND (even though I only have one) to see if that'd help. It didn't.

I'm currently using a Re-ARM and RAMPS 1.6 combo, though I had been using an Arduino Mega knockoff until yesterday. ISTR trying to enable bed PID in the past on Marlin 2.0 and having problems, though I once had bed PID working on Marlin 1.1.9.

Using two filament runout sensors

$
0
0
Hi,

I am modifying my single colour printer to a two colour printer, I am fairly confident that I have found out how to configure Marlin for the two extruders.

However, I have come up against a problem that I can't find an answer to:

I would like to use two filament run out sensors, one upstream of each extruder.

I currently use one filament sensor triggering the M600 filament change routine, which parks the hot end, and allows me to change the filament, then primes the nozzle.

I believe that Marlin supports more than one sensor, but I can't seem to find detailed instructions as to how to configure it.

I know that I can connect two sensors in parallel (normally open) or series (normally closed), so that either will trigger M600. But I am not sure whether it would work as I would want it to.

What I would like, is when one of the sensors is triggered, it will stop the print and park the hot end, as it does currently, but then allows me to change the filament, and prime the nozzle using the correct extruder, i.e. the one where the filament has run out, and not the one which hasn't.

However, with two active extruders, I don't know if it will just prime using the first extruder, or if it will give me the option..?

Also, if I use two sensors on separate pins, do I need to modify the M600 routine to allow for two extruders..?

I would also be happy to prime the extruder manually if it is possible to change the M600 routine to allow for this.

I'm hoping someone can help.

I am currently using Marlin 1.1.9, but I am happy to change to 2.0 if it helps.

Thanks in anticipation...

Nick.,..

Calibrating inductive sensor, problem with Z axis movement

$
0
0
I've got a cartesian reprap with Marlin 1.1.8, and I've just added an inductive sensor to my extruder carriage for z probing. I changed all the settings in Marlin to set it up and enable bilinear meshing, and the printer executes the bed meshing perfectly. My problem is that when the sequence ends, the z height raises ~5-10mm. I'm in the middle of trying to fine-tune the z height offset for the probe, so I'm trying to figure out where the instructions for this movement are in the firmware, or at least disable them temporarily while doing the fine tuning. Sending a G92 Z10 command doesn't allow me to move the Z height any lower, and I don't know how much the Z height raised to begin with.

I tried changing the default Z height movement between probe attempts from 5mm to 0, which kind of worked (it didn't raise at the end of the sequence but also didn't raise between probing). Then I sent the G92 Z10 command to allow me to lower the nozzle in small increments, but the Z axis still will not move down despite registering Z height as 10mm.

I'm just trying to get the final Z height offset value then I'll be all done setting up "auto bed levelling," but there's something I'm missing. Any suggestions?
Viewing all 12089 articles
Browse latest View live


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