Main Content

How to make XY Plotter Drawing machine. With Drawing Robot you can draw images on wall, panel or paper.

In this tutorial we will learn how to make XY Plotter Drawing machine. With Drawing Robot you can draw images on wall, panel or A4 paper. You can print pictures or print text. Also we will learn how to install and use the Polargraph program for robot control.

3D Models
- Gondola 3D Model - https://www.thingiverse.com/thing:575487
- Stepper Mounting Bracket - https://www.thingiverse.com/thing:2371117
Machine (Drawing Area) Dimensions
- Remember that your machine size is NOT the same as your surface siz.
- Your PAGE or drawing AREA size will be smaller.
- Machine Width:
This is the distance between two closest points on the sprockets (between two pulleys).

- Machine Height:
This is the distance from the sprocket axis to bottom of your drawing (board) area.

- Home Point:
This is a magic point marked on the centerline, exactly 120mm (12cm) down from the top edge of your machine.

- Keep the dimensions of your machine. We will use these values in the software section.

Define first settings - Machine dimensions (in Polargraph)
- Open Processing. Then open polargraphcontroller (file -> sketchbook -> polargraphcontroller)
- Run the program by pressing the Run button.
- Enter the Setup section from the tool bar.
- Adjust the size between two pulleys on the Machine Width
- Adjust the Machine Height (height between the pulleyand the end of the panel)
- After machine dimensions, adjust the size the area you will draw. (If ou will draw on an A4 paper, set the A4 size.)
- Then, first clicthe Center Page and then set the Page Pos Y value 120.
- Secondly click Center Home Point and set Home Pos Y value 120.

Stepper motor and pulley settings (in Polargraph)
- Set the MM Per Rev value according to the pulley and belt you are using. For example, if the belt is GT2 the lue is 2mm. If the pulley has 16 teeth, 2x16 = 32mm. So, the belt will advance 2mm each turn.
- Adjust Steps Per Rev according to the stepper motor type. For example, if te step angle of the used stepper motor is 1.8 degrees the value is 200 steps. This value is adjust to 400 because dual motor is used.

Servo motor (Pen) settings (in Polargraph)
- Pen Up Position and Pen Down Position values are the operating angle of the servo motor.
- Click Serial Port and select Arduino’s port from the list of connected devices.
- When the correct port is selected, the ‘No Serial Connection’ display will turn GREEN and the port number to which it is CONNECTED will be displayed.
- Click on ‘Command Queue’ and command transmission is activated.
- Click Upload Lift Range, then click Test Lift Range and test the servo motor angle.

Last Settings - Upload vector image and start the print
- Save your setting. Load your setting every time you turn on the program.
- Click the Input tab and switch to the main screen of the program.
- Then we will anually set the gondola for ‘Set Home’ manually. Move the gondola by manually and move it to the previously defined home point. The gondola must be adjusted this way before each drawing before clicking ‘Set Home’.
- After this adjustment is done, Set Home and Set Pen Position are clicked.
- Click Set Area to specify your drawing are. Then click Set Frame to Area to make all necessary settings for drawing.

Draw Vector
- Find any vector drawing image. Convert image to the SVG format from any converter platform.
- After select Load Vector from program. Adjust image size with Resize Vector. Move the image to the desired area with Move Vector. Then adjust the area to be printed with Select Area and Set Frame to Area.
- Finally, click the Draw Vector command to start the machine.”

Link to article