Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aprinter for 4xis or 5axis CNC - XYZ AB on Ard DUE #32

Open
soilworkZAX opened this issue Feb 16, 2018 · 2 comments
Open

Aprinter for 4xis or 5axis CNC - XYZ AB on Ard DUE #32

soilworkZAX opened this issue Feb 16, 2018 · 2 comments

Comments

@soilworkZAX
Copy link

Hi guys I´m just discover the aprinter project and I don't know is there is a chance to create a 4axis or 5 axis cnc mill (no 3dprinter) with arduino DUE (arm), I just wanna knows if I can configurate to map 5 axis to digital I/O of the arduino, the Dir-Step-Enable signals. I've been reading the readme of aprinter it seem´s is capable to do this, but I do not where to start. I already worked with marlin and is not to good with high feedrates and microsteping because the 8bit AVR procesor and the firmware need's to be modified to stop or unlock the temperature controll and others printer cycles that are not need it for a cnc mill.
I'm just need some guide to where to star , my need's are to create a ARM 5axis cnc controll board , capable to run g-codes and m-codes (laser-plasma,coolant), pwm control , 5 axis (step,dir enable) , limit switches.
I know smoothieboard and seem's perfect but I don't need all the pinouts for extruders and hotends and all that awesome freatures for 3D printer, I'm gona use external steppers drivers and make all the circuits (mosfet for pwm, rellay's, etc) and PCB's to get this done is that why I don't want to use smoohieboard because I will no use all the freatures of the board even the integrated stepper drivers so is kind a waste ($$$) of board in this case.
I´m a no navite english speaker and writer, so let me know if I don't get this self-explainned :P

@ambrop72
Copy link
Owner

Hi,
I hope http://www.aprinter.eu/ still works, this site will let you configure firmware in GUI and will build it for you. Otherwise there are instructions in the README for how to run this tool and build locally.

Basically, start with Boards->RADDS or RAMPS-FD (these two use Arduino Due; best to click Copy and give it a new name) and tweak things especially the I/O pins. It is best to delete things you do not use to avoid pin conflicts and even things you may want to use but not in the first test.

Sections:

  • Runtime configuration: leave "Enabled", you can disable the storage if you don't have SD card.
  • Serial ports: already configured correctly for Due.
  • SD card: allows printing from card and saving configuration to it, it can easily be disabled.
  • Network configuration: assuming you don't have Ethernet, leave disabled.
  • Performance parameters: should be okay as is.
  • Development features: no changes needed.
  • Motor current control: leave disabled unless you need software control of motor current via AD5206 (only supported device).
  • Stepper ports: here you specify pins for steppers and related settings. You give arbitrary names to each "port". Each stepper port needs to be configured with an "output compare unit" resource; any choice is fine provided none is used more than once (note there are other things that use one, like "event channel timer" at the top).
  • Digital inputs: here you define pins for features like homing and possibly bed height probing, names are arbitrary.
  • Analog inputs: pins for temperature sensors, names are arbitrary.
  • PWM outputs: pins for PWM, used for heater control and possibly laser (support for laser is preliminary), names are arbitrary.

Once you are done with the Board configuration, you create a new Configuration which references your Board. There in many places you will select one of your defined resources like stepper port, digital input, analog output etc (this is why I said the names of these are arbitrary, since you then select them from Configuration).

To get simple ability to move motors without any real coordinate system, you create one Axis for each motor, and in each Axis you add just one Stepper where you select the correct "stepper port". In each Axis choose "Is cartesian: no" and "Is extruder: no", and enter reasonable physical settings like limits, max speed and max acceleration. Most settings should be understandable from the description, if not you can try leaving the default value :)

For Coordinate transformation use "None (cartesian)" (as a starting point, depends on whether you eventually want the firmware to do kinematics).

@soilworkZAX
Copy link
Author

Thank´s I'll give a try. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants