The open-source grbl project has produced software that allows an Arduino to control a three-axis CNC machine – it is the software within ‘3018’ and related low-cost Chinese-made CNC desktop routers.