Monday, November 23, 2026
GRBL Config on a new Arduino Mega Board
I've been doing all my RepRapMicron work on the same Arduino Mega/RAMPS board. I thought it might be a good idea to program up some new hardware to the same recipe and make sure that works. So, here's a more modern Elegoo Mega clone and RAMPS board under test. Might get away without heatsinks (just as well 'cos it didn't come with any).
Setting the GRBL config was fun. I've saved it here https://github.com/VikOlliver/RepRapMicron/blob/main/pika/GRBL_Values.txt but a settings readout from GRBL can't just be poked back into GRBL. It has a lot of commentary in brackets that needs removing and you can't use an ordinary GCODE upload because setting a config value does not return "OK". Here is my solution. Avert your eyes if bash script offends you. Then again, even if not...
while IFS= read -r line; do
echo $line
printf '%s\n' "$line" > /dev/ttyACM0
sleep 1
done < /tmp/x
