Open poudenes opened 1 month ago
I have a Bigtreetech TFT-35-E3 V3.0.1 touch screen The serial cable is ok. When I check the datasheet of the touchscreen the ribbon cable have same order to add them on the RPi4
The reset part has his own connection so I can leave that one alone.
But first post still there.
@poudenes This will be a debugging task in both hardware and software. TFT35 showing "printer not connected" simply means it is not getting any response from the printer. In this case, it is not getting anything from the "bridge".
The above listed the major things you need to check. If it is still showing "printer not connected", you may want to try the original Python script version instead of Klipper addon: https://oldhui.wordpress.com/2024/01/28/using-btt-tft35-with-klipper-in-touch-mode/
If you are going to try this, undo the "Klipper addon" part. i.e. Remove the tftbridge.py file in the Klipper addon folder. Also remove the "tftbridge" section in your printer.cfg. Then run the Python script version above. Note that in this version, the configuration is set in the early part of the script. If everything is fine, it will print out communication in both directions to the screen.
Hi,
Thanks for the information. Read all the info and only what I added to enabled serial interface with specific pins
/boot/config.txt
# enable serial interface
enable_uart=1
dtoverlay=uart0,txd0_pin=8,rxd0_pin=10
Started the python script and within seconds the TFT screen was running!!
This are the settings I used in the script
tftPort='/dev/ttyS0'
tftBaud=115200
tftTimeout=0
printerPort='/home/poudenes/printer_data/comms/klippy.serial'
printerBaud=115200
It's very unstable. When I put TX to RX and RX to TX and restart Klipper get a 100% overload and hang
Hello,
I had the same trouble and resolved by using the boot/config.txt parameters from @poudenes (with ttyS0 @115200 Bauds on RPI3) and the original python script. If I try to use it as an addon with same settings, it doesn't work. So i made a service from the original script and it seems working.
Thanks both of you!!
Add the tftbridge.py in the /klipper/klippy/extras folder Paste the code
Add the lines:
/dev/
ttyACM0 ttyAMA0
Baut rate corrected in the screen menu
Beside that enabled UART3 to see if this make any difference.
Nothing works.