Machine design

Work assignement

-actuate and automate your machine

Individual Work

In this week I have to actuate my mechanical system: in my case I've used a stepper motor because the rack and pinion structure need more power than rotation speed. To controll the stepper motor I've decided to use the cnc sheld with the arduino using grlb

Cnc Sheld Hardware

In the hardware point of view I've had to do the wiring of the motor: I've linked the wire in our correct position with this scheme:

and seeing this tutorial and others: I linked the arduino's 5v to my computer and I power the cnc shels with a 12v power supply.

Software Grbl

The software used in this scope is grbl; to launch it I have had to do some step:

The G-Code

When I've load the sketch I am going to see this screen in the serial port.

I see some tutorials to give information about the code instruction:

I have done this for the other motor too (y axis) ,

    $$101=10

the relative position value of the movement: in this way I select each time how much is my movement lenght.

I've used two motor to have more power because the rack and pinion system needed to grip: this motor are put in specular position so the positive direction for one is the negative one for the other(they aren't moving different axis). In this tutorial I see the command to move them togheter :

G1 X-24 Y24 F10

The working of the compressor test

video from Marco Cialone on Vimeo.

To see my machine working go to this link

while to see the week of mechanic and machine togheter go to the link of the machine

project machine

this is the command line code that I've used to actuate the machine:

machine_code