Home › Forums › The projects hosted on the site › MKS WiFi firmware and BeePrint web interface › Printer not connected (Baudrate Marlin problem on BeePrint MKS WiFi)
Tagged: BeePrint, connection, marilin, MKS WiFi
- This topic has 22 replies, 6 voices, and was last updated 11 months ago by
Renzo Mischianti.
-
AuthorPosts
-
-
30 June 2023 at 00:50 #26412
Hi, I’ve installed a MKS Wifi on my Two Trees printer running Marlin on Robin Nano board.
I’ve loaded Beeprint to my MKS Wifi and it was successful.
I can open the pages, I did setup to my wifi and the interface is working fine.
The problem I have is that when I open the browser it opens a popup at the bottom saying “Printer Connected”, however in all widgets it says “NOT CONNECTED” and every command is disabled.Is there anything that needs to be done in the printer firmware to make it work?
Thanks,
Leonardo -
30 June 2023 at 01:16 #26413
As an additional information, I’ve tried reloading with beeprint 1.5 and mkswifi 1.2, however I still face the same issue.
Thanks.
-
7 July 2023 at 08:31 #26522
Hi Leonardo,
sorry for the late response.
I can’t understand what the problem is, can you check the browser console if there are some messages that can help?
Thanks Renzo -
23 August 2023 at 10:10 #27182
I think I have the same problem. I am connected to web UI but it looks like WIFI-BOARD can not connect to Printer_Board.
I can not control my printer, webUI shows that printers is not connected. It is the same in Cura where it connects plugin to wifi board but it says printer is not connected.
I think that there might be some problem with comunication WIFI >>> PRINTER
I use MARLIN on my printer and I enabled serial port but I dont know what speed / baudrate should I set for this serial port …
#define SERIAL_PORT_2 1
//#define BAUDRATE_2 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE-
28 November 2023 at 10:47 #28461
Beeprint has hardcoded baudrate 115200. I belive we all have the same problem. Beeprint has baudrate 115200 and modern printers have 250000.
To Renzo:
I saw on your github that you don´t have time to code button for changing baudrate, but could you tell us what lines should we change in your code to change the hardcoded baudrate? I can´t code but i would be able to compile and flash new version with 250000 baudrate.
-
-
28 November 2023 at 14:38 #28462
Hi NikoloCZ,
thanks for your clarification. So the only 2 options are 115200 and 250000?
Or are there multiple options??
Bye Renzo-
28 November 2023 at 14:47 #28463
115200 used to be the default option in marlin firmware. They have changed it to 250000 few years ago. Those two are the most prevalent but all the supported baudrates are:
2400
9600
19200
38400
57600
115200
250000
500000
1000000
-
-
28 November 2023 at 15:46 #28465
Ok, but by default, can we consider that 90% of all firmware is 115200 and 250000?
Thanks RM -
28 November 2023 at 15:50 #28466
Yes
-
28 November 2023 at 16:37 #28467
Hi, in my Marlin configuration I’ve set the baudrate to 115200 but my printer is “not connected” according to the widgets, while the blue notification in the bottom-right corner says printer connected. I use Marlin 2.1.x bugifix and the latest version of BeePrint
-
28 November 2023 at 18:09 #28468
And have you defined serial port in marlin?
Also you have to define separate baudrates for the usb and wifi.
Here is more info:
https://marlinfw.org/docs/setting/hardware.html-
28 November 2023 at 18:44 #28471
Yes I did. I tried the ESP3D project firmware and it works with my printer. So I don’t think there’s something wrong with Marlin
-
-
29 November 2023 at 08:42 #28476
Hi build a specified version with Serial at 250000, without any dynamic management, I attach the firmware.
Please give me a feedback.
Bye RenzoAttachments:
You must be logged in to view attached files.-
29 November 2023 at 21:59 #28480
Sorry, but doesn´t work for me.
Beeprint: situation is still the same:“not connected” according to the widgets, while the blue notification in the bottom-right corner says printer connected
Prusaslicer: Could not connect to MKS: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection fail because host has failed to respond (this is a new error).
Cura: Send file to printer failed. Check printer SD card. (also a new error)Now also does not work with the old marlin (ive checked that for a good measure). Errors are the same except for prusaslicer.
Prusaslicer: “Connection to MKS works correctly” but after clicking ok i get: Error uploading to print host: HTTP 409:409 Conflict.
-
-
29 November 2023 at 14:37 #28479
Still “not connected”. Maybe there’s something wrong in my Marlin firmware?
#define SERIAL_PORT 1 #define BAUDRATE 250000 #define SERIAL_PORT_2 3 #define BAUDRATE_2 250000
Other than that I don’t think there’s something else to activate in Marlin I guess, since as I said ESP3D works with those settings. A feature I like about ESP3D is that it shows you the IP address of the printer on its screen, so you don’t have to search it in the router page. If there’s something else I need to do let me know
-
3 December 2023 at 12:34 #28596
Hi all,
I think the problem isn’t only the baud rate, but the communication protocol also.
So It’s more complex work, but if you can find the protocol and generate the key to do the relative request, I can try to generate a version for your 3D printer.Here is the protocol info for MKS
MKS WIFI for Makerbase Robin: communication protocol and Cura plugin – 3Bye Renzo
-
6 December 2023 at 19:50 #28614
Thanks for your reply, but I don’t understand what I have to do, the steps aren’t clear. I don’t understand which software to use and whether I have to send G-code commands (and which) to the printer or not
-
7 December 2023 at 10:57 #28618
Hi,
in this file is the command I send to the printer firmware from MKS WiFi
commands.jsand here is where I was processing the response from the printer
realtimeUpdate.jsIf the Marilin firmware uses a different protocol, the MKS WiFi can’t communicate, so we must change these commands and keywords to enable communication.
Bye Renzo
-
7 December 2023 at 12:17 #28624
But now how do I use those two files? Do I have to send them to the printer or I have to use them in a different way? Do I have to use a specific software? Do I have to use the command prompt or something else? That’s what I don’t understand. Thank you
-
-
11 December 2023 at 16:16 #28637
Hi Carontes,
these 2 files describe the commands sent and received; if you want Beeprint to communicate with Marilin, I think these commands must be changed in the function of the Marilin protocol.
But first of all, you must know the basic usage of NodeJS and its relative programming environment.
Bye Renzo-
17 December 2023 at 23:53 #28836
I guess I can’t use your software on my MKS Robin nano 1.2 since I don’t know how to use NodeJS. Thank you anyway for your help
-
-
26 June 2024 at 17:46 #30868
Hi, Renzo!
Thanks for your havy efforts.
A Doubt: Is there any version with Marlin 2.X protocol compatible?
How Can I buy a coffee for you? -
27 June 2024 at 13:15 #30872
Hi all,
@Nunu00 seems to fix the problem here.BeePrint partially works with Ghost 5 and Marlin
Ask to him for more information, I don’t have Marlin.
Bye Renzo
-
-
AuthorPosts
- You must be logged in to reply to this topic.