DCC-EX / EX-Turntable

Turntable-EX is a new feature to control a stepper motor based turntable from DCC++ EX
GNU General Public License v3.0
6 stars 5 forks source link

Investigate GC9A01 round display #15

Closed peteGSX closed 1 year ago

peteGSX commented 2 years ago

@Kcsmith0708 raised the interesting idea of using a GC9A01 driver and a round display to represent the turntable activities.

Need to look into the feasibility of this, if it would require some more processing/memory than the Nano provides (references talk about ESP32), and what libraries etc. would be required to make this a reality.

YouTube reference: https://www.youtube.com/watch?v=Y0BGnHFuYBU

peteGSX commented 2 years ago

Better info specific to Nano to help with understanding which pins to leave free in other feature work: https://www.instructables.com/ArduinoGFX/

peteGSX commented 2 years ago

Connection summary from the previously linked page shows pin conflicts with existing stepper controller pins, particularly 11 which is required for SPI data, but also the planned use of 13 as a LED pin will conflict with the SPI CLK function.

Will also need 3.3K resistors for safety for 3.3V devices.

Leaving existing pin configuration as-is for Alpha testing until I can spend some time on the display for feasibility, and then when I can finalise exactly which pins are required, the stepper and other pin allocations can be adjusted before going to a public Beta testing phase.

Arduino Nano -> ILI9341 Vin -> Vcc GND -> GND GPIO 9 -> 3.3k resistor -> CS GPIO 7 -> 3.3k resistor -> RESET GPIO 8 -> 3.3k resistor -> D/C GPIO 11(MOSI) -> 3.3k resistor -> SDI(MOSI) GPIO 13(SCK) -> 3.3k resistor -> SCK GPIO 6 -> LED

peteGSX commented 1 year ago

This won't form part of EX-Turntable, however is now done as part of my DCC-EX rotary encoder project: https://github.com/peteGSX-Projects/dcc-ex-rotary-encoder