Maesto Running out of GPIOs
-
Hi, I am running a Maestro and have connectet some buttons to exp_0/1. I now want to install a Fysetc mini12864. Is it possible to use TWDO0 and TWCK0 or some other pin for the button in oder to free up exp_0/1 for use with the display.
Link to the display i have: https://de.aliexpress.com/item/32970685629.html?spm=a2g0o.order_list.order_list_main.5.392e5c5fGI3wnq&gatewayAdapt=glo2deu
-
@Lee Which version of the Fysetc mini12864 did you buy? Because afaik only the v1.2 with fixed backlight work on the Maestro. v2.0 with 3x PWM pins for RGB definitely doesn't, and V2.1 needs a pin to control the Neopixel LEDs and might work with RRF 3.5.0-beta4, but hasn't been tested. See https://docs.duet3d.com/en/User_manual/Connecting_hardware/Display_12864#compatibility-matrix and the section after it for Maestro.
Yes, I would have thought you could use TWDO0 and TWCK0 for the buttons, if you're not already using them for something else.
Ian
-
@droftarts I have exactly the display from the link I provided. Should be the V1.2 with the white backlight.
Are there any other pin I can use besides TWDO0 and TWCK0 because if I use those I would need to change the config every time I want to use an accelerometer? What would not be a huge problem but if there are any other pins I can use why not use those. -
@Lee how often in the lifetime of a printer do you use the accelerometer though? Those frequencies should only change with a complete print head replacement or other considerable changes to the motion system or rigidity of the frame...
-
@Lee are you using spi.cs1 and spi.cs2 on the temp_db header? I updated the accelerometer page yesterday, as we have changed the recommended wiring for it to use these.
Ian
-
@Lee maybe it would be helpful to give an indication of the pins you are already using?
a photo of the board and a copy of your config may be useful -
@droftarts I will change my wiring according to the new recomendations.
@JAY_S_UK i marked the pins i use