Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
boards:mksgenv14 [2023/10/10 11:51] darronboards:mksgenv14 [2023/10/11 17:11] (current) darron
Line 7: Line 7:
 </wrap> </wrap>
  
-KeyeStudio MKS Gen V1.4 3D clone+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=== ===Pinout===
 +
 +
 +__GPIO__
  
 <WRAP group> <WRAP group>
 <WRAP 150px column> <WRAP 150px column>
 +Stepper 1
 ^E0 ^ Arduino ^ AVR ^ ^E0 ^ Arduino ^ AVR ^
 |STEP       |26| PA4 | |STEP       |26| PA4 |
Line 19: Line 32:
 </WRAP> </WRAP>
 <WRAP 150px column> <WRAP 150px column>
 +Stepper 2
 ^E1 ^ Arduino ^ AVR ^ ^E1 ^ Arduino ^ AVR ^
-|STEP       |36| | +|STEP       |36|PC1 
-|DIR        |34| | +|DIR        |34|PC3 
-|ENABLE     |30| |+|ENABLE     |30|PC7 |
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 28: Line 42:
 <WRAP group> <WRAP group>
 <WRAP 150px column> <WRAP 150px column>
 +Stepper 3
 ^X ^ Arduino ^ AVR ^ ^X ^ Arduino ^ AVR ^
-|STEP       |54| | +|STEP       |54|PF0 
-|DIR        |55| | +|DIR        |55|PF1 
-|ENABLE     |38| |+|ENABLE     |38|PD7 |
 </WRAP> </WRAP>
 <WRAP 150px column> <WRAP 150px column>
 +Stepper 4
 ^Y ^ Arduino ^ AVR ^  ^Y ^ Arduino ^ AVR ^ 
-|STEP       |60| | +|STEP       |60| PF6
-|DIR        |61| | +|DIR        |61| PF7
-|ENABLE     |56| |+|ENABLE     |56| PF2|
 </WRAP> </WRAP>
 <WRAP 150px column> <WRAP 150px column>
 +Stepper 5
 ^Z ^ Arduino ^ AVR ^ ^Z ^ Arduino ^ AVR ^
-|STEP       |46| | +|STEP       |46|PL3 
-|DIR        |48| | +|DIR        |48|PL1 
-|ENABLE     |62| |+|ENABLE     |62|PK0 |
 </WRAP> </WRAP>
 </WRAP> </WRAP>
 +
 +__MOTOR__
 +
 +A `generic' cable from eBay (these vary)
 +
 +<code>
 +Factory    Centre pair swapped
 +A+ RED     A+ RED
 +A- GREEN   A- BLUE
 +B- BLUE    B- GREEN
 +B+ BLACK   B+ BLACK
 +</code>
 +
 +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__
 +
 +<code>
 +1  2  3  4
 +2B 2A 1A 1B
 +B+ B- A- A+
 +B  G  B  R    BLACK GREEN BLUE RED
 +</code>
 +
 +__MICROSTEPPING__
 +
 +Jumpers select the micro-stepping mode which will default to
 +32 microsteps/step for a DRV8825.
 ===Schematic === ===Schematic ===
  
 The {{boards:mks_gen_v1.4_004_sch.pdf|Schematic}} has a missing The {{boards:mks_gen_v1.4_004_sch.pdf|Schematic}} has a missing
-pull-up resistor of 100K the SLEEP/RESET pins of each motor +pull-up resistor of 100K on the SLEEP/RESET pins (named SLP) on each motor controller 
-unit.+unit which keeps each controller awake and out of reset.
  
 ===Resources=== ===Resources===