Introduction: Art Meets Technology: Create a CNC DrawingBot Using Arduino!

Greetings to the creative and technology-passionate community! My name is Alex and I study at the Irabia-izaga school in Pamplona (Spain). It is a pleasure to share with you my project: "Exploring the Fusion between Art and Technology: Build a CNC Drawing Machine with Arduino." As a student, I am excited to present this unique fusion of technical precision and artistic expression.


This project stems from my deep interest in CNC machines and drawing. In this Instructable, I'll walk you through the steps to build an Arduino-powered CNC Drawing Machine, highlighting the synergy between artistic design and computer numerical control technology.


An essential tool in my creative process, Fusion 360 has allowed every aspect of the design to be visualized and refined, adding an additional layer of precision and efficiency to the project.


CNC machines and automated processes have always caught my attention. In the context of CNC machines, such as milling machines or laser cutters, a set of numerical codes is used to control the movement and actions of the tool. This allows the creation of parts and products with high precision and repeatability.

I have decided to embark on this project using Arduino. It is an open source hardware platform designed to simplify prototyping of electronic projects. It consists of circuit boards with microcontrollers and an integrated development environment (IDE) that simplifies programming. Arduino is commonly used for interactive and automation projects. In the context of the mentioned project, Arduino is used to control and coordinate the movements of the CNC drawing machine.


In the project, Arduino is used to control the movement of stepper motors, the position of the pen, and other aspects of the system. The interaction between the GRBL software (which interprets G-code used in CNC machines) and Arduino allows for the conversion of digital designs into physical drawings with precision. This demonstrates how the combination of CNC and Arduino can provide a versatile platform for automation and artistic creation.


Whether you are a student eager to learn, a DIY enthusiast, or simply someone curious to discover how art and technology can coexist, I invite you to immerse yourself in this exciting project. Join me as we explore together the fascinating intersection of "Exploring the Fusion between Art and Technology."

Supplies

Components:

  1. 8 x15 x 45mm Linear Bearing (x2)
  2. 8 x 15 x 25mm Linear Bearing (x1)
  3. 12v Nema 17 stepper motors (x2)
  4. GT2 Timing belt and pulleys
  5. Micro servo (x1)
  6. Arduino Uno (x1)
  7. Nuts, bolts, and screws (See list below)
  8. Stepper drivers - TMC2208 (x2)
  9. Contact switch (x2)
  10. Arduino CNC Shield (x1)
  11. 30mm 5V Fan (x1)
  12. 8mm Chromed Steel Rod (35cm x2 & 5.5cm x1)
  13. 30cm long linear rail with block (x1)
  14. Electrical wire
  15. 12v power supply - 2A (x1)
  16. 6mm Idler Wheel - 3mm Bore (1)
  17. Wooden panel (at least 36x42cm)
  18. Barrel connector
  19. Dupont connectors

Nuts, Bolts, and Screws:

  • M5 x 25mm (x2)
  • M3 x 18 (x3)
  • M3 x 12 (x2)
  • M3 x 10 (x3)
  • M3 x 6 (x14)
  • M3 nuts (x9)
  • M5 nut (x1)
  • Short wood screws (x8)

Software:

  1. Arduino IDE:
  • Use the Arduino IDE for programming your Elegoo Arduino Uno.
  1. Grbl Firmware:
  • Flash your Arduino Uno with Grbl firmware to enable it to interpret G-code commands.
  1. Universal G-code Sender (UGS):
  • Use Universal G-code Sender to send G-code commands to your CNC machine.
  1. Fusion 360:
  • Download and install Fusion 360 for designing your CNC parts. Fusion 360 is a powerful CAD/CAM tool.
  1. Inkscape (Optional):
  • If you plan to convert images to G-code for engraving, you can use Inkscape.
  1. Arduino CNC Shield Software:
  • Depending on the CNC shield you're using, check if there's any specific software or firmware required. Some shields may have custom software.
  1. TMC2208 Stepper Motor Driver Configuration Tool:
  • Configure your TMC2208 stepper motor drivers using the tool provided by the manufacturer or a tool like TMC2208Config.

Ensure that you have the latest versions of the software, and follow the respective installation and configuration instructions for each tool. Additionally, make sure to check for any updates or community-supported enhancements related to your CNC machine setup. Good luck with your CNC Drawing Machine project!

Step 1: Mastering Precision With Fusion 360: the Engine Behind CNC Drawing Machine Design

In the realm of creating intricate and precise designs for your CNC Drawing Machine, Fusion 360 emerges as an indispensable tool. Fusion 360 is not just a CAD (Computer-Aided Design) software; it's a comprehensive solution that seamlessly integrates CAD, CAM (Computer-Aided Manufacturing), and CAE (Computer-Aided Engineering) functionalities into one powerful platform.


Role of Fusion 360:


  •    Design Precision:

   Fusion 360 provides a robust environment for designing 3D models with precision. Whether you're crafting intricate parts or visualizing the entire CNC Drawing Machine, Fusion 360 empowers you to bring your ideas to life with accuracy.


  •    Parametric Modeling:

   The parametric modeling capability of Fusion 360 allows you to create designs that are easily modifiable. This means you can make changes to one part of your design, and Fusion 360 will automatically update all related components, ensuring consistency and saving valuable time.


  •    Assemblies and Motion Studies:

   Assembling complex mechanisms becomes a breeze with Fusion 360. You can simulate and analyze the movement of parts, ensuring that every component fits seamlessly into the overall design. This feature is invaluable when designing machines with moving parts like a CNC Drawing Machine.


  •    CAM Functionality:

   Fusion 360 extends beyond design into the realm of manufacturing with its CAM functionality. This allows you to generate toolpaths for machining, making it an ideal tool for creating CNC programs directly from your 3D models.


  •    Cloud Collaboration:

   Fusion 360's cloud-based nature facilitates seamless collaboration. Multiple team members can work on a project simultaneously, and changes are instantly reflected for everyone involved. This ensures that your CNC Drawing Machine project benefits from collective expertise.


Importance of Fusion 360:


  •    Holistic Design and Manufacturing:

   Fusion 360 unifies the design and manufacturing processes, offering a holistic approach to product development. This integration is particularly crucial when working on projects like the CNC Drawing Machine, where precision and seamless collaboration are paramount.


  •    Efficiency and Time Savings:

   The parametric modeling and real-time updates in Fusion 360 significantly reduce the time spent on design modifications. This efficiency is crucial for iterative processes, enabling you to refine your CNC Drawing Machine design quickly.


  •    Access to Industry-Grade Tools:

   Fusion 360 provides access to professional-grade tools that were traditionally available only to large corporations. As a student or hobbyist, having these tools at your fingertips is invaluable for elevating the quality and sophistication of your projects.


  •   Learning and Community Support:

   Fusion 360 offers a vast array of learning resources, from tutorials within the software to a thriving online community. As you delve into the intricacies of your CNC Drawing Machine project, Fusion 360's learning resources and supportive community will be your guides.


In conclusion, Fusion 360 serves as the backbone for realizing the CNC Drawing Machine project, offering a comprehensive suite of tools for design, simulation, and manufacturing. Embrace the power of Fusion 360 to turn your concepts into precision-engineered reality.


--After making the designs we move on to the 3D printing process of the pieces that we are going to use--

Step 2: X Axis - Fitting Idler

Thread the bolt through the opening from outside the print, through the centre of the idler and secure with the bolt at the other end. This needs to be firm but not so tight so as to deform the print.

Step 3: X Axis - Add Linear Rail and Fit to Base Board

Position the linear rail snugly between the two 3D printed bases, ensuring that it securely fits into the notches provided on both pieces. Utilize bolts and screws through the designated holes at each end to firmly secure the rail in place.


Check for any cable ties that may be present along the rail upon arrival; these can now be safely removed. Cable ties are commonly included to prevent the sliding block from accidentally sliding off the end of the rod, preventing any mishaps with the ball bearings.


Now, place the rail and the two attached 3D printed components onto the base board. Align the end with the idler wheel to the left side edge of the board, ensuring that the front of the print is positioned at least 28cm from the bottom of the board. Use wood screws to firmly attach the assembly to the board, securing it in place.

Step 4: Fit the Raft

Gently slide the raft over the metal block situated on the linear rail, making sure it aligns properly. Secure it in place using the bolts through the three holes indicated in the image above. Tighten the bolts firmly, but exercise caution not to over-tighten, as this could potentially cause damage to either the printed part or the rail block.

Step 5: Stepper Motor and Timing Belt

For this stage, gather the following components:


- NEMA 17 stepper motor

- GT2 Pulley

- M3 x 6 bolt (x4)

- 80cm length of GT2 timing belt


Position the motor on the outer side of the 3D printed bracket already affixed to the base board. Orient the stepper motor so that its wires extend away from the linear rail. This ensures that the electronics wires won't interfere with the machine's operation during future drawing projects.


Attach the timing pulley to the stepper motor shaft, but refrain from tightening the grub screw just yet.


Now, take the 80cm length of timing belt. Curl one end of the belt's toothed side back around itself, interlocking the teeth. Insert this loop into one of the hoops on the underside of the raft by pushing the loop around the pin. Use a flat-headed screwdriver or the tip of pliers to push the belt further into this recess.


Guide the belt over the idler and loop it back around underneath it. Continue towards the toothed pulley on the stepper motor. Pass the belt around this pulley and head back towards the raft. Again, create a loop with the end of the belt and attach it to the other side of the raft. This time, you'll need to keep the belt under tension as you insert it.


To check if the belt has the ideal tension, manually rotate the stepper pulley back and forth. Ensure that the raft changes direction without hesitation. If there's slack in the belt when changing direction, indicating a need for tension adjustment, reseat one side of the belt, adding more tension. If it's too challenging to turn by hand, consider loosening the belt tension slightly.


Once you're satisfied with the tension, manually slide the raft back and forth a few times before fixing the grub screw on the side of the pulley against the flat side of the stepper motor's shaft.

Step 6: Outfitting the Raft - Adding Idler Wheel and Stepper Motor

Prepare for the next steps by having the following items on hand:

  • Idler Wheel (3mm internal diameter)
  • M3 x 8 bolt (x1)
  • NEMA 17 stepper motor
  • M3 x 10 bolts (x3)

Secure the idler wheel by threading the bolt.

Install the motor from the underside of the raft, making sure that its wires extend from the stepper motor toward the small arm on the side of the 3D print. This arrangement will be utilized for cable management later. Secure the motor using three M3 x 10 bolts.

Next, attach the toothed pulley to the motor shaft in a way that it sits flush with the tip of the shaft. Tighten both grub screws, ensuring that at least one of them is tightened against the flat side of the shaft.

Step 7: Outfitting the Raft - Fitting Linear Bearings

To complete this step, ensure you have the following:

  • 45mm linear bearings with 8mm internal diameter (x2)

Push the two linear bearings into their designated recesses. Depending on the tolerances of your 3D printed parts, some intentional pressure may be required.

Step 8: Contact Switches

To proceed with this step, gather the following:


- Some lengths of electrical wire

- Contact switches (x2)


Follow these instructions for the contact switches:


1. Solder a pair of wires to the Normally Open (NO) and Common (C) terminals of the contact switches.


2. If your switches are not labeled, use a multimeter for identification. Set the multimeter to continuity test and connect its leads to two legs on the contact switch. You should observe a change in value (and, in most multimeters, hear an audible tone) when you press the contact switch. This indicates a suitable pair of legs for connecting your wires. If not, try another pair of legs.


3. Solder your 55cm wires to the identified legs on one contact switch. Repeat this process for the other contact switch, but this time attach a pair of 60cm long wires.


This step prepares the contact switches with the necessary wires for the upcoming assembly.


  1. Thread the wires (55cm long) from the contact switch through the opening next to the stepper motor. Pull the wires all the way through and secure the contact switch in place using hot melt glue, ensuring it doesn't interfere with the switch's operation.
  2. Glue the other contact switch under the platform, facing towards the idle end of the X axis as shown in the images. Make sure the glue doesn't disrupt the switch's operation.
  3. Verify the functionality of the second switch by gently moving the platform towards the X-axis idle end. You should hear a click as the switch makes contact at the end of its travel and releases when moved backward.
  4. Pass the wire from the second switch around the stepper motor and up between the 3D printed arm from the platform and the rest of the platform. Secure the wires from the stepper motor behind the same arm.
  5. For neatness, use insulation tape or a similar material to bundle the wires from the two contact switches and the stepper motor together along their length.


Step 9: Y Axis - (1)

To begin the assembly, you'll need:

  • M3 Nuts (x2)
  • M3 x 6 Bolts (x2)
  • 35cm Chromed Rods - 8mm diameter (x2)

Follow these steps:

  1. Insert two M3 nuts and two M3x6 bolts into the end of the Y-Servo-Housing printed part. Thread the bolts in enough to hold onto the nuts but don't fully tighten them at this point.
  2. Take the two metal rods and insert them into their respective holes, ensuring they are pushed all the way in. Firmly tighten the bolts to grip the rods, being careful not to over-tighten and potentially damage the printed part. Check the strength of the grip by gently attempting to pull the printed part away from the rods.
  3. Insert the two steel rods into the linear bearings on the platform. Take care to insert them as straight as possible to avoid dislodging any ball bearings inside, which could reduce their effectiveness.
  4. Slide this assembly all the way in. When the printed part meets the platform, you should hear a click as it engages the contact switch.


Step 10: Y Axis - (2)

For this stage, you'll need the following:

  • M3 Nut (x3)
  • M3 x 6 Bolt (x3)
  • 25mm long linear bearing (x1)

Follow these steps:

  1. Slide the linear bearing into its cylindrical recess in the 3D printed assembly. Push it in as far as it goes, making sure it finishes flush with the printed part.
  2. Add two M3 nuts into the slots, followed by the M3 x 6 bolts from above, preparing to grip the rods as done in the previous step.
  3. Additionally, insert an M3x6 bolt and nut into the top back of the pen slider, as indicated by the arrow in the 5th image above. This is necessary for the next step in the assembly process.


Step 11: Y Axis - (2)

To assemble these parts, you will need:


- 55mm length of 8mm chromed steel rod


Follow these steps:


1. Take the end with the nut and bolt that was added earlier and position it over the slot in the other printed part. Gently and firmly encourage the base of the print around the chamfered corner at the bottom of the print. Refer to the images for a clearer demonstration.


2. Insert the 55mm chromed rod from below. Push it all the way into its recess at the top and then secure the bolt to hold it firmly in place.


3. Ensure that the assembly can now slide up and down freely. If there is some friction, reduce it by separating the two printed parts and rubbing some fine grit sandpaper over the points of friction.


Step 12: Y Axis - (3)

Now, follow these steps to continue the assembly:


1. Glue an M3 x 18 bolt inside each of the two 3D printed finger dials. Allow the glue to set.


2. Once the glue has set, add the finger dials to the assembly by inserting an M3 nut into the holes at the top and bottom of the pen slider. These nuts are held in place by the bolts, which now have finger grip dials attached to them.


3. Add this sub-assembly to the main assembly by fitting it to the other ends of the two main rods. Tighten the bolts as you did at the other end of this axis.


This step integrates the finger dials into the assembly, contributing to the functionality of the drawing machine.

Step 13: Y Axis - (4)

You'll require:

  • GT2 timing belt, 50cm length
  • Idle pulley with 5mm internal diameter
  • M5 x 25 bolt (x1)

Fasten one end of the 50cm long timing belt to the upper part of the pen holder, making sure that the smooth side is attached to the print.

Install the remaining idle pulley on this end of the Y axis by passing the bolt through one of the extensions on the top of the assembly, then through the idler, and finally out through the other side. The belt can then be threaded over the top of the idler, leaving it ready for connection at a later stage.

Step 14: Connect Y Axis to Its Stepper Motor

Gather the following:


- GT2 timing belt, 60cm long, 6mm wide (x1)


Follow these steps:


1. Begin with one end of the belt. Similar to the X axis, create a small loop so that the teeth at one end interlock. Place this loop around the V-shaped pin located on the top of the Y Axis assembly.


2. Take the other end of the belt and guide it under the bridge on the main platform. Wrap it around the pulley of the stepper motor in an anticlockwise direction.


3. Continue the belt's path under the tunnel and then make a 180-degree turn around the idler wheel.


4. Now, direct the end of the timing belt toward the unconnected end of the Y axis. Create another loop on the end by folding the toothed side of the belt back on itself. Pass this loop around the pin on the top of the printed part.


5. Pay attention to the tension of the belt. Use your fingers to turn the stepper motor pulley in both directions. It should be relatively easy to turn by hand. If it feels too tight or there's a noticeable delay when changing direction, the belt may be too loose.


6. Don't worry too much at this stage; adjustments can be made later in the project if needed.

Step 15: Completing the Z Axis

To complete the Z axis assembly, gather the following:


- Mini servo (x1)

- Electrical wire

- 3D printed 'servo arm'


Follow these steps:


1. Cut off the plastic connector at the end of the servo cable.


2. Solder three new lengths of wire onto the existing servo wires, extending each wire to a total length of 55cm.


3. Wrap insulation tape or heat shrink tubing around the solder joints to reinforce them against short circuits or breakage caused by the CNC machine's movements.


4. Attach the 3D printed servo arm onto the servo by firmly pushing it onto the servo's cog. To ensure it is at the correct angle, hold the servo with the wire exiting from the top. Slowly turn it clockwise until you feel some resistance. Remove the arm from the servo cog and reattach it so that the arm is positioned at the 5-minute mark.


5. Lower the servo into position at one end of the Y axis. This completes the work on the Z axis.

Step 16: Connecting the Servo to the Pen Slider

To link the pen slider with the belt and servo arm, follow these steps:


1. **Manage the Belt:**

  - Take the belt connected to the pen slider and ensure it passes over the top of the idler wheel.


2. **Insert Between Servo Fingers:**

  - Fold the other end of the belt back on itself.

  - Insert it between the two fingers of the servo arm.


3. **Set Correct Distance:**

  - For the correct distance, raise the pen slider when gently turning the servo arm away from the pen end of the Y axis.

  - Importantly, ensure the pen slider is fully lowered with a slight slack in the belt when the servo arm is pointing upwards.

  - The exact tension/length can be rechecked in a later step, so don't worry if you're unsure at this point.


4. **Importance of Slack:**

  - The slack in the belt serves a crucial purpose. It maintains consistent pressure on the workpiece with the combined weight of the drawing tool and assembly.

  - Additionally, it allows the system to react to minor changes in the height of the drawing surface under the influence of gravity.

Step 17: Power Barrel

Begin by soldering a 12cm length of wire to the bottommost leg of the barrel connector when viewed from behind. Also, solder another 12cm wire to the leg on the right-hand side when looking from the back.

Step 18: Fan and Fixing

To proceed with this step, gather the following:


- 30mm 5V fan

- Small wood screws (x3)


Follow these instructions:


1. **Fan Installation:**

  - Guide the fan's wire from the outside of the housing towards the inside, aligning it with the teardrop cutout.

  - Position the fan so that its wires pass through the squared-off corner of the circle.

  - Secure the fan using the included bolts through the three holes in the other corners of the fan.


2. **Housing Fixation (Optional):**

  - Optionally, fix the housing to the base board.

  - Ensure the placement is close enough to each axis for the cables to reach contact switches, motors, and servos without obstructing the machine's movements during use.

  - Refer to the images for guidance on positioning.


3. **Secure the Housing:**

  - Use a drill to create pilot holes through the three countersunk holes in the base of the enclosure.

  - Secure the housing with three small wood screws.


Adding a fan to the housing is crucial for maintaining optimal temperature, especially for the Arduino and stepper motor driver boards during operation. Ensure proper positioning to facilitate cable reach and prevent obstructions in the machine's movements.

Step 19: Arduino

For this you'll need:

  • Arduino Uno
  • M3 x 6 bolts (x2)

Lower the Arduino into the housing with its barrel power connector closest to the one which we have installed and then use a couple of the bolts to secure it in place though the pre-made holes in the Uno.


In the CNC Drawing Machine project, the Arduino serves as the brain or controller, playing a crucial role in coordinating and executing various tasks. Here are the key functions and roles of the Arduino in this project:


1. **Motor Control:**

  - The Arduino is responsible for controlling the stepper motors that drive the movement of the CNC machine along the X, Y, and Z axes. It sends precise signals to the stepper motor drivers, dictating the speed and direction of movement.


2. **Servo Control:**

  - For the Z axis, which controls the vertical movement of the pen or drawing tool, a servo motor is employed. The Arduino sends signals to the servo to adjust the position of the pen slider, enabling precise control over the pen's height.


3. **Interfacing with CNC Shield:**

  - The Arduino communicates with the CNC shield, which acts as an interface between the Arduino and the stepper motor drivers. The CNC shield provides a convenient platform for connecting and controlling multiple motors in a CNC system.


4. **Reading Contact Switches:**

  - Contact switches are utilized to detect the limits of movement along the axes. The Arduino reads the signals from these switches to determine when the CNC machine reaches the end of its travel on each axis, preventing overtravel.


5. **Handling G-Code Commands:**

  - G-Code is a programming language used in CNC machining to control the movement and operation of the machine. The Arduino processes G-Code commands received from the computer or external controller, translating them into motor movements and other actions.


6. **Integration with Fusion 360:**

  - Fusion 360, a CAD/CAM software, is used for designing and simulating the CNC Drawing Machine. While the design process primarily takes place in Fusion 360, the Arduino is essential for translating these designs into physical movements.


7. **Temperature Control (Optional):**

  - In some cases, the Arduino may be involved in monitoring and controlling the temperature of components, especially if additional features like a cooling fan are integrated. This ensures that the system operates within a safe temperature range.


8. **User Interface (Optional):**

  - Depending on the project's complexity, the Arduino can be connected to a user interface, allowing users to interact with and control the CNC Drawing Machine. This can involve adjusting parameters, initiating drawings, or selecting different modes of operation.


In summary, the Arduino acts as the central processing unit, orchestrating the movements of the CNC Drawing Machine based on input from design files, user commands, and sensors. Its role is pivotal in converting digital designs into precise physical drawings.

Step 20: Fitting Stepper Driver and CNC Shield

To proceed with this step, gather the following hardware:


- TMC2208 Stepper drivers (x2)

- Arduino CNC Shield (x1)


Follow these instructions:


1. **Attach Heat Sinks (if not pre-attached):**

  - If your motor driver board does not come with pre-attached heat sinks, attach them yourself. Remove the plastic from the self-adhesive pad on the bottom of the heat sink and firmly place it onto the large copper area in the middle of the board. Ensure it does not short any other pins on the board.


2. **Place Stepper Drivers onto CNC Shield:**

  - Position the TMC2208 stepper drivers onto the relevant slots for the X and Y axes on top of the CNC shield.

  - Identify the correct slots by the large capital letters just beside the lower right of each pair of female headers. The X and Y axes should be the top two when looking at the shield from above.


3. **Align 'EN' Pins:**

  - Ensure that the pins marked as 'EN' (Enable pin) on the stepper drivers are aligned with the same marked pin on the CNC shield.


4. **Connect Barrel Connector Wires:**

  - Connect the wires from the barrel connector to the screw terminals on the CNC shield. Pay attention to the correct polarity.


5. **Connect 5V Fan Wires:**

  - Connect the wires coming from the 5V fan to the respective 5V and GND (ground) connections found behind the power screw terminals on the CNC machine.


By completing these steps, you've integrated the TMC2208 stepper drivers and Arduino CNC Shield, ensuring proper connections for power and fan components.

Step 21: Contact Switches and Servo

To proceed with connecting the limit switch and servo wires, follow these steps:


1. **X Axis Limit Switch:**

  - Thread the wires coming from the limit switch on the X axis (mounted beneath the raft) through the large hole underneath the letter 'D' on the 3D printed lid.

  - Connect these wires to the white and black-colored pins adjacent to the label 'X-' on the side of the CNC shield. The order of connection (which wire goes where) does not matter for each switch.


2. **Y Axis Limit Switch:**

  - Similar to the X axis, pass the wires for the Y axis contact switch (located on the top of the moving platform) through the same hole in the lid.

  - Connect these wires to the white and black pins adjacent to the 'Y-' label on the CNC shield.


3. **Servo Wires:**

  - Also, pass the servo wires through the same hole in the lid.

  - Connect the servo wires as follows:

     - Orange wire from the servo connects to the white pin adjacent to 'Z+' on the CNC shield.

     - Brown wire connects to GND.

     - Red wire connects to the 5V pin adjacent to GND.


By completing these connections, you have integrated the X and Y axis limit switches as well as the servo into the CNC system, ensuring proper wiring to the CNC shield.

Step 22: Connecting the Stepper Motors

To continue with the wiring, follow these steps for connecting the stepper motor cables:


1. **Y Axis Stepper Motor:**

  - Pass the Y axis stepper motor cable (located underneath the moving platform) through the center hole in the lid.

  - Connect the cable to the row of pins beside the driver for the Y axis on the CNC shield.

  - Ensure that the red wire on the bundle coming from the stepper motor is closest to the outside edge of the CNC shield.


2. **X Axis Stepper Motor:**

  - Pass the X axis stepper motor cable (attached to the board) through the currently unused hole in the lid near the center.

  - Connect this cable to the row of pins beside the X axis stepper motor driver on the CNC shield.

  - Similar to the Y axis connection, make sure that the red wire on this bundle is closest to the outside edge of the CNC shield.


By completing these connections, you've integrated the stepper motor cables for both the X and Y axes, ensuring proper alignment and order of the wires.

Step 23: **Setting Up CNC Drawing Machine Software:**


1. **GRBL:**


  - Add to Arduino IDE library and upload to Arduino Uno.

  - Confirm by typing `$$` in the serial monitor.


2. **Configure GRBL:**

  - Adjust plotter settings using commands.


3. **Homing:**

  - Move drawing head to center manually.

  - Connect power and type `$H` to home the machine.


4. **Test Servo and Steppers:**

  - Check servo with `M3 S90` and `M5`.

  - Adjust belt if needed.

  - Re-home and test steppers with `G1 X10 Y50 F2000`.


5. **Use Chilipeppr:**

  - Download Serial Port JSON Serve

  - Open Chilipeppr, choose 'GRBL,' and reload serial ports.


6. **Dry Run:**

  - Click play to observe machine movements after configuring it.


7. **First Drawing:**

  - Tape paper, open pen slot, and insert pen.

  - Home and zero axes.

  - Press play for the first drawing.


8. **Inkscape Setup:**

  - Install Inkscape 0.48.5.

  - Copy extension files to Inkscape folder.


9. **Create Artwork and GCODE:**

  - Design in Inkscape.

  - Convert to paths, go to Extensions -> MI GRBL Z AXIS Servo Controller -> MI GRBL Z AXIS Servo Controller.

  - Set parameters and make GCODE.


**Operating the CNC Drawing Machine:**


10. **Send Drawing - Recap:**

   - Load GCODE into Chilipeppr.

   - Home and zero axes.

   - Click play.

   - Adjust pen slider if necessary.

   - Insert pen and click play again.

Step 24: Unleashing Your Creativity: Pro Tips

Embark on a creative journey with your CNC Drawing Machine by incorporating these expert suggestions:


1. **Expressive Block Colors:**

  - Craft captivating visuals by employing continuous line patterns. Experiment with varying line thickness to add depth and dimension to your creations.


2. **Vibrant Multi-Color Designs:**

  - Elevate your artwork by utilizing separate layers in Inkscape for each color. This technique allows you to unleash a spectrum of hues in your CNC drawings, bringing your visions to life.


3. **Beyond Paper:**

  - Extend your artistic reach beyond traditional canvases. Explore unconventional surfaces like phone cases to personalize your gadgets with unique, hand-drawn designs.


4. **Edible Artistry:**

  - Elevate celebrations by using edible ink pens on icing sheets. Decorate cakes with intricate, edible drawings, turning your CNC Drawing Machine into a culinary artist. Perfect for birthdays and special occasions.


5. **Fine-Tune Tension:**

  - Achieve optimal results by fine-tuning belt tension. Experiment with belt lengths to ensure smooth and precise movements, refining the overall quality of your CNC-generated artwork.


6. **Innovate with Materials:**

  - Push the boundaries of creativity by experimenting with various materials. From fabric to wood, discover the unique textures and effects achievable with your CNC Drawing Machine.


7. **Embrace Iteration:**

  - Embrace a trial-and-error approach. Iteratively refine your designs, settings, and techniques to unlock new possibilities and enhance the overall precision of your machine.


8. **Incorporate Textures:**

  - Play with different stroke widths and patterns to incorporate captivating textures into your drawings. Experimentation with textures can add an extra layer of visual interest to your creations.


9. **Dynamic Speed Adjustments:**

  - Utilize dynamic speed adjustments in Inkscape to control the pace of your CNC drawings. Experiment with different speeds to achieve diverse effects, from intricate details to bold strokes.


10. **Precision Calibration:**

   - Regularly check and calibrate your CNC Drawing Machine for optimal performance. Ensuring accurate alignment and settings will contribute to the fine-tuning of your artistic output.


Remember, your CNC Drawing Machine is a versatile tool that can transform ordinary surfaces into personalized masterpieces. Embrace creativity, explore diverse mediums, and let your imagination run wild!

Step 25: Farewell and Keep Creating!

As we conclude this CNC Drawing Machine journey, it's time to bid adieu. Armed with new skills and inspiration, you're now equipped to embark on your creative adventures. Remember, the world is your canvas, and the CNC Drawing Machine is your tool to bring imagination to life.


Feel free to revisit the steps, seek inspiration from fellow student creations, and always explore new horizons.


Stay curious, stay creative, and may your artistic endeavors flourish. bye! 🚀🎨✨

CNC Student Design Challenge

Participated in the
CNC Student Design Challenge