makerbase-mks / MKS-WIFI

MKS TFT WIFI and MKS ROBIN WIFI , share the same firmware. Support MKS Robin series board and MKS TFT series board, for cloud printing and LAN printer controling……
https://www.aliexpress.com/item/32816882694.html?spm=2114.12010615.8148356.1.7bebc9cfK4bWPy
94 stars 38 forks source link

Features

Based on ESP8266 WIFI Module, Makerbase develp more useful function facing to the 3d printing:

Hardware

Mks wifi has two types so far: mks robin wifi and mks tft wifi, actually they are the same eletronic connect with mcu of the host-board, just using different sockets. The wifi module is designed to connect to host-board with the following signals:

For more details, you can refer to :MKS WIFI hardware

Firmware

Release

In the past, mks wifi firmware was released together with mks-robin or mks-tft firmware. In order to facilitate downloading, the wifi firmware version was pulled out separately from V1.0.4.

How to compile

  1. Install the Arduino IDE at the 1.6.8 level or later. Arduino website.
  2. Download the esp8266 core for arduion. As the core we use is based on Duet3D's version, and have little modifation. So using the Esp8266 core official may cause compile errors. Please directly download the esp8266 core on MKS Github to the arduino data path, eg, "C:\Users\xxx\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266".
  3. Open Arduino IDE, open the MKS WIFI project
  4. Config the Tools menu:
    • Tools > select "Generic ESP8266 Module"
    • Tools > Flash Mode > select "DOUT"
    • Tools > Flash Size > select "4M(3M SPIFFS)" other options can be default.
  5. Click the Compile button and wait it finish
  6. If you connect the wifi module to PC, you can use the upload function of Arduino to flash the firmware; if not, you can directly copy the ".bin" file to the sd card, insert to the MKS robin series or TFT series board, it can automatically update the wifi firmware. * Hint: to export the ".bin" file, you can click the Sketch > Export compiled Binary on Arduino, the ".bin" file will be exported to the project directory, remember rename the file to "MksWifi.bin" before copy it to sdcard.

About the communication between the Wifi module and Host MCU

Please refer to the document:https://github.com/makerbase-mks/MKS-WIFI/blob/master/Transfer%20protocal%20%20between%20ESP%20and%20MCU.docx

Compatibility with esp3d ?

Esp3d is a well known wifi project in 3d printing , too. If you are using MKS Robin series or MKS TFT series, mks wifi firmware can make the transfer speed up to 100KBytes/s. If you are using other 2560 series board, Esp3d firmware is more suitable. Esp3d firmware also can runs on MKS WIFI hardware, but, the interface needs to be transferred to the AUX-1.

NEWS

V1.0.4

  1. Optimize the socket communication, realize wireless control and printing using RepetierHost/pronterface etc.
  2. Fix serval bugs.

How to update

Note