Hi Dear. What do I need? Question: Do you have any firmware upgrade for Arduino Nano controller? What file from ArduinoController is liable to create the string "..version." to send to the OpenBuild software in the computer? I am asking this because it seems the1.0.375 version is sending to the controller a string that is not compatible with my ArduinoNano controller and I would like make some tests.. I am not asking for support. Just some tips to help me speed up this solution and any help will be very welcomed. Additional explanation: After upgrading to 1.0.375, the OpenBuilds stop working with my CNC. I did some tests and I can connect perfectly to CNC via Putty and send mannual commands. CNC works fine and It is not a connection issue. My ArduinoNano controller is [VER:1.1h.20190830:CUSTOM] [OPT:V,15,128] Here you have the communication handshake with OpenBuilds to my ArduinoNano controller: Trying to connect via OpenBuilds: Screen of OpenBuilds Serial console: [21:37:01] [ connect ] PORT INFO: Port is now open: COM3 - Attempting to detect Controller... [21:37:01] [ connect ] Attempting to detect Controller (1): (Autoreset) [21:37:02] [ connect ] Attempting to detect Controller (2): (Ctrl+X) [21:37:02] [ connect ] Attempting to detect Controller (3): (others) USB Serial monitoring software: Computer COM3 sending to controller: 0A 18 76 65 72 73 69 6F 6E 0A ..version. USB Serial monitoring software: Computer COM3 reading from controller: <NOTHING - NO RETURN AT ALL> Screen of OpenBuilds Serial console: [21:37:01] [ connect ] PORT INFO: Port is now open: COM3 - Attempting to detect Controller... [21:37:01] [ connect ] Attempting to detect Controller (1): (Autoreset) [21:37:02] [ connect ] Attempting to detect Controller (2): (Ctrl+X) [21:37:02] [ connect ] Attempting to detect Controller (3): (others) [21:37:05] [ connect ] ERROR!: No Response from Controller - See docs:blackbox:faq-usb-connection-failed [OpenBuilds Documentation] for troubleshooting information. Closing port COM3 [21:37:05] [ disconnect ] PORT INFO: Port closed OpenBuilds screen: Serial monitor: ======================================= Connecting via Putty (works like a charm): Putty terminal: Grbl 1.1h ['$' for help] [MSG:'$H'|'$X' to unlock] USB Serial monitoring software: Controller sending to computer COM3: 0D 0A 47 72 62 6C 20 31 2E 31 68 20 5B 27 24 27 ..Grbl 1.1h ['$' 20 66 6F 72 20 68 65 6C 70 5D 0D 0A 5B 4D 53 47 for help]..[MSG 3A 27 24 48 27 7C 27 24 58 27 20 74 6F 20 75 6E :'$H'|'$X' to un 6C 6F 63 6B 5D 0D 0A lock].. Writting $X at Putty terminal: Putty terminal: Grbl 1.1h ['$' for help] [MSG:'$H'|'$X' to unlock] $X USB Serial monitoring software: Computer COM3 sending to controller: 24 58 $X <ENTER> USB Serial monitoring software: Controller sending to computer COM3: 5B 4D 53 47 3A 43 61 75 74 69 6F 6E 3A 20 55 6E [MSG:Caution: Un 6C 6F 63 6B 65 64 5D 0D 0A 6F 6B 0D 0A locked]..ok.. Putty terminal: Grbl 1.1h ['$' for help] [MSG:'$H'|'$X' to unlock] [MSG:Caution: Unlocked] ok <After this point all other grbl commands will work fine> Putty screen: Serial monitor Putty X ArduinoNano controller:
The "version" check is for Smoothieware. It first tries autoreset then soft reset then effectively gives up trying to find a Grbl controller, and checks if its perhaps a old Smoothie (we used those for a while around 2016-7 some customers still have machines with them on so after Grbl we also check if its maybe Smoothie to tell them its no longer supported) See OpenBuilds-CONTROL/index.js at master · OpenBuilds/OpenBuilds-CONTROL
Hi Peter, I really appreciate your help. Your answer provided me with the background I needed to install the development environment, configure VSCode, and debug the software to understand how it works. It felt like solving a jigsaw puzzle! Interestingly, after two days of debugging, my CNC machine started working without any changes to the original software. It might have started working after I installed "Serial Port Monitor 7.0" a few moments ago. I also upgraded to version 1.0.376 after it started working. Thanks for your time and assistance. Below is a screenshot of a working communication with the OpenBuilds-CONTROL software and my CNC. I hope this helps someone.
I do spot a CH340, they arent very good USB chips so that might be part of your intermittent headaches with this cloneduino. If you start running jobs you might find buffer issues, CH340 often reported as troublesome in the Grbl issues on Github CH340 and speed setting · Issue #294 · gnea/grbl for example (there are more) - its not always that good at high bandwidth data compared to FTDI, SiLabs or AT8U2/16U2