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

need help to use 2.4" TFT LCD with marlin v2.0

$
0
0
Hi every one.
I have a 2.4" TFT LCD Shield for arduino Uno and Mega2560. It uses ILI9341 driver .
i searched the marlin pin assignment for RAMPS bud coulden't find any pin assignment for this type of lcd
Is there any way that i can use this LCD in marlin and RAMPS 1.4 for Hypercube 3D printer??
This shield in Aliexpress

Re: need help to use 2.4" TFT LCD with marlin v2.0

Re: need help to use 2.4" TFT LCD with marlin v2.0

$
0
0
thank you for your responce
Quote
Roberts_Clif
Try here
it seems that if i could manage to connect lcd in spi mode the problem is nearly solved. but wich pins in lcd module are used for spi mode??
The lcd in this page is different from mine. there is nothing printed on my lcd module that shows wich pin is for SPI.
i tried using sd_sck ,sd_do,sd_di , and lcd_cs and lcd_rs as spi _sck,spi_miso, spi_mosi,spi_ss but didnt worked.

Re: need help to use 2.4" TFT LCD with marlin v2.0

$
0
0
There is more to adding a new display that you have to consider...

a standard 128x64 display (8192 pixels) is at the limit of a 8 bit controller such as the mega can control while doing other things (if your running a delta even this resolution the refresh rate has to be turned down so it doesn't interfere with machine operations)

your trying to use a 240X320 display ( 76800 pixels) this is 9 time the work for the controller....

I wouldn't even consider trying this on a mega2560

But here is a datasheet for the ILI9341 [cdn-shop.adafruit.com]

Re: need help to use 2.4" TFT LCD with marlin v2.0

$
0
0
Quote
Dust
There is more to adding a new display that you have to consider...

a standard 128x64 display (8192 pixels) is at the limit of a 8 bit controller such as the mega can control while doing other things (if your running a delta even this resolution the refresh rate has to be turned down so it doesn't interfere with machine operations)

your trying to use a 240X320 display ( 76800 pixels) this is 9 time the work for the controller....

I wouldn't even consider trying this on a mega2560

But here is a datasheet for the ILI9341 [cdn-shop.adafruit.com]
thank you sir.
so you dont suggest using this lcd with mega2560?. am i right?

Re: need help to use 2.4" TFT LCD with marlin v2.0

$
0
0
Correct. Use a due or rearm or other 32 bit controllers.

What EEPROM ranges does stock marlin use?

$
0
0
Hello! I am making a custom firmware for better control of running a laser on the 3d printer. I have some values I want to store in the EEPROM, but do not know what ranges are used by stock marlin. can someone help me out here? thanks!

Re: What EEPROM ranges does stock marlin use?

$
0
0
Its somewhat dynamic and open ended. It is different depending on what options you enable in firmware... (Doesn't waste space on features that you don't enable)

You add to the structure and the compiler places it. Take a look at configuration_store.cpp

the first 100 bytes are not used, last I looked. Others have used this area

Re: What EEPROM ranges does stock marlin use?

Re: need help to use 2.4" TFT LCD with marlin v2.0

Re: CNC/Laser Enable

$
0
0
???Arduino Mega/Ramps 1.4 - Re-Arm/Ramps 1.4???
Will those run at higher than 5000mm/min

I use arduino / GRBL
PWM 2W laser to control power out and engraving


I don't understand needing > 5000mm/min unless you
need project done is 10 msec?

:S

Re: CNC/Laser Enable

$
0
0
... 5000mm/min (83mm/s) is not that fast - especially, if you're "hatching" with high resolution 8-)

There are comercial belt-driven laser-cutters, which are "hatching" with up to 45000mm/min (750mm/s)!

Re: need help to use 2.4" TFT LCD with marlin v2.0

$
0
0
Sorry but you clearly have no idea of the extent of what you are asking...

just getting it going is only half the battle, you then have to redesign all the displays to make use of the higher resolution... (presuming it has enough processing power to do it)

Its not like a operating system... where everything just adjusts to a new screen resolution.

Its know about 20x4 character displays (and a few smaller sizes) and 128x64 pixel displays and that about it.

Anything else you have to change everything that talks to the screen to know about the new sizes.
Possibly this will involve designing new graphics to use the higher resolutions,

Is it doable? yes, if you willing to put a months of work into it.

This may change as 32bit controllers become more common. people will push the hardware harder with larger displays

NB In case this is what is confusing you

The touch tft displays you seen on some printers are mostly not directly connected to the printers controller. they are their own display and firmware and controller that send gcodes to and from the main controller to do the various functions.

Re: need help to use 2.4" TFT LCD with marlin v2.0

$
0
0
Quote
Dust
Sorry but you clearly have no idea of the extent of what you are asking...

just getting it going is only half the battle, you then have to redesign all the displays to make use of the higher resolution... (presuming it has enough processing power to do it)

Its not like a operating system... where everything just adjusts to a new screen resolution.

Its know about 20x4 character displays (and a few smaller sizes) and 128x64 pixel displays and that about it.

Anything else you have to change everything that talks to the screen to know about the new sizes.
Possibly this will involve designing new graphics to use the higher resolutions,

Is it doable? yes, if you willing to put a months of work into it.

This may change as 32bit controllers become more common. people will push the hardware harder with larger displays

NB In case this is what is confusing you

The touch tft displays you seen on some printers are mostly not directly connected to the printers controller. they are their own display and firmware and controller that send gcodes to and from the main controller to do the various functions.

Thank you, Dust for your response
Unfortunately for some reasons I had to use what I have. My first option was that TFT LCD, the second one was this 192×64 GLCD, and my last option is a 16×2 character LCD.

babystepping

$
0
0
I tried to setup baby stepping on Marlin 1.1x and getting an error

SENDING:M290 Z0.05
echo:Unknown command: "M290 Z0.05"
SENDING:M290 Z-0.05
echo:Unknown command: "M290 Z-0.05"
'
Has marlin dropped support for baby stepping or is there something more I should be doing.

Re: babystepping

$
0
0
... could be, you have to set a define for babystepping, to enable the M-code ...

Re: babystepping

$
0
0
In Marlin 1.1.X baby stepping is allowed if it is enabled in configuration_adv.h

#define BABYSTEPPING

Re: Z- Probing G28 works but G29 gives Probing failed

$
0
0
Thanks, I already did as you can read in my initial post. Still struggling to get this up and running. I filed an issue on GitHub.

Marlin2 M701/M702 compiler error

$
0
0
Hello fellow printers,

I tried to enable the M701 and M702 gcodes today in config_adv but I get a compiler error that I cannot make sense of. I hope this makes more sense to one of you :)
Please find the error message in the pastebin link and a github link to my marlin2 config files etc.
Thank you very much for your help!
[pastebin.com]
[github.com]

Re: Marlin2 M701/M702 compiler error

$
0
0
You also need to enable #define ADVANCED_PAUSE_FEATURE in Configuration_adv.h

this defines the load and unload lengths etc
Viewing all 12108 articles
Browse latest View live


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