-
Notifications
You must be signed in to change notification settings - Fork 81
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
bCNC Telnet connection #34
Comments
You are not the first one having an issue using bcnc. It could be that the ESP32 that manages the wifi generates some extra messages that are not accepted by bcnc. On what kind of MCU are you running grbl (an arduino or on another mcu like esp32, STM32)? |
I use a Woopecker CNC board. It's a 8 Bit Atmega, maybe some Arduino clone with integrated stepper drivers. There is also an extension Port with 5v, reset and rx/tx for a external controller. I used this connector for grbl_controller_esp32. grbl_controller_esp32 and bCNC over USB works fine, but maybe not as expected. As soon as i connect bCNC over USB grbl_controller_esp32 restarts. Then I have to select print -> USB and it works fine. I can stop USB and Jog manually and switch back, no issues. So every connect / disconnect triggers a restart of grbl_controller_esp32. Tho only thing not working is the telnet connection. Strange. |
I installed the newest Version (17.05.) and tried again. Sadly without luck. This is the terminal Output from bCNC. I did the following:
bCNC -> grbl_controller_esp32
grbl_controller_esp32 -> bCNC
It looks like the status messages have missing and/or wrongly interpreted characters. Maybe noise? Bu shouldn’t because USB and Nunchuck are working fine. |
Indeed it seems there are some additional characters (carriage return/line feed) and missing char. Can you confirm that you are using the version 1.0.4 from arduino ESP32 espressif (and not the latest 1.0.5 or 1.0.6) because the latest versions of arduino ESP32 have a bug in the way they handle serial (which is used e.g. between the controller and GRBL) |
I can confirm. I am using Arduino IDE: v1.8.14 |
Thanks for the info. |
Hello,
thanks for your great work! I really like the project.
I designed my own PCB, uploaded the newest firmware (12.5.) and installed it on my Woodpecker CNC board.
Manual Jog works, Nunchuck works, Direct USB seems to reset the ESP32 but also works after reboot and Print -> USB
But:
I can’t connect bCNC via telnet (saw your issues on the bCNC project. So I used socket:// like in the readme described).
I can connect, the WiFi logo turns green. Then I switch to print -> telnet and try to jog manually (in bCNC) but nothing happens.
This happens on the release version and also on the current master.
I use the current bCNC installed via Pip on my Mac.
Any ideas why?
The text was updated successfully, but these errors were encountered: