Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Tyler Pitts
Published © GPL3+

2D Plotter Using PocketBeagle

A 2 dimensional plotter that interprets G-code to control the stepper motors which control the 2D arm with 2 joints.

IntermediateFull instructions provided10 hours143
2D Plotter Using PocketBeagle

Story

Read more

Custom parts and enclosures

Cad Files

Zip file contains all necessary CAD files, as well as an assembly file with the put together robot arm.

Video of Robot Arm

Video of Failure to draw square due to friction of pen.

Video of Robot Arm #2

Same square g-code as in Video #1, however without the pen friction the arm is able to move properly, however it has very low resolution due to the high step size of 1.8 degrees per step.

Schematics

Wiring Picture

Stepper Motors:
1 = Red
2 = Yellow
3 = Gray
4 = Green

P2_2,4,6,8 ->1,2,3,4 on DRV8833 #1
P2_18,20,22,24 ->1,2,3,4 on DRV8833 #2
P1_36 -> PWM pin for servo
Power adapter -> Breadboard + and -
Breadboard + -> VCC for DRV8833 #1 and #2
Breadboard - -> GND for DRV8833 #1 and #2

Code

PlotterProj Python Files

movement.py is the main control file which reads G-code from gcodeTest.txt, kinematics contains the calculations for the robot arm positioning, and stepperMove contains the movement of the steppers and servo.

Credits

Tyler Pitts
1 project • 0 followers
Contact

Comments

Please log in or sign up to comment.