S18: XY-Plotter
Contents
- 1 Grading Criteria
- 2 Project Title
- 3 Abstract
- 4 Objectives & Introduction
- 5 Schedule
- 6 Parts List & Cost
- 7 Design & Implementation
- 8 Testing & Technical Challenges
- 9 Conclusion
- 10 References
Grading Criteria
- How well is Software & Hardware Design described?
- How well can this report be used to reproduce this project?
- Code Quality
- Overall Report Quality:
- Software Block Diagrams
- Hardware Block Diagrams
- Schematic Quality
- Quality of technical challenges and solutions adopted.
Project Title
XY-Plotter
Abstract
We live in an epoch where the world is driven by technology. In recent decades, there have been so many advances in the field of technology. With this advancement for human upliftment, automation has become a paramount factor. This project aims at building an automatic 2D XY-plotter which can efficiently draw 2D figures. The plotter machine is assembled based on a mechanism similar to H-bot where the two stepper motors are on the main chassis connected to the single belt. Both the motors account for the movement of the chassis in X and Y axis. A servo motor is used to control the pen height which is connected to the main chassis. Gcode interpreter is developed in order to make the SJ one board decode the G-code and control the motors accordingly. Sd-card is used to provide the Gcode to the SJ one board.
Objectives & Introduction
Computer numerical control (CNC) is the automation of machine tools by means of computers executing pre-programmed sequences of machine control commands. These machines find their use in any process that can be described as a series of movements and operations. These include 2D printing, laser cutting, welding, hole-punching etc.
XY plotter is a CNC(Computer Numerical Control) based drawing robot capable of drawing 2D figures. It uses LPC1758 ARM Cortex M3 based microcontroller(SJOne) as a brain of the robot. The SJOne board is interfaced to the motor shield PCB which connects two stepper and one servo motors. SD-card is selected to provide the 2D figures to the SJ one controller in the form of G-codes instructions. A G-code interpreter then decodes the instructions and generate the required movements for the stepper motor and servo motor. The home position for the plotter is specified using the limit switch.
The objectives of the project are:
- To learn FreeRTOS multitasking and demonstrate it.
- To acquire knowledge about intertask communication using queues.
- To become competent in implementing device drivers like GPIO, SPI, PWM.
- To make use of GPIO external interrupts and timer interrupt to connect with the limit switch.
- To understand software watchdogs and apply the same to the project.
- To learn mechanical aspects of rotating a motor through belts and pulleys.
Team Members & Responsibilities
- Akshay Kurli
- Gaurav Yadav
- Pritam Gholap
- Tanmay Kishore Jambhekar
Schedule
Week# | Date | Task | Actual | Problem Encountered |
---|---|---|---|---|
1 | 03/27 |
|
Completed on 03/31 | |
2 | 04/03 |
|
Completed on 04/08 | |
3 | 04/10 |
|
| |
4 | 04/17 |
|
| |
5 | 04/24 |
|
| |
6 | 05/01 |
|
| |
7 | 05/08 |
|
In progress | |
8 | 05/15 |
|
In progress | |
9 | 05/22 |
|
Parts List & Cost
Item# | Part Desciption | Vendor | Qty | Cost |
---|---|---|---|---|
1 | SJOne Boards | From Preet | 1 | $80.00 |
2 | Nema-17 Stepper Motor | Amazon | 2 | $28.00 |
3 | Micro Servo Motor 9G | Amazon | 1 | $2.6 |
4 | GT2 Timing Belt and Pulley wheel | Amazon | 1 | $14.99 |
5 | Allegro’s A4988 DMOS Microstepping Driver | Amazon | 2 | $ |
6 | $ | |||
7 | $ | |||
8 | $ | |||
9 | $ | |||
10 | $ | |||
11 | $ |
Design & Implementation
Following sections provide the implementation of hardware and its design. The software provides the infrastructure to manage and control the hardware.
System Overview and Mechanism
The XY plotter machine is based on a mechanism similar to H-bot where the two motors responsible for XY movements are on the main chassis, which keeps the center of gravity closer to the chassis for a better stability. Graphic animation of the mechanism used in the project is shown in figure 2 where linear motions of the violet slider along X and Y axes are controlled by orange and green driving pulleys depicting two stepper motors. The violet slider has a pen connected at the front. The movement of pen based on the motor rotation is shown in figure 3. Based on the front view, M1 and M2 represent two stepper motors on the left and right of the machine. For example to move the pen in the left direction on the X-axis, both the stepper motor should rotate in a clockwise direction with the same speed. The movement of pen based on the motor rotation is shown in figure 3. Based on the front view in figure 1, M1 and M2 represent two stepper motors on the left and right of the machine and the direction arrows shows the direction of the pen. For example to move the pen in the left direction on the X-axis, both the stepper motor should rotate in a clockwise direction with the same speed.
</td> |
</ul></div> |