1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Really slow unusable LCD

Discussion in 'Mods and Upgrades' started by KTMDirtFace, Sep 9, 2015.

  1. KTMDirtFace

    KTMDirtFace Well-Known Member

    Joined:
    May 18, 2015
    Messages:
    1,247
    Likes Received:
    461
  2. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,806
    Likes Received:
    3,521
    No, it has to do with the processing power of the Arduino. It is just underpowered for all they are trying to do, so they sacrificed LCD updating for other functions. You can adjust the encoder rate in Configuration.h but I don't know how it works. Look for these lines.
    Code:
      #ifndef ENCODER_PULSES_PER_STEP
        #define ENCODER_PULSES_PER_STEP 5  //default 4
      #endif
    
      #ifndef ENCODER_STEPS_PER_MENU_ITEM
        #define ENCODER_STEPS_PER_MENU_ITEM 4  //default 1
      #endif
     
  3. KTMDirtFace

    KTMDirtFace Well-Known Member

    Joined:
    May 18, 2015
    Messages:
    1,247
    Likes Received:
    461
    Ok thanks

    Waldo did you ever hook up octoprint on a PI? how'd that work out.
     
  4. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,806
    Likes Received:
    3,521
    Perfect, I have OctoPi running hardwired into my router, I can drag and drop files from the web interface and basically control the printer completely from OctoPi. Best thing I did, and it frees up my PC for other things. If I ever decide to get an LCD panel for the Pi2, OctoPanel is already installed. That could mean complete control from the web interface or directly from the Pi. I never use the Full Graphics LCDs SD card anymore, and only use the controller for changing things on-the-fly when I am trying to test new slicer profiles.
     
  5. tonycstech

    tonycstech Active Member

    Joined:
    Dec 16, 2013
    Messages:
    571
    Likes Received:
    190
    #if !defined(LCD_I2C_VIKI)
    #ifndef ENCODER_STEPS_PER_MENU_ITEM
    #define ENCODER_STEPS_PER_MENU_ITEM 5 //5 default
    #endif
    #ifndef ENCODER_PULSES_PER_STEP
    #define ENCODER_PULSES_PER_STEP 0.5 //1 default
    #endif
    #else
    #ifndef ENCODER_STEPS_PER_MENU_ITEM
    #define ENCODER_STEPS_PER_MENU_ITEM 2 // VIKI LCD rotary encoder uses a different number of steps per rotation
    #endif
    #ifndef ENCODER_PULSES_PER_STEP
    #define ENCODER_PULSES_PER_STEP 1
    #endif
    #endif

    Works great !
    One turn, one step.
     
    mark tomlinson likes this.

Share This Page