Closed peteGSX closed 2 years ago
To leave enough pins for the GC9A01, plus free up 2 if an interrupt pin is required, this looks like the best option which requires moving the stepper controller pins to analog pins, this all requires testing/validation of course.
GC9A01: SPI data (MOSI) DIN - must be pin 11 SPI clock (SCK) CLK - must be pin 13 CS - chip select (low active) - 12 D/C - high data, low command - 10 RST - (low active) - 9 BL - backlight - 8
ULN2003: IN1 - A0 IN2 - A1 IN3 - A2 IN4 - A3
Relays: IN1 - 3 IN2 - 4
Hall effect: S - 5
LED - 6 Acc - 7
The branch for this will also close https://github.com/DCC-EX/Turntable-EX/issues/33
Considering future potential to allow DCC control of Turntable-EX (may or may not be a good idea), we need to shuffle the homing sensor and relay pins to free up the interrupt capability of pin 2.
Moving the home sensor to pin 5 is all that's required here.