The X5 GT supports direct plug-in of the Viki2 / miniViki display using the supplied IDC cable. EXP2 and several pins on EXP1 are used by the display. 






Pins used by 4 wire cable


  • On-board button - Blue wire - 1.30
  • Buzzer - Green wire - 1.31
  • Blue LED - White wire - 1.20
  • Red LED - Yellow wire - 1.19


Edit config file to enable the display


# Panel See http://smoothieware.org/panel
panel.enable                                 true            # set to true to enable the panel code

# Example viki2 config for Re-ARM with IDC cable
panel.lcd                                    viki2             # set type of panel
panel.spi_channel                            0                 # set spi channel to use P0_18,P0_15 MOSI,SCLK
panel.spi_cs_pin                             0.16              # set spi chip select
panel.encoder_a_pin                          3.25!^            # encoder pin
panel.encoder_b_pin                          3.26!^            # encoder pin
panel.click_button_pin                       2.11!^            # click button
panel.a0_pin                                 2.6               # st7565 needs an a0
panel.contrast                               8                 # override contrast setting (default is 9)
panel.encoder_resolution                     4                 # override number of clicks to move 1 item (default is 4)
#panel.button_pause_pin                      1.22^             # kill/pause set one of these for the auxilliary button on viki2
#panel.back_button_pin                       1.22!^            # back button recommended to use this on EXP1
panel.buzz_pin                               1.30              # pin for buzzer on EXP2
panel.red_led_pin                            0.26               # pin for red led on viki2 on EXP1
panel.blue_led_pin                           1.21              # pin for blue led on viki2 on EXP1
panel.external_sd                            true              # set to true if there is an extrernal sdcard on the panel
panel.external_sd.spi_channel                0                 # set spi channel the sdcard is on
panel.external_sd.spi_cs_pin                 1.23              # set spi chip select for the sdcard
panel.external_sd.sdcd_pin                   1.31!^            # sd detect signal (set to nc if no sdcard detect)
panel.menu_offset                            1                 # some panels will need 1 here