This Project is shared with whom is interested to build his own writing machine, the machine is based on Arduino Uno and CNC shield, a full description is included.
This repository contains the design files, Arduino software, and instructions for building and operating a DPI writing machine. The machine uses a servo-controlled pen plotter mechanism to write precise text or drawings on various surfaces.
The DPI writing machine is a pen plotter driven by Arduino, capable of creating detailed plots and writing text by controlling servo motors and stepper motors to move the pen across a two-dimensional plane.
- Arduino Uno (or similar microcontroller)
- Servo motor (for pen lifting and lowering)
- Stepper motors (x2, for X and Y axis control)
- Stepper motor drivers (A4988 or DRV8825 recommended)
- Linear rails and bearings for smooth axis movement
- Timing belts and pulleys
- Pen holder mechanism
- Frame (3D printed or aluminum extrusion recommended)
- Frame Construction: Assemble the base frame using aluminum extrusion or a rigid structure to ensure stability.
- Axis Setup: Mount linear rails, bearings, and timing belts for precise motion along X and Y axes.
- Stepper Motor Installation: Secure stepper motors and connect them via timing belts and pulleys to the moving axis carriages.
- Servo Pen Mechanism: Attach a servo motor with a pen holder designed to lift and lower the pen as needed during plotting.
- Connect stepper motors to respective drivers and Arduino pins according to provided wiring diagrams.
- Connect the servo motor for pen control directly to the Arduino PWM pin.
- Ensure proper power supply (12V recommended for motors, 5V for Arduino).
- The Arduino sketch provided controls the movement of stepper motors and the servo motor for precise writing.
- Movement commands follow standard G-code formatting, facilitating ease of plotting various designs.
- Servo positions:
M3 S0: Pen upM3 S90: Pen down (writing position)
- Arduino IDE: For uploading and modifying the Arduino sketch.
- Universal G-code Sender (UGS) or similar software: Used for sending G-code commands to the Arduino.
- Upload the provided Arduino sketch to the microcontroller.
- Generate or prepare your G-code plot file using Inkscape or a similar tool.
- Connect your machine to a computer and launch UGS or equivalent software.
- Load your G-code file into the sender application and start plotting.
This project is open source and licensed under the MIT License. Contributions and improvements are welcome!