-
-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using with MKS TFT Wifi - Any Success? #249
Comments
I have a module MKS TFT Wifi but did not have time to study / use it yet because busy with others projects - it is in 2.1 plan list but do not know when I can work on it About your issue, I guess the bin is not enough may be some settings in EEPROM or SPIFFS was corrupted when flashed ESP3D - it is just a guess |
the best would be to dump the whole flash of working Module (not sure about size) and flash the full binary |
That worked! |
I littered your code with LOG command at every ESP_SERIAL_OUT.readBytes command I could find, but nothing I added appeared in the log.txt file - just your stuff. So apparently I haven't a clue where to look.
P.S. those ending with ? appear to be queries to the Wifi module, while those with parameters (%s, %d) appear to be settings from the mks_config.txt being passed to the Wifi Module |
Yes as I suspected after few test MKS use AT commands - to query / set wifi parameters. Need to connect RX/ TX /GND to RX/GND of Serial to USB adapter to visualize the exchange on a Serial Monitor |
I understand ESP3D doesn't understand at+ commands. Does that mean they are not even read by ESP3D? Which part of the code would be receiving data from the LCD firmware? I thought SP_SERIAL_OUT.readBytes would do it. |
Yes |
Well, I got 'something', but it appears the data, parity and/or stop bits don't match. I believe the defaults in serial.begin() are 8N1. So I have no idea what the MKS TFT28 display is expecting:
Hex:
|
Ok I have some time and checked what TFT is requesting:
|
This is the doc for the wifi module |
But my TTF screen seems not communicating well with the WiFi module the TX seems OK but not RX Modules communicated once got connected and right IP, then no more (Only got exception) so hard to continue |
Thanks for the updates! I plan on working on it this weekend and let you know if I make any progress or not. |
Hi any update on this ? |
My MKS TFT seems not well communicate and no update for a while |
I have ordered a new MKS TFT a v4 this time,I hope this time it will work |
@Valcob interresting what FW version do you have and what settings for wifi ? connector Aux1
connector WiFI
Connector SD
Can you clarify which TX/RX you mentioned ? Thank you MKS WIFI TFT V1.0
MKS HLK-WIFI V1.1
|
@luc-github |
Ok - will enable WiFi and see if it is better than my previous board MKS TFT32_L V2.0 which did not communicated well |
can you please share your config for tft ?
|
But I cannot do any telnet action, I have tried different port and connection failed |
So I am not sure using wifi bridge is working or need additional setting |
also can you share what wifi binary you are using I cant get a normal output(M105) for some reason ( |
I use the one present in https://github.com/makerbase-mks/MKS-TFT |
Version 3.03, the latest |
Looks like they build a cura plugin. Will check it https://github.com/makerbase-mks/Software/blob/master/MKS%20Plugin/MKS%20Plugin3.5↑.rar |
Also be noted MKS TFT wifi need 5V and it is 4MB flash |
@luc-github MKS TFT Firmware is also open source now, so mabye it is possible to remove the part who Block the WiFi :-) |
I know but because they ignored me when I contacted them to make ESP3D compatible I won't spend time on this when there is already a working Firmware, also there is a disclaimer about ESP3D on their github (https://github.com/makerbase-mks/MKS-WIFI) so I don't think they will take any PR to change things If you look at the TFT github there are no instructions how to build the FW so they give the sources not the toolchain/process to build the FW |
I know, they have been hard to work with, asked them a couple of things about some boards, and like you they just ignored me... But in the last Month they have answered me about stuff I asked :-) And why not just use BBT firmware now that it is working ;-) |
there is a big work to make btt mks compatible with all mks tft so I guess they try to retain people moving to BTT FW as they will loose service income linked to their FW |
The only reason I wanted to use this module is only because I had it. I also have a TFT32 coming in and wanted to add ESP3D to it. Mind, you, if I add it to the Fystec Cheetah then this becomes redundant and I can completely forget about MKS Module. I just like it's form factor and it being basically ready to go without adding hardware. I think the key to get it adopted by regular users is to make it as easy to install as possible. |
I have one too I use it with tft mks 32 flashed with btt fw |
I blew the voltage regulator on mine so I need to replace it. I may have also blown the ESP itself, it was getting 4.1V after "the incident". I guess I will know when I install a new 5V regulator. After I removed voltage regulator I bridged the in and out to use with 3.3v but unfortunately that did not work. I think it was because the all the line levels were designed to work with 5V. |
So you say that MKS WIFI works together with MKS TFT if both are flashed with BTT firmware? And is this more capable then the original MKS WIFI implementation? |
mks wifi 1.0 + ESP3D and today I have pushed a PR to BTT github to add support in ESP3D of TFT Sd and TFT usb |
Could you please define full control? Full control with the ESP3D webinterface like the panucatt device I have here, correct? But the SD wifi upload is still snail speed? |
yes same but sd upload speed |
Thanks for your reply, but the absence of punctuation marks leaves room for interpretation ;) |
as wrote same but sd upload speed |
If I undestand I can control the printer with ESP3D on my MKS WIFI with BTT firmware on the MKS TFT, but until BTT upgrade de firmware I can't upload files to SD or USB, Am I correct?? |
@davidm2m official BTT repository (https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware) has already merged my PR so latest git version is ready to be used with limitation of you mention : Be noted the repository only support MKS TFT32 V4, for older/other version of MKS TFT you need to use this repository https://github.com/Uz45/BIGTREETECH-TouchScreenFirmware - @Uz45 do a great job maintaining and sync with BTT original BTT FW do not block any command unlike MKS one ,so yes full ESPD support |
Thanks. I build the BTT firmware (on MKS TFT28 v4.0 is the same as TFT32) without problems and 0 problems to comunicate with ESP8266 (MKS TFT wifi). As you (@luc-github) indicates I can see everything and control it. My last questions if is it possible to open a request (I don't know program) to BTT make changes in the firmware to be able to upload gcode archives. |
@davidm2m I do not see any issue for this - let see what will happen ^_^ |
Can somone give me a .bin-file for the MKS Robin Wifi with ESP3D? I want to upload it via SD-Card inserted into the MKS-Robin-Nano-V1.2, as slm4996 said, it would work. I am not able to compile it with Adruino IDE. |
@slm4996 Do You have the .bin-file for me? |
will this work with the MKS ESP12S wifi module on the MKS robin nano board with TFT35 V1.0 screen? this board uses a *.bin file to update firmware. |
I do not have this board: MKS robin nano board so I cannot say for sure but I suspect the esp board is just connected using serial connection so it should work as any esp8266 connected by serial |
thank you luc-github. i am moving from duet and coding for marlin and MKS is very confusing for me. i am also not a coder. right now, i have a factory MKS board i want to set up for my Delta Kossel mini. do i go here https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware. follow the instructions to copy the TFT35 folder and BIGTREE_TFT*_V*...bin file over to my SD card. insert into my board to update it? still though, how do I set up delta configuration? i was look at https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/blob/master/Copy%20to%20SD%20Card%20root%20directory%20to%20update%20-%20Unified%20Menu%20Material%20theme/config.ini or just any config.ini files and I do not see any options to set machine settings (corexy,cartesian,delta,scara, etc). and also where would I have to go to enter the ssID and PW for my home wifi network? |
is it MKS TFT ? or BTT TFT? For serial and machine configuration questions you better go to Marlin Forum, you will get better support |
this is a MKS TFT. i think i understand a little more now. either way for machine config, i'll have to compile marlin and build for the MKS robin nano. i was plan on putting ESP3D but I thought BTT FW was the only thing that worked. is there a working ESP3D for MKS TFT? i see you mention something like that above "mks wifi 1.0 + ESP3D and today I have pushed a PR to BTT github to add support in ESP3D of TFT Sd and TFT usb" |
in your case the esp is connected to printer board not TFT, or I misunderstood ? so what ever the FW on TFT it won't affect the esp board itself because it is connected to printer board |
that's correct, the esp is connected to the board, not the TFT. |
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. |
Issue #206 was closed back in March concerning using the MKS TFT Wifi board with this ESP3D firmware.
I also have the MKS TFT28 display board and the MKS TFT Wifi board, and the default closed-source firmware from MKS is very limited. So I'd like to see if this could work.
And so was wondering if you'd made any progress on this and/or if there was anything I could do to help.
Thanks!
P.S. As a side note, I updated the MKS TFT WIFI board with the ESP3D firmware, but now I cannot go back. I don't know why, but while I can load the original MksWifi.bin file and set the mks_config.txt file on the SD card to update, and it does appear to update, the MKS TFT WIFI board will not switch out of AP mode no matter what I try. Thoughts?
Thanks!
The text was updated successfully, but these errors were encountered: