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:56] – [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. | + | This may actually be reversed |
< | < | ||
Line 106: | Line 109: | ||
</ | </ | ||
- | My `generic' | + | __MOTOR__ |
+ | |||
+ | A `generic' | ||
< | < | ||
Line 114: | Line 119: | ||
B+ BLACK | B+ BLACK | ||
</ | </ | ||
+ | |||
+ | My generic cable has the two centre pins twisted. | ||
__PORT__ | __PORT__ | ||
Line 121: | Line 128: | ||
< | < | ||
B+ B- A- A+ | B+ B- A- A+ | ||
- | B2 B1 A1 A2 | ||
</ | </ | ||
+ | |||
+ | 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 138: | Line 146: | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[http:// | ||
[[https:// | [[https:// |