Welcome! Log In Create A New Profile

Advanced

GLCD encoder not working

Posted by tanner331 
GLCD encoder not working
October 01, 2017 01:49PM
Hi
I have a smoothieboard 5x and I installed a reprap discount GLCD, and the encoder is not working on it.
The button on the encoder works but not the encoder itself, when you turn it nothing happens.
I was wondering what I can do to troubleshoot this?
I have the 5v regulator on the LCD adaptor board.
The board is powered by a both a 12v power supply and a 5v power supply as described in the setup.

Here is the section of code pertaining to the LCD panel.
# Panel
panel.enable true # set to true to enable the panel code
panel.lcd reprap_discount_glcd # set type of panel
panel.encoder_a_pin 3.25!^ # encoder pin
panel.encoder_b_pin 3.26!^ # encoder pin

# Example for reprap discount GLCD
# on glcd EXP1 is to left and EXP2 is to right, pin 1 is bottom left, pin 2 is top left etc.
# +5v is EXP1 pin 10, Gnd is EXP1 pin 9
panel.lcd reprap_discount_glcd #
panel.spi_channel 0 # spi channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
panel.spi_cs_pin 0.16 # spi chip select ; GLCD EXP1 Pin 4
panel.encoder_a_pin 3.25!^ # encoder pin ; GLCD EXP2 Pin 3
panel.encoder_b_pin 3.26!^ # encoder pin ; GLCD EXP2 Pin 5
panel.click_button_pin 1.30!^ # click button ; GLCD EXP1 Pin 2
panel.buzz_pin 1.31 # pin for buzzer ; GLCD EXP1 Pin 1
panel.button_pause_pin 2.11^ # kill/pause ; GLCD EXP2 Pin 8 either
panel.back_button_pin 2.11!^ # back button ; GLCD EXP2 Pin 8 or

# pins used with other panels
#panel.up_button_pin 0.1! # up button if used
#panel.down_button_pin 0.0! # down button if used
#panel.click_button_pin 0.18! # click button if used

panel.menu_offset 0 # some panels will need 1 here

panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min
panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min
panel.gamma_jog_feedrate 200 # z jogging feedrate in mm/min

panel.hotend_temperature 185 # temp to set hotend when preheat is selected
panel.bed_temperature 60 # temp to set bed when preheat is selected

Thanks
Tanner
Sorry, only registered users may post in this forum.

Click here to login