54tGgY

#The 4th Innovation Competition#Mini drawing machine

 
Overview
Note: * indicates a required field.

[Please fill in during the registration stage↓]
* Briefly introduce the work: Using a micro screw platform to achieve 2D graphics drawing.

[Please fill in during the competition stage↓]
* 1. Details of the work;
This work uses a micro screw from a discarded optical drive to build an X/Y axis platform, and the servo controls the pen to move up and down to achieve 2D graphics drawing.
After the SVG file is converted into GCODE by software, it is sent to the Arduino Nano through the serial port, and the Nano implements the movement operation of the G code.
The X/Y axis is controlled by two micro stepper motors and driven by L293D. The up and down movement of the pen is achieved by using PWM to control the servo.
* 2. Describe the challenges faced by the work and the problems solved;
(1) Traditional G code does not have servo control instructions, so it is necessary to add custom servo control instructions. This work uses the following instructions:
M300 S30.00 (pen down)
M300 S50.00 (pen up)
Insert pen up before moving the tool position in traditional G code, and insert pen down before processing.
(2) The G code linear motion interpolation algorithm affects the drawing quality. This work refers to multiple open source projects such as GBRL to implement G1/G4/M300 instructions, which basically meets the needs of 2D drawing. For other G code instructions, ignore execution.
* 3. Describe the key points involved in the hardware and software parts of the work;
Hardware part:
The control unit uses arduino nano, the motor drive uses L293D, and the servo is controlled by the control unit pwm.
The mechanical part is printed by a 3D printer, and the stl file is attached.
Software part:
The PC uses the processing programming language to implement a simple serial port to send G code. The code is attached: [gcode.pde](https://diy.szlcsc.com/attachments/2019/9/fPyG8pZy8Kg7VudLJLg9btBiHszbKumPnP96hkRh.c)
The lower computer Arduino accepts G code and executes G1/G4/M300 instructions. The code is attached: [arduino_CNC.ino](https://diy.szlcsc.com/attachments/2019/9/fKsfCuQsJ0PwsZshIQEOg2X3hv9WMnUNmOLlNSmj.c)
The G code is attached: [batman.gcode](https://diy.szlcsc.com/attachments/2019/9/pSep65Hu2BwoHalo0DkcRMZOsuPAyfnmlvY1Zm11.)
* 4. List of materials for the work;
(1) Two micro screw platforms disassembled from optical drives.
(2) 1 Arduino nano, 2 L293D driver chips, 1 PCB.
(3) 2 30cm 2020 aluminum profiles.
(4) 1 9G servo and accessories.
(5) 3D printed parts and screws.
* 5. Upload pictures of your work; (The PCB must have the competition logo and a photo must be taken and uploaded; otherwise, it will be deemed as giving up the competition) Rack
:
![rack.jpg] PCB:
![pcb_top.jpg] ![pcb_buttom.jpg] After welding and installation: ![pcb_finish.jpg] * 6. Demonstrate your work and record it into a video and upload it; (The video content must include: work introduction; function demonstration; performance test; close-up of the competition logo on the PCB; otherwise, it will be deemed as giving up the competition) X-axis, Y-axis and pen cap up and down movement test video: [http://v.douyin.com/5V526X/](http://v.douyin.com/5V526X/)Upload to attachment: test.mp4 Batman icon drawing video: Upload to attachment: batman.mp4 7. Open source documents.








参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-24 16:03:24

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号