-
Notifications
You must be signed in to change notification settings - Fork 194
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
Connection Issues GRBL ESP32 Serial #627
Comments
I never tested GRBL ESP32 with LaserWeb. Can you please post a link to the firmware you are using? The ENV File you posted has .txt at the end. This is wrong. |
Sure, this is the firmware I am using I just saw that I had a typo in my first message that may have made it difficult to understand. I have corrected that The file I attached was called .evn.txt . I re-named it so that I could uplaod it to github as I was not able to upload a .env file extension. The original file that is saved in my C:\Users\USER\AppData\Local\Programs\lw.comm-server is simply named .env , no name , no other extension. Although the "date modified" shows files from 2017, I am running a fresh install of laser web 4.0 Not sure why the files are showing up from 2017 . |
Ok, then it has to be a missing or wrong "welcome string" from the firmware. The backend (lw.comm-server) only accepts known strings to detect the firmware and version. Do you run the Windows EXE or the lw.comm-server from the source code? In case of the lw.comm-server, you could directly edit the config.js file instead of the .env file. To enable "reset on connect" you could just change 0 to 1 at the end of line https://github.com/LaserWeb/lw.comm-server/blob/71b71205b39fb9135e599ce406213e4f65723a09/config.js#L13 And probably you could change the accepted welcome string for GRBL ESP in server.js (around line https://github.com/LaserWeb/lw.comm-server/blob/71b71205b39fb9135e599ce406213e4f65723a09/server.js#L588). |
The start message from the board is: [MSG:Grbl_ESP32 Ver 1.3a Date 20210424] [MSG:Local access point GRBL_ESP started, 192.168.0.1] Grbl 1.3a ['$' for help]
I am running from .exe. I can take a look at running from scource in the next days. |
To run from source you can follow these instructions: This starts the backend with the integrated webserver. The frontend can then be opened with a browser (prefferrably chrome) on localhost:8000. This way you can easily change backend files (like config.js and server.js) while not having to mess around with the frontend. |
After installling Visual Studio and C++ build tools , I now have lw running from scouce now and changed the conf.js file to reset on connect. Looking through the logs, I see a confirmtion of the connection, and what looks like a call to reconect, but no reply to the M115 firmware querry. Oddly I did try testing this borad with other senders ( LaserGRBL ) and it does connect, and gives a firmware version, so I am unable to to see what else it could be. |
It seems that grbl-ESP32 (unlike grbl) does not respond with a welcome string after getting a ctrl-x. Are you sure that COM7 is the right port? If you can tell me the command to get the firmware version from grbl-ESP32, then I can help you to modify the connection procedure. |
That seems to be correct, which means RESET_ON_CONNECT should work. |
Hi, I run into the same problem here.. Did you get it to work? |
Hi, I run into the same problem here too |
I am having a hard time connecting to a fresh install of GRBL ESP32 using a serial connection. I am running the TestDrive configuration to keep testing as standard as possible.
I have seen the issue about adding reconect to the .env file and I have doen this, as well as increase the firmeware detection time to 10 sec. Nevertheless, there is still no connection to the machine, only an error with "firmware not detected, closing port "
I have attached the re-named the .env(.txt) file that I have placed in
C:\Users\USER\AppData\Local\Programs\lw.comm-server
.env.txt
Please can you tell me if there is anything else needed to use this firmware with Laserweb
The text was updated successfully, but these errors were encountered: