Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:megapi [2023/10/06 16:09] – [Pinout] darron | boards:megapi [2023/10/11 17:13] (current) – darron | ||
---|---|---|---|
Line 6: | Line 6: | ||
</ | </ | ||
- | This board can connect directly to a Raspberry Pi or work | + | This board contains an ATmega2560 and is compatible with [[: |
- | 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 65: | Line 66: | ||
NB Disable system login console on Pi to enable AVR UART2 comms. | NB Disable system login console on Pi to enable AVR UART2 comms. | ||
- | == Motors | + | == Motor I/O == |
__GPIO__ | __GPIO__ | ||
Line 91: | Line 92: | ||
</ | </ | ||
- | __NEMA17__ | + | === Motor wiring === |
+ | |||
+ | __NEMA__ | ||
Left to right (socket pointing upward) | Left to right (socket pointing upward) | ||
+ | |||
+ | This may actually be reversed or just wrong. | ||
< | < | ||
- | 1 PHASE 2 START | + | 1 PHASE 2 START |
2 | 2 | ||
- | 3 PHASE 2 FINISH | + | 3 PHASE 2 FINISH |
- | 4 PHASE 1 FINISH | + | 4 PHASE 1 FINISH |
5 | 5 | ||
- | 6 PHASE 1 START | + | 6 PHASE 1 START |
</ | </ | ||
- | My `generic' | + | __MOTOR__ |
+ | |||
+ | A `generic' | ||
< | < | ||
Line 112: | Line 119: | ||
B+ BLACK | B+ BLACK | ||
</ | </ | ||
+ | |||
+ | My generic cable has the two centre pins twisted. | ||
__PORT__ | __PORT__ | ||
Line 120: | Line 129: | ||
B+ B- A- A+ | B+ B- A- A+ | ||
</ | </ | ||
+ | |||
+ | 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 135: | Line 146: | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[http:// | ||
[[https:// | [[https:// |