Coder Social home page Coder Social logo

d-marquina / marlin-ramps-x9 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marlinfirmware/marlin

0.0 0.0 0.0 178.88 MB

Marlin's fork centered on controlling more than 6 steppers with an Arduino Mega and RAMPS 1.4.

Home Page: http://marlinfw.org

License: GNU General Public License v3.0

Shell 0.69% JavaScript 0.35% C++ 65.31% Python 0.94% C 31.99% Assembly 0.06% CSS 0.04% OpenSCAD 0.04% Makefile 0.27% HTML 0.26% CMake 0.03% GDB 0.01% Dockerfile 0.01% G-code 0.02% NASL 0.01%

marlin-ramps-x9's Introduction

MarlinFirmware's logo

Marlin 3D Printer Firmware

GPL-V3.0 License Contributors Last Release Date CI Status GitHub Sponsors
Follow MarlinFirmware on Twitter

Additional documentation can be found at the Marlin Home Page. Please test this firmware and let us know if it misbehaves in any way. Volunteers are standing by!

Marlin RAMPS x9

This fork lets you control 9 steppers with a single Arduino Mega and RAMPS 1.4 using the recently added 9 axis support for Marlin in bugfix 2.1.

Only DRV8825 drivers tested.

A new board has been added, "BOARD_RAMPS_14_x9", its pinout is:

Description Pin Location Description Pin Location
X Motor/Axis X Endstop
X_STEP_PIN 54 X Socket X_MIN_PIN 3 Endstops
X_DIR_PIN 55 X Socket X_MAX_PIN 63 Aux2
X_ENABLE_PIN 38 X Socket
Y motor/Axis Y Endstop
Y_STEP_PIN 60 Y Socket Y_MIN_PIN 14 Endstops
Y_DIR_PIN 61 Y Socket Y_MAX_PIN 40 Aux2
Y_ENABLE_PIN 56 Y Socket
Z motor/Axis Z Endstop
Z_STEP_PIN 46 Z Socket Z_MIN_PIN 18 Endstops
Z_DIR_PIN 48 Z Socket Z_MAX_PIN 19 Endstops
Z_ENABLE_PIN 62 Z Socket
A motor/I Axis I Endstop
I_STEP_PIN 26 E0 Socket I_MIN_PIN 2 Endstops
I_DIR_PIN 28 E0 Socket I_MAX_PIN 42 Aux2
I_ENABLE_PIN 24 E0 Socket
B motor/J Axis J Endstop
J_STEP_PIN 36 E1 Socket J_MIN_PIN 15 Endstops
J_DIR_PIN 34 E1 Socket J_MAX_PIN 65 Aux2
J_ENABLE_PIN 30 E1 Socket
C motor/K Axis K Endstop
K_STEP_PIN 41 Aux4 K_MIN_PIN 59 Aux2
K_DIR_PIN 39 Aux4 K_MAX_PIN 64 Aux2
K_ENABLE_PIN 37 Aux4
U motor/Axis U Endstop
U_STEP_PIN 35 Aux4 U_MIN_PIN 44 Aux2
U_DIR_PIN 33 Aux4 U_MAX_PIN 66 Aux2
U_ENABLE_PIN 31 Aux4
V motor/Axis V Endstop
V_STEP_PIN 29 Aux4 V_MIN_PIN 32 Aux4
V_DIR_PIN 27 Aux4 V_MAX_PIN 47 Aux4
V_ENABLE_PIN 25 Aux4
W motor/Axis W Endstop
W_STEP_PIN 23 Aux4 W_MIN_PIN 45 Aux4
W_DIR_PIN 17 Aux4 W_MAX_PIN 43 Aux4
W_ENABLE_PIN 16 Aux4

Changes made in Configuration.h:

  • X_DRIVER_TYPE (line 170)
  • AXIS4_ROTATES (line 210)
  • DEFAULT_AXIS_STEPS_PER_UNIT (800 steps/unit, 1/4 microstepping, line 1016)
  • DEFAULT_MAX_FEEDRATE (10 unit/s, 600 RPM, line 1026)
  • DEFAULT_MAX_ACCELERATION (5 unit/s^2, line 1036)
  • USE_XMIN_PLUG (line 880)
  • X_ENABLE_ON (line 1400)
  • INVERT_X_DIR (line 1439)
  • X_HOME_DIR (line 1480)
  • X_MAX_POS X_MIN_POS (line 1497)
  • HOMING_FEEDRATE_MM_M (line 1884)

Changes made in Configuration_adv.h:

  • HOMING_BUMP_MM (line 837)
  • HOMING_BUMP_DIVISOR (line 838)
  • AXIS_RELATIVE_MODE (line 1014)

Besides, some adjustments were needed in:

  • /src/modules/probe.h: 9 arguments in NUM_AXIS_ARRAY
  • /src/core/types.h: Rename operators with "v" argument to "vi"

Marlin 2.0 Bugfix Branch

Not for production use. Use with caution!

Marlin 2.0 takes this popular RepRap firmware to the next level by adding support for much faster 32-bit and ARM-based boards while improving support for 8-bit AVR boards. Read about Marlin's decision to use a "Hardware Abstraction Layer" below.

This branch is for patches to the latest 2.0.x release version. Periodically this branch will form the basis for the next minor 2.0.x release.

Download earlier versions of Marlin on the Releases page.

Example Configurations

Before building Marlin you'll need to configure it for your specific hardware. Your vendor should have already provided source code with configurations for the installed firmware, but if you ever decide to upgrade you'll need updated configuration files. Marlin users have contributed dozens of tested example configurations to get you started. Visit the MarlinFirmware/Configurations repository to find the right configuration for your hardware.

Building Marlin 2.0

To build Marlin 2.0 you'll need Arduino IDE 1.8.8 or newer or PlatformIO. We've posted detailed instructions on Building Marlin with Arduino and Building Marlin with PlatformIO for ReArm (which applies well to other 32-bit boards).

Hardware Abstraction Layer (HAL)

Marlin 2.0 introduces a layer of abstraction so that all the existing high-level code can be built for 32-bit platforms while still retaining full 8-bit AVR compatibility. Retaining AVR compatibility and a single code-base is important to us, because we want to make sure that features and patches get as much testing and attention as possible, and that all platforms always benefit from the latest improvements.

Supported Platforms

Platform MCU Example Boards
Arduino AVR ATmega RAMPS, Melzi, RAMBo
Teensy++ 2.0 AT90USB1286 Printrboard
Arduino Due SAM3X8E RAMPS-FD, RADDS, RAMPS4DUE
ESP32 ESP32 FYSETC E4, E4d@BOX, MRR
LPC1768 ARM® Cortex-M3 MKS SBASE, Re-ARM, Selena Compact
LPC1769 ARM® Cortex-M3 Smoothieboard, Azteeg X5 mini, TH3D EZBoard
STM32F103 ARM® Cortex-M3 Malyan M200, GTM32 Pro, MKS Robin, BTT SKR Mini
STM32F401 ARM® Cortex-M4 ARMED, Rumba32, SKR Pro, Lerdge, FYSETC S6
STM32F7x6 ARM® Cortex-M7 The Borg, RemRam V1
SAMD51P20A ARM® Cortex-M4 Adafruit Grand Central M4
Teensy 3.5 ARM® Cortex-M4
Teensy 3.6 ARM® Cortex-M4
Teensy 4.0 ARM® Cortex-M7
Teensy 4.1 ARM® Cortex-M7
Linux Native x86/ARM/etc. Raspberry Pi

Submitting Patches

Proposed patches should be submitted as a Pull Request against the (bugfix-2.1.x) branch.

  • This branch is for fixing bugs and integrating any new features for the duration of the Marlin 2.0.x life-cycle.
  • Follow the Coding Standards to gain points with the maintainers.
  • Please submit Feature Requests and Bug Reports to the Issue Queue. Support resources are also listed there.
  • Whenever you add new features, be sure to add tests to buildroot/tests and then run your tests locally, if possible.
    • It's optional: Running all the tests on Windows might take a long time, and they will run anyway on GitHub.
    • If you're running the tests on Linux (or on WSL with the code on a Linux volume) the speed is much faster.
    • You can use make tests-all-local or make tests-single-local TEST_TARGET=....
    • If you prefer Docker you can use make tests-all-local-docker or make tests-all-local-docker TEST_TARGET=....

Marlin Support

The Issue Queue is reserved for Bug Reports and Feature Requests. To get help with configuration and troubleshooting, please use the following resources:

Contributors

Marlin is constantly improving thanks to a huge number of contributors from all over the world bringing their specialties and talents. Huge thanks are due to all the contributors who regularly patch up bugs, help direct traffic, and basically keep Marlin from falling apart. Marlin's continued existence would not be possible without them.

Administration

Regular users can open and close their own issues, but only the administrators can do project-related things like add labels, merge changes, set milestones, and kick trolls. The current Marlin admin team consists of:

License

Marlin is published under the GPL license because we believe in open development. The GPL comes with both rights and obligations. Whether you use Marlin firmware as the driver for your open or closed-source product, you must keep Marlin open, and you must provide your compatible Marlin source code to end users upon request. The most straightforward way to comply with the Marlin license is to make a fork of Marlin on Github, perform your modifications, and direct users to your modified fork.

While we can't prevent the use of this code in products (3D printers, CNC, etc.) that are closed source or crippled by a patent, we would prefer that you choose another firmware or, better yet, make your own.

marlin-ramps-x9's People

Contributors

thinkyhead avatar erikzalm avatar anhardt avatar ellensp avatar bob-the-kuhn avatar gmagician avatar insanityautomation avatar thisiskeithb avatar roxy-3d avatar tpruvot avatar daid avatar rhapsodyv avatar sjasonsmith avatar boelle avatar jbrazio avatar wackerbarth avatar marcio-ao avatar ludy87 avatar p3p avatar robbycandra avatar bkubicek avatar tcm0116 avatar marciot avatar bgort avatar ejtagle avatar alexborro avatar wurstnase avatar rmoravcik avatar nothinman avatar teemuatlut avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.