I often use a spare Arduino with grbl on it for testing and answering questions about gSender without having to go to my CNC computer. Then along came grblHAL and threw a wrench into things.
I recently discovered that you can use the grblHAL Web Builder to create a grblHAL simulator and connect gSender to that. Build the simulator by selecting Simulator in the Driver field and Linux or Windows in the board field. Didn’t see any Mac option. Using the ‘Generate and download firmware’ button will download ‘firmware.zip’.
I’m on Linux and unzipping firmware.zip gave me two executable files, grblHAL_sim and grblHAL_validor. On Windows I’m guessing they will have .exe added to the name.
These programs are meant to be used from the command line. In order to connect gSender to grblHAL sim it needs to be started with ‘p 23’ as an option. On Linux that’s ‘path_to_executable -p 23’ and I think PowerShell is the same. With cmd it might be something like ‘start path_to_executable /p 23’ but I’m not sure. If you run the simulator without any options you get the equivalent of the Console tab in gSender and you won’t be able to connect gSender to it.
In order to connect gSender to the simulator you need to put your computers local IP address in the Ethernet section of Config in gSender. The ‘ipconfig’ command should work on Windows and ‘ifconfig’ or ‘ip addr show’ on Linux to find your local IP address.
After the simulator is running and your IP address is set up in gSender you should be able to connect with the simulator. It will show up as an Ethernet device.