Motor control using arduino for 3D printed motor