====MKS Gen V1.4 3D==== {{boards:mksgen.jpg?100}} \\ \\ {{boards:tmc2208.jpg?100}} KeyeStudio MKS Gen V1.4 3D clone. This is controller board designed for 3D printers but can be used for whatever purpose. It supports 5 stepper motors using easy to buy controllers. This type of board is known as a RAMPS controller since it contains an ATmega2560 compatible with [[:boards:mega2560|Arduino]]. ===Pinout=== __GPIO__ Stepper 1 ^E0 ^ Arduino ^ AVR ^ |STEP |26| PA4 | |DIR |28| PA6 | |ENABLE |24| PA2 | Stepper 2 ^E1 ^ Arduino ^ AVR ^ |STEP |36|PC1 | |DIR |34|PC3 | |ENABLE |30|PC7 | Stepper 3 ^X ^ Arduino ^ AVR ^ |STEP |54|PF0 | |DIR |55|PF1 | |ENABLE |38|PD7 | Stepper 4 ^Y ^ Arduino ^ AVR ^ |STEP |60| PF6| |DIR |61| PF7| |ENABLE |56| PF2| Stepper 5 ^Z ^ Arduino ^ AVR ^ |STEP |46|PL3 | |DIR |48|PL1 | |ENABLE |62|PK0 | __MOTOR__ A `generic' cable from eBay (these vary) Factory Centre pair swapped A+ RED A+ RED A- GREEN A- BLUE B- BLUE B- GREEN B+ BLACK B+ BLACK My generic cable has A- B- twisted at the motor (JST) end so not usable with my motor on this board without swapping the centre pair of cables (at either end). For JST, just lift the plastic tooth and pull the cable out, very simple. __PORT__ 1 2 3 4 2B 2A 1A 1B B+ B- A- A+ B G B R BLACK GREEN BLUE RED __MICROSTEPPING__ Jumpers select the micro-stepping mode which will default to 32 microsteps/step for a DRV8825. ===Schematic === The {{boards:mks_gen_v1.4_004_sch.pdf|Schematic}} has a missing pull-up resistor of 100K on the SLEEP/RESET pins (named SLP) on each motor controller unit which keeps each controller awake and out of reset. ===Resources=== [[https://www.keyestudio.com/products/keyestudio-3d-mks-gen-v14-printer-motherboard-control-board-for-arduino-3d-printer|Product page]] [[https://github.com/makerbase-mks/MKS-GEN|Original product]]