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:megapi [2023/10/06 17:45] – [Motor wiring] darronboards:megapi [2023/10/11 17:13] (current) darron
Line 6: Line 6:
 </wrap> </wrap>
  
-This board can connect directly to a Raspberry Pi or work +This board contains an ATmega2560 and is compatible with [[:boards:mega2560|Arduino]]. 
-standalone.+ 
 +It can connect directly to a Raspberry Pi or work standalone.
  
 Power applied to the DC input jack may be between 6V and Power applied to the DC input jack may be between 6V and
Line 93: Line 94:
 === Motor wiring === === Motor wiring ===
  
-__NEMA17__+__NEMA__
  
 Left to right (socket pointing upward) Left to right (socket pointing upward)
Line 108: Line 109:
 </code> </code>
  
-My `generic' cable from eBay (these vary)+__MOTOR__ 
 + 
 +`generic' cable from eBay (these vary)
  
 <code> <code>
Line 116: Line 119:
 B+ BLACK B+ BLACK
 </code> </code>
 +
 +My generic cable has the two centre pins twisted.
  
 __PORT__ __PORT__
Line 125: Line 130:
 </code> </code>
  
-Wiring as per above will result in correct shaft direction. Reverse wiring or swap wires in one pair to rectify incorrect direction.+Wiring as per above will result in correct shaft direction. Reverse wiring or swap one pair of wires to rectify incorrect direction.
 ===Resources=== ===Resources===
  
Line 141: Line 146:
  
 [[https://www.ti.com/lit/ds/symlink/drv8825.pdf|TI DRV8825 data-sheet]] [[https://www.ti.com/lit/ds/symlink/drv8825.pdf|TI DRV8825 data-sheet]]
 +
 +[[http://www.ti.com/lit/an/slyt482/slyt482.pdf|Acceleraton and deceleration profiles for stepper motors]]
  
 [[https://iopscience.iop.org/article/10.1088/1757-899X/294/1/012055/pdf|Stepper motor profile in real-time]] [[https://iopscience.iop.org/article/10.1088/1757-899X/294/1/012055/pdf|Stepper motor profile in real-time]]