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:56] – [Schematic] 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|PC1 | |STEP       |36|PC1 |
Line 28: Line 42:
 <WRAP group> <WRAP group>
 <WRAP 150px column> <WRAP 150px column>
 +Stepper 3
 ^X ^ Arduino ^ AVR ^ ^X ^ Arduino ^ AVR ^
 |STEP       |54|PF0 | |STEP       |54|PF0 |
Line 34: Line 49:
 </WRAP> </WRAP>
 <WRAP 150px column> <WRAP 150px column>
 +Stepper 4
 ^Y ^ Arduino ^ AVR ^  ^Y ^ Arduino ^ AVR ^ 
 |STEP       |60| PF6| |STEP       |60| PF6|
Line 40: Line 56:
 </WRAP> </WRAP>
 <WRAP 150px column> <WRAP 150px column>
 +Stepper 5
 ^Z ^ Arduino ^ AVR ^ ^Z ^ Arduino ^ AVR ^
 |STEP       |46|PL3 | |STEP       |46|PL3 |
Line 46: Line 63:
 </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 on the SLEEP/RESET pins (named SLP) on each motor controller. +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===