luc-github / ESP3D-WEBUI

A Web UI for ESP8266 or ESP32 based boards connected to 3D printers / CNC
GNU General Public License v3.0
762 stars 305 forks source link

[FEATURE REQUEST] Add the option to upload gcode to an external SD card #186

Closed magnificu closed 3 years ago

magnificu commented 3 years ago

It would be great if you can add the option to upload the gcode files to an external SD card that is connected to the main board. From the printer LCD I can select and print from the SD card, but not from the ESP3D WEBUI.

github-actions[bot] commented 3 years ago

Thank your for submiting, please be sure you followed template or your issue may be dismissed.

luc-github commented 3 years ago

which version of ESP3D /WebUI are you using ? which main board is connected the SD ? Printer ? TFT? ESP?

magnificu commented 3 years ago

I am using the latest stable 2.x ESP3D version. Board: BTT SKR2 (Marlin v2.9.1) TFT: BTT TFT50 (BIGTREETECH-TouchScreenFirmware v0.27) ESP: BTT ESP-07S (ESP3D v2.1.1) 3D Printer: Self made (Hypercube)

After refresh of the SD Files in ESP3D WebUI I see: echo: Unknown command: NaN GB If I attache the SD card to the board there is no difference.

luc-github commented 3 years ago

Sorry I still do not understand:

If I attache the SD cart to the board there is no difference.

Where is the SDCard reader connected ? Where is the ESP board connected ?

magnificu commented 3 years ago

The SDCard reader is connected to the TFT The ESP board is connected to the SKR2

Here you can find the user manuals in case they are needed. https://github.com/bigtreetech/SKR-2/tree/master/Hardware https://github.com/bigtreetech/BIGTREETECH-TouchScreenHardware/tree/master/BTT%20TFT50%20V3.0/Hardware

luc-github commented 3 years ago

So there is not way the ESP can get the content of TFT SDCARD, ESP3D can query TFT if it is connected to it not in remote, because even it can send M118 P0 M20 SD:, Marlin will not route the answer of TFT to ESPboard - the answer will only go to Marlin which do not know what to do with this output

if you what to control your TFT SD card the ESP board must be connected to it not to printer board

magnificu commented 3 years ago

Unfortunately I cannot connect the ESP to the TFT. Ok. Thank you for your answer.

luc-github commented 3 years ago

In that case you must connect an SDCARD reader to the printer board and enable support in Marlin - like this it will work also

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.