The Arduino 2D Printer is a low-cost, DIY CNC drawing machine that uses DVD stepper motors to move a pen or marker along the X-Y axis, replicating digital designs on paper.
🤔 Why did I make it?I wanted to create an affordable and accessible way for students and makers to explore CNC technology, coding, and robotics without expensive equipment. By repurposing DVD stepper motors, this project also promotes sustainability and recycling.
How I made it
Step 1:Before building, use Fusion 360 to design your 2D printer. This step ensures precision, identifies potential challenges, and allows fo
r iterative improvements. I opted for Fusion 360 to visualize the entire assembly, including servo motor placement and frame structure.
Step 2: Building Your Printer Frame and Installing ComponentsCrafting the Frame:
- Use the Fusion 360 design as a guide to cut and assemble plywood pieces.
- Pay attention to precision for a seamless fit.
Component Placement:
- Refer to the Fusion 360 design to position stepper motors, Arduino board, and peripherals.
Secure Attachments:
- Fasten components to the frame securely to prevent vibrations.
- Organize and route wires neatly.
Preliminary Test:
- Conduct an initial test to verify proper connections before finalizing the assembly.
Final Check:
- Confirm alignment with the Fusion 360 design.
- Ensure the frame is sturdy without any flexing.
Now, let's move on to the practical implementation. You'll connect the L293D shield to the DVD motor in this step. Additionally, you'll integrate the servo motor into the system. This step is crucial for enabling precise control over the movement of your 2D printer.
Connecting the L293D Shield to DVD Motor:- Detach DVD Motor: Remove the motor from its original housing carefully, ensuring you preserve the necessary components.
- L293D Shield Connection: Connect the DVD motor to the L293D motor driver shield. The L293D shield acts as an interface between the Arduino and the motor, facilitating controlled movements.
- Wiring Configuration: Ensure the wiring follows the specifications of the L293D shield and the DVD motor. This step establishes a reliable connection for seamless integration.
- Servo Motor Integration: Integrate the servo motor into the system. The servo motor's precise control is invaluable for certain functionalities, adding versatility to your 2D printer.
- Secure Connection: Ensure a secure and stable connection between the servo motor and the control board. This step is vital for accurate positioning during the printing process.
- Verify Wiring: Double-check all connections to ensure accuracy. Miswiring can lead to erratic behavior, so attention to detail is crucial.
- Test Movements: Execute simple movements using the Arduino code to verify that the DVD motor and servo motor respond as expected. This preliminary testing ensures that your hardware setup is on the right track.
Now, let's move on to programming the Arduino board to bring intelligence to our 2D printer.
- Accessing the Code:
- Retrieve the Arduino code designed for the 2D printer. This code dictates how the Arduino controls the stepper motors for precise movements.
- Connecting Arduino:
- Use a USB cable to connect the Arduino board to your computer.
- Opening Arduino IDE:
- Launch the Arduino IDE on your computer.
- Loading the Code:
- Open the code file in the Arduino IDE.
- Review the code to understand its functionality.
- Selecting Board and Port:
- In the Arduino IDE, choose the correct board type (e.g., Arduino Uno) and port.
- Uploading Code:
- Click the "Upload" button to transfer the code to the Arduino board.
- Monitor the IDE for any error messages.
- Verifying Success:
- Confirm a successful upload by checking for the "Done uploading" message in the IDE.
Now, let's integrate images into our project using Inkscape and convert them into G-code for the 2D printer, Open Inkscape and import the image you want to draw with your 2D printer.
Image Adjustments:
- Scale, resize, or make any necessary adjustments to the image within Inkscape.
- Ensure that the image fits within the printable area defined by your Fusion 360 design.
Tracing Image:
- Utilize the tracing function in Inkscape to convert the image into a vector format.
- Adjust settings to achieve the desired level of detail.
Saving as SVG:
- Save the traced image as an SVG file. This file format is essential for G-code generation.
Generating G-code:
- Use a G-code generator, such as CNCjs or another appropriate software, to convert the SVG file into G-code.
- Configure the G-code parameters based on your printer's specifications.
Saving G-code:
- Save the generated G-code file to a location accessible by your 2D printer.
Pronterface serves as a user-friendly interface to seamlessly upload the G-code representation of your design, configure essential print settings, and then initiate the printing process on your Arduino-controlled 2D printer, transforming your digital creations into tangible and precise artwork.
Comments
Please log in or sign up to comment.