makerbase-mks / MKS-Robin-Nano-V3.X

Robin nano V3 is an upgraded version of Robin Nano V2.0. The upgrade changes are quite large, including upgrading the MCU to the M4 core, and adding support for USB disk.
GNU General Public License v3.0
135 stars 63 forks source link

WIFI Support for maril UI Mode ... #4

Open themacboy opened 3 years ago

themacboy commented 3 years ago

Good morning,

I never liked the MKS UI, and sincerelly prefer the Marlin color UI.

Can you add support for wifi on Marlin?

Thanks in advance !>

imatge

acguardia commented 3 years ago

You only enable wifi in configuration_adv.h on cards that already come with the soldered wifi module on the card. In the case of MKS Robin Nano V3, just enable the LVGL UI display in "configuration.h". If you want to use it in another graphical mode and have MKS WIFi module, enable on cconfiguration.h, only: "#define SERIAL_PORT_2" on port 1 and install ESP3D V3 for the MKS card. https://github.com/luc-github/ESP3D/tree/3.0

themacboy commented 3 years ago

You only enable wifi in configuration_adv.h on cards that already come with the soldered wifi module on the card. In the case of MKS Robin Nano V3, just enable the LVGL UI display in "configuration.h". If you want to use it in another graphical mode and have MKS WIFi module, enable on cconfiguration.h, only: "#define SERIAL_PORT_2" on port 1 and install ESP3D V3 for the MKS card. https://github.com/luc-github/ESP3D/tree/3.0

Good morning, I think you have not understood my message.

I know that using the MKS ui the WiFi works, but I don't like this one at all and I don't use them.

For this reason in this thread I am asking you to code the wifi module to work with Marlin ui as well.

acguardia commented 3 years ago

Let me try show you with pics: MKS_WIFI Configuration_h DoNotModify ESP_WiFi

themacboy commented 3 years ago

I don't use LVGL UI. >Then won't work if MKS dint code the support in ordinary Marlin color UI

themacboy commented 3 years ago

Let me show you:

imatge

No LVGL_IU, No wifi ! ;)

acguardia commented 3 years ago

As I said, you can use ESP3D. I'm using Color UI with WIFI Robin Nano AND ESP3D. Marlin_UI

themacboy commented 3 years ago

As I said, you can use ESP3D. I'm using Color UI with WIFI Robin Nano AND ESP3D.

ummm then I miss undertood your message hehehe. Sorry!

Im not skilled on that, then how is suposed I must install ESP3D v3, inside the Mks Marlin fork?

Thanks in advance

trashypopashy commented 3 years ago

Let me try show you with pics: ESP_WiFi

How do You install ESP3d V3 on the MKS WiFi V1.1?

trashypopashy commented 3 years ago

@acguardia Colud You provide a .bin-file, to flash via MKS Robin Nano V3 by renaming it to MksWifi.bin, please? I already made one for my MKS Robin Nano V2, to Use the older ESP3D V2.1, but don't have the time, to redo it for ESP3D V3...

acguardia commented 3 years ago

@acguardia Colud You provide a .bin-file, to flash via MKS Robin Nano V3 by renaming it to MksWifi.bin, please? I already made one for my MKS Robin Nano V2, to Use the older ESP3D V2.1, but don't have the time, to redo it for ESP3D V3...

MksWifi.zip

FabioMC commented 3 years ago

If I load this firmware sent by @acguardia to the wifi module, the MKS-UI will work normally or it just works with Marlin Color UI?

trashypopashy commented 3 years ago

@acguardia Colud You provide a .bin-file, to flash via MKS Robin Nano V3 by renaming it to MksWifi.bin, please? I already made one for my MKS Robin Nano V2, to Use the older ESP3D V2.1, but don't have the time, to redo it for ESP3D V3...

MksWifi.zip

@acguardia Thank You for Your support! I could flash ESP3D V3 with Your file. I can connect to the MKS-Wifi-Module now and can see the ESP3D-V3-Menu.

There is one problem: I can not connect to the printer. Already flashed Marlin another time to the Robin Nano V3 with "#define SERIAL_PORT_2 1" enabled an I also configured the ESD3D-V3 for Marlin with 250000 baud-rate. "Setup wifi" ist shown in the Printers Display, but the ESP3D seems to be unable to communicate with Marlin.

trashypopashy commented 3 years ago

Could someone tell us (FabioMC an me) how it is possible to usw the MKS_WiFi-Module in Color_UI, please? Mine does not comunicate with marlin.

FabioMC commented 3 years ago

@trashypopashy. Updating a little my experience on that. I moved on and upload the WIFI firmware sent by @acguardia. The WIFI communicates by the WEB Interface with the printer and you can perform printer homing, or monitor the temperatures and other stuffs but independent of the UI used, the printer do not communicate with CURA, S3D, Pronterface or any other software that was supposed to communicate with. At the end I upload the original WIFI firmware and I am using the MKS-UI with the hardware which is not my best option since there are lots of menu's and submenu's on Marlin UI that I loose. While @makerbase-mks do not present us a solution I am afraid we will not be able to use the Color-UI.

trashypopashy commented 3 years ago

Thank You for Your fast response. I do not even get the communication between Marlin with Color_UI an @acguardias Wifi-ESP3D-V3 working. Did You configure something special in Marlin?

FabioMC commented 3 years ago

No. Just set the 2nd COM to 1 as you and upload the WIFI.bin into the MKS-WIFI hardware. I did not touch the Wifi options on Config_ADV (all disable). After that I upload the index.html.gz in the module web interface and then it was working with the limitations I mentioned before.

trashypopashy commented 3 years ago

Hm, interesting... I did also not change any other Wifi-options in config_adv...

themacboy commented 3 years ago

@acguardia Colud You provide a .bin-file, to flash via MKS Robin Nano V3 by renaming it to MksWifi.bin, please? I already made one for my MKS Robin Nano V2, to Use the older ESP3D V2.1, but don't have the time, to redo it for ESP3D V3...

MksWifi.zip

Thx mate !

One more question, have you change any pin definition before compile? Thx in advance !

Souls-Reaver commented 3 years ago

Se sabe ya si funciona marlin ui, con el WiFi de serie? Tal y como. Hace con lvgl ui? Por favor actualicen más opciones en lvgl ui o dispongan de WiFi en marlin ui, gracias

trashypopashy commented 2 years ago

@acguardia could You please share more details?

Has anyone got that working with Marlin Color_UI?

themacboy commented 2 years ago

@acguardia could You please share more details?

Has anyone got that working with Marlin Color_UI?

No. Esp3d only transfer files in v.2, but at very slow rate. In the ESP·Dv.3 files transfer was disable due that slow transfer rate.

And MKS currently is not giving other options.

Thats the reason I move to Klipper and raspberry Pi. You can do the same in marlin using a pi + octoprint.

SergioLOS69 commented 1 year ago

@acguardia Colud You provide a .bin-file, to flash via MKS Robin Nano V3 by renaming it to MksWifi.bin, please? I already made one for my MKS Robin Nano V2, to Use the older ESP3D V2.1, but don't have the time, to redo it for ESP3D V3...

MksWifi.zip

I made the changes you suggested ("#define SERIAL_PORT_2" on port 1) and Chose the color UI No modifications on Configuration_adv.h I put on the SD card the new Robin_nano_v3.bin and the MksWifi.bin file. I had the color UI but no wifi. During the firmware flash no "updating wifi model firmware" had been shown. Am I doing something wrong in the process?

trashypopashy commented 1 year ago

You can only update the WiFi-module, if there is a firmware flashed on the Robin-Nano-V3 with LVGL-UI. Just take an old MKS-firmware for this board and flash it, then flash the MksWifi.bin, then flash your new firmware to the board with something else than LVGL-UI.

ilko-k commented 4 months ago

I tried it as described here but with no success. Then, after a bit of thinking, I realized it will not be practicle to me. Because the module will act as a hotspot, it means my PC would have to use wifi as well to connect to it and therefore forget about internet. That is not what I want.