└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Make Arduino XY Plotter Drawing Robot 2 | In this tutorial we will learn how to make Arduino XY Plotter Drawing machine. With Drawing Robot you can draw images on wall, panel or A4 paper. You can print pictures or print text. All required hardware for this project are listed below. We will learn how to install and use the Polargraph program for robot control. Motor drivers - Adafruit's Motoshield v1. A modern classic. It can drive two stepper motors each drawing up to 600mA and has pinouts for a servo too, so is perfect for this project.

3 | **Full tutorial:** https://youtu.be/T0jwdrgVBBc

4 | [![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/T0jwdrgVBBc/0.jpg)](http://www.youtube.com/watch?v=T0jwdrgVBBc)

5 | # Required Hardwares:
6 | - 1x Arduino UNO R3: http://bit.ly/2xt9MVk 7 | - 1x L293D Motor Drive Shield: http://bit.ly/2H7vmy9 8 | - 2x L293D Motor Drive IC: http://bit.ly/2J4N3jD 9 | - 2x 17 Stepper Motor: http://bit.ly/2J0xqhf 10 | - 1x MG90S Servo Motor: http://bit.ly/2JfGtuj 11 | - 1x GT2 Pulley 16 Teeth Set: http://bit.ly/2H9DoXq 12 | - 1x GT2 Rubber Belt (5M): http://bit.ly/2Lfc0tJ 13 | - 3 in 1 Jumper Wire: http://bit.ly/2J6de9E 14 | - 1x 5V >2A Power Supply 15 | # 3D Models:
16 | - Gondola 3D Model: https://www.thingiverse.com/thing:575487 17 | - Stepper Mounting Bracket: https://www.thingiverse.com/thing:2371117 18 | # Motor Shield Upgrade for the High-Torque Stepper Motor:
19 | In this tutorial we will learn how to use a high-torque stepper motor with the L293D motor drive shield. I used a high torque stepper motor with the L293D motor driver, so the L293D integration overheated. The cause is high current requirement. I modified the L293D Motor driver shield to solve this problem.

20 | **Full tutorial:** https://youtu.be/r2uwmEsIuLA

21 | [![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/r2uwmEsIuLA/0.jpg)](http://www.youtube.com/watch?v=r2uwmEsIuLA)

22 | # polargraphcontroller: 23 | Polargraph controller Copyright Sandy Noble 2018.

24 | - Polargraph Server for Arduino UNO and MEGA compatible boards using Adafruit motorshields. 25 | - It works fine in Arduino IDE v1.8.5 https://www.arduino.cc/en/Main/OldSoftwareReleases#previous 26 | - Download the controller by going to the https://github.com/euphy/polargraphcontroller/releases/tag/2017-11-01-20-30 and get the most recent bundle. 27 | - It also contains a folder called polargraph_server_a1. This is the polargraph firmware source code. 28 | - Copy the contents of arduino-source/libraries into your Arduino/libraries/ folder 29 | - Copy arduino-source/polargraph_server_a1 into your Arduino/ folder

30 | You should have created three new folders on your disk:

31 | - Arduino/polargraph_server_a1/ 32 | - Arduino/libraries/Accelstepper/ 33 | - Arduino/libraries/AFMotor/

34 | Start Arduino IDE:

35 | - Go to File->Sketchbook->polargraph_server_a1 36 | - Fourteen files will open up and be displayed as tabs in the IDE. This is the source code of the firmware. 37 | - Press the "verify" button in the toolbar to try and compile it. 38 | - If it compiles, press the "upload" button in the toolbar to upload it. 39 | - Once you do that, you should confirm that it is working properly - use the serial monitor on the board, set to 57600 baud to make sure that it is issuing "READY" every couple of seconds.

40 | # Processing v2.2.1: 41 | - Install Processing 2.2.1: https://processing.org/download/ 42 | - Run Processing, find where your sketchbook folder is: (File->Preferences, sketchbook location). 43 | - Download the latest code bundle: Go to https://github.com/euphy/polargraphcontroller/releases/latest and download the zip file linked to at the bottom of that page - it'll be called something like Polargraph*.zip 44 | - Unzip the code bundle and copy the three code library folders out of Polargraph.2017-11-01\Polargraph 2017-11-01\processing-source\Processing libraries into your C:\Users\xxxx\Documents\Processing\libraries 45 | - Copy the whole polargraphcontroller folder from Polargraph.2017-11-01\Polargraph 2017-11-01\processing-source\ into your Processing sketchbook folder. It'll look like: C:\Users\xxxx\Documents\Processing 46 | - Restart Processing and go file->sketchbook->polargraphcontroller to open the app source code. 47 | - Press the run button in the toolbar to run the sketch. 48 | # Stepper motor and pulley settings (in Polargraph): 49 | - 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. 50 | - 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. 51 | # Check out these platforms for more: 52 | - http://www.polargraph.co.uk/ 53 | - https://www.hackster.io/mertarduino/make-arduino-xy-plotter-drawing-robot-polargraph-b4fe36 54 | - https://www.instructables.com/id/XY-Plotter-Drawing-Robot-Arduino-Polargraph/ 55 | 56 | 57 | 58 | 59 | 60 | --------------------------------------------------------------------------------