MKS_TFT_WIFI - makerbase-mks/MKS-SGEN_L-V2 GitHub Wiki
Description
- If you have MKS TFT24/35/70, you can use MKS TFT WIFI on MKS TFT24/35/70, donโt need to use ESP3D firmware.
- If you don't have MKS TFT24/35/70 and want to use MKS TFT WIFI on MKS SGEN_L V2, you have to change MKS TFT WIFI 's firmware to ESP3D firmware.
- The difference between MKS TFT WIFI firmware and ESP3D firmware
MKS TFT WIFI firmware ESP3D firmware Control By MKS cloud By Web Transfer gcode file Support Support Transfer speed โ120Kb Slower than MKS TFT WIFI Applications Web file transfer + control Web control
How to use ESP3D on MKS TFT WIFI
Preparation
- Download bin file tool and install: flash_download_tool
- Download ESP3D firmware: ESP3D firmware bin file
- Download ESP3D Filesystem: index.html.gz
- One USB to serial port module(like CH340, PL2302 and so on)
- Some Dupont wires
Processing method
-
1.MKS TFT WIFI download mode setting
- WIFI's S1 short circuit
- WIFI's TX connect to USB to serial port module's TX
- WIFI's RX connect to USB to serial port module's RX
- WIFI's GND connect to USB to serial port module's GND
- WIFI's VCC connect to USB to serial port module's 5V
-
2.Run flash_download_tool and setting
- Run flash_download_tool -> Select Developer Mode -> Select ESP8266 DownloadTool
- SPIDownload page settings
-
3.ERASE (Erase the original firmware)
- Click ERASE button, then disconnect and reconnect WIFI's VCC to USB to serial port module's 5V
-
4.START (Download ESP3D WIFI firmware)
- Click START button, then disconnect and reconnect WIFI's VCC to USB to serial port module's 5V
-
5.Connect ESP3D wifi
- Disconnect S1, restart the WIFI module, your phone or laptop can detect ESP3D WIFI
- SSID : ESP3D password : 12345678 Default AP mode
- Use ladtop connect to ESP3D wifi and Upload ESP3D Filesystem index.html.gz
- Setting ESP3D to STA mode and connect to your network
-
6.Connect to motherboard
-
Use Dupont wires connect to SGEN_L V2, But the TX RX line needs to be cross-connected(will be fixed next version)
MKS TFT WIIF MKS SGEN_L V2 VCC connect to 5V GND connect to GND TXD connect to RX3 RXD connect to TX3
-
SGNE_L V2 motherboard firmware settings
- In Configuration.h file
#define SERIAL_PORT -1 #define SERIAL_PORT_2 3 // Use MKS SGEN_L V2 serial3 #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER // can view the IP address in LCD12864
- In C:\Users\Administrator.platformio\packages\framework-arduino-lpc176x\cores\arduino\HardwareSerial.h file
Search :
Change to:} else if (UARTx == LPC_UART3) { // Initialize UART2 pin connect PinCfg.Funcnum = 1; PinCfg.OpenDrain = 0; PinCfg.Pinmode = 0; PinCfg.Pinnum = 0; PinCfg.Portnum = 0; PINSEL_ConfigPin(&PinCfg); PinCfg.Pinnum = 1; PINSEL_ConfigPin(&PinCfg); }
} else if (UARTx == LPC_UART3) { // Initialize UART3 pin connect PinCfg.Funcnum = 3; PinCfg.OpenDrain = 0; PinCfg.Pinmode = 0; PinCfg.Pinnum = 28; PinCfg.Portnum = 4; PINSEL_ConfigPin(&PinCfg); PinCfg.Pinnum = 29; PINSEL_ConfigPin(&PinCfg); }
-
-
7.Connect ESP3D IP
- Control SGEN_L V2 motherboard by Web
- Upload gcode file by Web (The actual test is slow, not recommended)