Wifi disabled when using BTT TFT display
-
I went through the laborious task of setting up the TFT display to work on the Duet Mini5+ only to find that with the display connected, the wifi on the Duet board is disabled. PS I am using the 4 wire serial connection to the RS-232 port on the TFT 3.5 display. (The instructions make no mention at all of which port to connect to on the display, it just assumes you know this already lol. My dumb self was thinking UART ports made more sense)
Also, cannot use the USB drive or the SD slot on the display. So it's really kind of pointless to have the display lol. Can't connect via wifi, can't read from sd or usb connected to the display. Are these known issues or is there something I am missing?
Is this also true when using the PanelDue 5i? I am tempted to go with one of those but if I lose wifi as a result then it's a show stopper.
-
@thetazzbot are you just losing wifi or everything? sounds like you're shorting the 5v rail or are pulling too much current through.
If wired correctly, to io0 on the duet 3 mini and UART on the display then they should work at the same time.
You can print from the sd card in the screen but then you lose some functionality in the firmware see here https://docs.duet3d.com/en/User_manual/RepRapFirmware/RepRapFirmware_overview#printing-over-usb-connection-octoprint-cura-simplify3d-etc
Also, BTT support for RRF is flaky at best with their TFT's. If you want proper support, get a paneldue -
@jay_s_uk WIFI turns off.
Printing from SD card on the display does not work either, nor does the USB as I stated in my post. It only lists the contents of the SD card in the DUET board. When using it with a marlin based printer, you tap on "Print" and it displays three choices, host SD, TFT SD and TFT Udrive but that doesn't happen here (could be a firmware issue with the display but it has the latest)
-
@thetazzbot as I say, BTT don't care for RRF support so if it doesn't work, it's a TFT issue.
And the screen shouldn't cause the wifi to turn off -
@jay_s_uk It's easy to just shift blame to BTT but it's not their fault
https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/pull/2140
Now back to my original problem.
Can you think of a reason the Duet 5 Mini Wifi board's onboard wifi would be disabled when connecting and using a BTT TFT display serial cable?
-
@jay_s_uk i'm not shorting a 5v rail, don't you think that would prevent anything from working?
Regarding this statement
If wired correctly, to io0 on the duet 3 mini and UART on the display then they should work at the same time.
it actually has to be connected to RS232 port on the screen not UART. The documentation on Duet's website makes no mention of this (BTT TFT 3.5 E3_V3). there is rs232 (printer connection), uart3 and uart4. at any rate, I know its correct because it's the only one that works.
I'll continue to test some changes to the code and config because I prefer the screen over the panel due.
-
@thetazzbot said in Wifi disabled when using BTT TFT display:
it actually has to be connected to RS232 port on the screen not UART. The documentation on Duet's website makes no mention of this (BTT TFT 3.5 E3_V3).
Do you really know what you are talking about? A UART is hardware used for serial communications. RS-232 defines signals timing and voltage levels: "Valid signals are either in the range of +3 to +15 volts or the range −3 to −15 volts with respect to the "Common Ground" (GND) pin" (from the linked Wikipedia article).
As these voltages are not common on modern controllers, you’ll have a hard time finding any RS-232 interface today, except of in some industrial equipment. Instead, you get RS-422, RS-485, USB and other serial protocols who differ in voltage levels and timings, but are commonly based on a UART.
As you insist on using a BTT display: there’s a wide variety of displays on the market - don’t expect the Duet team to deliver solutions for all of them. That’s impossible to achieve.
It’s fine to ask questions about existing interfaces (like UARTs), but it’s your own task to adapt a deliberate display to the Duet. I don’t intend to offend you, on the opposite, I invite you to share your findings with the community - that’s how this forum works.
-
@thetazzbot I'm not sure how it's not BTTs fault? It's their display and their firmware which is broken and it's up the them to ensure that any commit they merge doesn't break functionality.
And no, I can't think of any reason when connecting their display using UART breaks the wifi connection. The display communicates exactly the same way as a paneldue. If there was a problem, everyone else would be having it
-
@thetazzbot I assume you have connected the BTT display either to the IO0 port or to the PanelDue connector (these both connect to the same UART). If that is not the case, please tell us how you have connected it.
If you have connected it in this way, I can think of a few reasons why connecting the BTT display might stop the WiFi working:
- The display is loading the 5V supply or the 3.3V supply too much. I don't think that's likely unless you have mis-wired the display.
- The display is sending a M552 or M586 or other command that is turning the WiFi module or the HTTP server off.
- The display is generating a lot of EMI and this is causing the WiFi module to lose connection, or not connect in the first place. If that's the case then moving the WiFi antenna and the display apart may help. Duet3D products are tested for EMI emissions, but Chinese products for the 3D printing market usually are not.
-
@jay_s_uk I suppose they may be sending M552 s0 or M552 s-1 and causing the WiFi to disconnect?
@thetazzbot I'd try connecting to the Duet via USB and running M122 and M552 to see what is happening with the WiFi. I suppose another possibility is that the BTT display is generating interference that is causing the WiFi to disconnect, but who knows. The USB connection should give you a better idea of what is going on.