An automatic circuit uses several electronic components that are contained on a printed circuit board (PCB), which is a micro (tiny) sized board. As there are more and more holes in the PCB, it becomes increasingly time-consuming to drill them manually with human force. Additionally, accuracy is needed when the drill bit makes contact with the PCB board, which might produce drilling errors due to friction. The goal of this project is to create an autonomous drill using a computer and BCNC software to move it face-to-face. Stepper motors and a DC spindle powered by a PID-firefly-controlled motor drive this machine. Drilling is done using the BCNC program, the drilling process is carried out by entering codes in the form of codes which can later be read by the CNC. By turning the layout into what are known as code codes, the coordinates of the holes that have been made in the layout can be found. PCB designer software is used for the procedure. With each of the ten trials used to test the six axes' accuracy, an error value of 1.2% was recorded. Kp = 54, Ki = 38, and Kd = 0.9 were the constant values acquired from the PID implementation on DC motors.