Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TFT35 LCD v3.0 #1

Open
lucasromeiro opened this issue Jul 9, 2022 · 9 comments
Open

TFT35 LCD v3.0 #1

lucasromeiro opened this issue Jul 9, 2022 · 9 comments

Comments

@lucasromeiro
Copy link

Hello everyone, I hope you are well.
I'm starting in the world of klipper now.
I have a B1 BIQU.
Reading the documentation I saw that the LCD will not work, but yesterday I read somewhere that it would be possible to use the LCD yes. How can I do this? Can you help me?

My BIQU B1 uses SKR v1.4 board and TFT35 LCD v3.0.

Another important question: How fast can my hardware print with klipper? Keeping good quality. I want to print fast!

Thank you for any help.

@lucasromeiro
Copy link
Author

i find this. is the best option? seems too limited: https://github.com/teeminus/NoTouchScreenFirmware

@JoeTodes
Copy link
Owner

Hey thanks for checking this out! I haven't done any work into getting the screen to work as I accidentally fried my pi zero and am waiting for them to come back in stock. Let me know if you get anything working!

In terms of speed, I've been printing with good quality at 100mm/s after tuning input shaper and pressure advance, as well as cranking the acceleration up as high as I could. I'm certain I could push the speeds faster but would need to print at higher temps to get the hotend to extrude fast enough, but then I'd need to retune retraction and pressure advance, which isn't worth it for me at this point. At a certain point, you'd need to upgrade the hotend to something like a E3D Volcano to be able to extrude fast enough, but I'm far from hitting that limit.

Still for aesthetic prints I'd slow way down to around 50mm/s, at least on perimeters, to get really great quality finishes, but for functional parts, going fast means using the parts sooner, even if they aren't perfect.

@lucasromeiro
Copy link
Author

@JoeTodes
How did you burn it gave RPI?
Do I need to be careful about something?
I'm doing your tutorial right now to try to convert my printer and use klipper.
Now I was worried.

@JoeTodes
Copy link
Owner

Oh it was just a silly mistake on my part. I had unplugged the pi to put it in a case that I printed and accidentally plugged the connector back to the wrong pins. It still boots fine and I can connect to it from my computer, but it can't connect itself to the printer anymore, so I suspect I fried the UART pins.

I really should have used a mating pair of connectors instead of a JST connector on the wire but standard pin headers on the pi to avoid this possibility.

@lucasromeiro
Copy link
Author

Oh it was just a silly mistake on my part. I had unplugged the pi to put it in a case that I printed and accidentally plugged the connector back to the wrong pins. It still boots fine and I can connect to it from my computer, but it can't connect itself to the printer anymore, so I suspect I fried the UART pins.

I really should have used a mating pair of connectors instead of a JST connector on the wire but standard pin headers on the pi to avoid this possibility.

oO
I understand =(

Can't you connect it using the usb port on the RPI?

I think this way you can use the LCD screen at the same time.

@lucasromeiro
Copy link
Author

@JoeTodes other sugestion: maybe you can try to use other gpio to configure the UART.

@aee0
Copy link

aee0 commented Sep 18, 2022

@lucasromeiro not sure if you figured it out in the end, but I have the built-in TFT35 working in Marlin mode (i.e. not touch mode) using the following config in my printer.cfg for my B1 with SKR 1.4:

[board_pins]
aliases:
    # EXP1 header
    EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
    EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
    # EXP2 header
    EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
    EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
    # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"

# See the sample-lcd.cfg file for definitions of common LCD displays.

[display]
lcd_type: emulated_st7920
spi_software_miso_pin: EXP2_1
spi_software_mosi_pin: EXP1_3
spi_software_sclk_pin: EXP1_5
en_pin: EXP1_4
#encoder_pins: ^EXP2_3, ^EXP2_5
encoder_pins: ^EXP2_5, ^EXP2_3
click_pin: ^!EXP1_2

To switch to "Marlin" mode on the TFT35, either press and hold the encoder knob or the middle of the screen for a few seconds and it should show you two icons, one for BIQU and one for Marlin. Choose the Marlin one. Next time you restart the firmware, you should get the basic Klipper text-based menu.

Note you may need to get the latest B1 TFT35 firmware from Bigtreetech's GitHub for the B1 as I think there was some firmware fix they had to do for the Klipper integration to work.

@JoeTodes
Copy link
Owner

@aee0 awesome, nice work! I'm still waiting fora replacement Pi Zero 2 W to get back in stock but will try this out as soon as I'm back up and running

@M1k1m40
Copy link

M1k1m40 commented Apr 22, 2023

I checked and it run good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants