bigtreetech / BTT-TFT35-E3-V3.0

BIGTREETECH TFT35-E3 V3.0 is a medium size, dual-mode, ultra-clear 3D printing machine display launched by the 3D printing team of Shenzhen BIGTREE Technology CO., LTD., which can perfectly replace the original LCD screen of Ender3 printer.
260 stars 64 forks source link

Encoder bug #69

Closed craftyham closed 3 years ago

craftyham commented 3 years ago

I have a E3 mini 1.2 & TFT35 E3 V3, running latest version of Marlin bugfix. I've noticed the encoder can control the selected or last moved axis in motion(move) on the touch screen screen mode, when i returned to the main screen the speed percent was increased. The encoder also increases the speed percentage while on the main screen in touch mode like it should if in Marlin mode.

radek8 commented 3 years ago

This is a known issue. It was solved using cables EXP1 and EXP2. The problem persists when using the EXP3 cable. This is your case.

Many tickets have already been opened on this topic. for example. https://github.com/bigtreetech/BTT-TFT35-E3-V3.0/issues/57

oldman4U commented 3 years ago

Please help the community and close the ticket once you do not need it anymore. Thank you

craftyham commented 3 years ago

This is a known issue. It was solved using cables EXP1 and EXP2. The problem persists when using the EXP3 cable. This is your case.

Many tickets have already been opened on this topic. for example.

57

Thank you for catching me up on the issue. I'll look into in further using the ^57link^

fiveorders commented 3 years ago

I didn't want to open up another thread for the same issue, I am using TFT70 and EXP1 and EXP2 cables connected with the Serial cable. Speed changes with the encoder knob when adjusting other things. I have flashed the nightly build Marlin which has been recommended on the other thread.

Any news about this? If it is not fixed, is it possible to disable the speed alteration feature by the knob? Or is it possible to completely disable the knob on Touch Screen Mode?

oldman4U commented 3 years ago

You can not use the knob in touchscreen mode.

Using EXP1 and 2 with v27 of the touchscreen firmware this issue should be fixed.

Using EXP3 this issue can not be fixed because the hardware does not allow this.

fiveorders commented 3 years ago

I downloaded v27 going to try in an hour after the print job. Is the knob completely being disabled on this new firmware? You need the knob button to switch between modes... Thank you

oldman4U commented 3 years ago

The button should work normally in touchscreen and Marlin mode but does not change speed when used in touchscreen mode. But again, this only works in case your TFT is connected to the mainboard using EXP1 AND 2.

fiveorders commented 3 years ago

Yes I connected EXP1 EXP2 and the Serial for Touchscreen Mode. Many thank you again.

radek8 commented 3 years ago

As oldman4U writes

Marlin (nightly build) provides a write in the pin definition file for your board that deactivates the encoder in touch mode for Marlin. You didn't say what kind of board you have with Marlin, so I can't say that your board has the necessary adjustment in the definition of pins.

PS: You do not only need to switch the encoder to switch modes, but also hold your finger on the display :-)

fiveorders commented 3 years ago

I use the FLYF407ZG. I have successfully installed the v27. Will check this soon. Many thanks, guys.

radek8 commented 3 years ago

Your board has not defined the necessary modification. Add the following line to the pins_FLYF407ZG.h file

if ENABLED (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)

define BTN_ENC_EN PE7 // Detect the presence of the encoder

endif

Sorry for the mistake, corrected

radek8 commented 3 years ago

image

radek8 commented 3 years ago

In Marlin you only need to activate 1 display driver: And this:

define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

fiveorders commented 3 years ago

Will do! Thanks, one question, will the SD card be available both in touch and text mode?

radek8 commented 3 years ago

It depends on the parameter setting in Marlin

define SDCARD_CONNECTION

When setting up (I prefer)

define SDCARD_CONNECTION ONBOARD

Only an onboard SD card will be available in Marlin. Both Onboard and TFT SD cards will be available in touch mode.

define SDCARD_CONNECTION LCD

In both Marlin and touch mode, only the SD card on the TFT will be available.

USB flash drive is always available only in touch mode

fiveorders commented 3 years ago

I have defined #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

but cannot find pins_FLYF407ZG.h on my Marlin repo? Should I download it from somewhere

radek8 commented 3 years ago

image

fiveorders commented 3 years ago

Awesome, thank you, now flashing and trying

fiveorders commented 3 years ago

define SDCARD_CONNECTION LCD

define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

I defined these and got error as below, does not compile

Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2405:4: error: #error "Please select only one LCD controller option."

radek8 commented 3 years ago

And what do you not understand about that mistake? :-) Comment out the other LCD drivers

fiveorders commented 3 years ago

//#define REPRAP_DISCOUNT_SMART_CONTROLLER yes this one:) brain freeze sorry:)

fiveorders commented 3 years ago

Your board has not defined the necessary modification. Add the following line to the pins_FLYF407ZG.h file

if ENABLED (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)

define BTN_ENC_EN PE7 // Detect the presence of the encoder

endif

Sorry for the mistake, corrected

I added the text below to pins_FLYF407ZG.h because I am using 2004 mode. Still, the speed being altered when I am changing Nozzle temp i.e.

if ENABLED (REPRAP_DISCOUNT_SMART_CONTROLLER)

define BTN_ENC_EN PE7 // Detect the presence of the encoder

endif

EXP1 and EXP2 and TFT Serial cables are connected. Marlin Nightly build installed.

Any ideas? Thanks

radek8 commented 3 years ago

I provided the ideas, you didn't follow them ...

radek8 commented 3 years ago

Add the following line to the pins_FLYF407ZG.h file

if ENABLED (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)

define BTN_ENC_EN PE7 // Detect the presence of the encoder

endif

In Marlin you only need to activate 1 display driver: And this:

define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

set in the config.ini file: marlin_type:0

fiveorders commented 3 years ago

So this fix won't work with 2004 LCD mode? It needs to be 12864 mode. Am I correct?

radek8 commented 3 years ago

yes

radek8 commented 3 years ago

Display 2004 - HD47780 uses Pin D7 for communication and therefore cannot be used to turn off the encoder.

fiveorders commented 3 years ago

Probably you are questioning why would someone uses 2004 if there is 12864, there is an explanation for sure. Many thank you for your help. Please send your contact information to venedikli at gmail com and also if you have oldman4u contact information please send that as well. I will add you guys to a list for some perks...πŸ‘

radek8 commented 3 years ago

I don't know what the benefits of LCD 2004 are. If you insist on LCD 2004 and don't need a beeper. Use the driver for LCD 2004 in Marlin. Deactivate sound in Marlin. Use the beeper control pin to turn off the encoder.

repair: Sorry, it won't work. An adjustment would have to be made in the FW of the display ...

radek8 commented 3 years ago

I would have one less comfortable solution, but it allows any display, including LCD 2004. The speed only changes when Marlin is on the status screen and you turn the knob. In Marlin, turn off automatic return to the status screen. After turning on the printer in touch mode, click the knob once. Marlin goes to the menu and stops responding to turning the knob. Now you can turn the knob, but be careful, don't try to click :-) You use the long touch on the display to switch the mode.

fiveorders commented 3 years ago

Okay many thanks, I will consider the previous option without sound. Or stay with the 12864

On 19 Apr 2021, at 07:46, Radek @.***> wrote:

I would have one less comfortable solution, but it allows any display, including LCD 2004. The speed only changes when Marlin is on the status screen and you turn the knob. In Marlin, turn off automatic return to the status screen. After turning on the printer in touch mode, click the knob once. Marlin goes to the menu and stops responding to turning the knob. Now you can turn the knob, but be careful, don't try to click :-) You use the long touch on the display to switch the mode.

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BTT-TFT35-E3-V3.0/issues/69#issuecomment-822215575, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJLKXK4OHYENDD3OIYK4ADTJPGVLANCNFSM4ZWCEMIQ.

oldman4U commented 3 years ago

Or simply use the touchscreen in touchscreen mode and the encoder in Marlin mode.

Or, replace the mainboard😁

Happy printing

fiveorders @.***> schrieb am Mo. 19. Apr. 2021 um 08:48:

Okay many thanks, I will consider the previous option without sound. Or stay with the 12864

On 19 Apr 2021, at 07:46, Radek @.***> wrote:

I would have one less comfortable solution, but it allows any display, including LCD 2004. The speed only changes when Marlin is on the status screen and you turn the knob. In Marlin, turn off automatic return to the status screen. After turning on the printer in touch mode, click the knob once. Marlin goes to the menu and stops responding to turning the knob. Now you can turn the knob, but be careful, don't try to click :-) You use the long touch on the display to switch the mode.

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/bigtreetech/BTT-TFT35-E3-V3.0/issues/69#issuecomment-822215575>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ADJLKXK4OHYENDD3OIYK4ADTJPGVLANCNFSM4ZWCEMIQ .

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BTT-TFT35-E3-V3.0/issues/69#issuecomment-822216478, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZD3HGMHLBBQU4RIZILTJPG33ANCNFSM4ZWCEMIQ .

radek8 commented 3 years ago

@fiveorders Were you successful? Did you manage to deactivate the speed change by turning the knob in touch mode?

fiveorders commented 3 years ago

@radek8 yes many thank you. I moved to 12864 mode for this purpose. However I have a worser situation after upgrading to v27 on TFT70 and Marlin Nightly Build 2.0. I am having little blobs during the print due to very short pauses of the extrduer....

Searched for it and saw that I am not the only one. I think I sadly had to give up on TFT70 and move to 2004 or 12864

fiveorders commented 3 years ago

You guys didn't send us your contact information, did you? @radek8 @oldman4U

radek8 commented 3 years ago

What contact information do you need?

fiveorders commented 3 years ago

What contact information do you need?

your emails... πŸ‘

oldman4U commented 3 years ago

We are available exclusively through this repository πŸ€“πŸ˜œ

fiveorders commented 3 years ago

Alright guys, not for private support, I just wanted to do some favours to you as you helped me a lot here... thanks anyway

oldman4U commented 3 years ago

You are very welcome. radek is the hero in this case. πŸ‘πŸ»