. Creative Commons License english flag french flag

Software


top

Gathering tools and source codes

Bot



First of all, you will need 2 IDE : "Processing" and "Arduino".
Then you will need the source codes for the applet and for the arduino board


1 - You will need to install "Processing" on your computer and compile the Applet source code in Processing


Download Processing IDE from official website
Download Arduino-CNC Applet source code



2 - Then, you will need to install Arduino IDE on your computer and upload the source code to you Arduino board.


Download Arduino IDE from official website
Download Arduino-CNC firmware



top

Applet presentation

Bot



the window is devided in 4 section:
1 - the drawing pannel
2 - the editing buttons
3 - the display console
4 - the execution section




1 - the drawing pannel

This is where the PCB you want to drill will appear. It will also display the image scanner (a red line) and will display the drill path in real time

2 - the editing buttons

Drawing tools, usual pen and ereaser. The "clear" button is useful, it clears the drawing pannel the "shrink" button will shrink all the shape of 1 pixel the "expand" will do the opposite,better try it yourself.
The "Load Image" button will Load the image named "load.bmp" in the "images" images folder where the source codes are. The "Make Line" is very important : it will draw the outline of the image in the drawing pannel. The current version allows the drill to follow a line only.

3 - The display console:

the red characters gives the scanner coordinates. the green ones shows the drill coordinates : it updates live as the drill perforns. Then the mode apears: simulation or production. simulation will run without the arduino connected. it is usefull to test that the drilling process will work before drilling for real. Then the production mode: arduino must be connected or the program will crash. (error unhandled yet) Also, there is the Arduino state: this tells you if the applet and the arduino board are connected with the serial protocol.

4 - the execution section

The load button will load the picture "load.bmp" located int the image folder
The start button. no comment!