Welcome, Guest. Please Login or Register. May 8th, 2024, 7:55am
Home Home Help Help Search Search Members Members Login Login Register Register
OkOb Web Forum « Marlin X2 Issue »


   OkOb Web Forum
   3D Printing
   3D Printing and RepRap X2 Discussion
(Moderator: Denis Bakin)
   Marlin X2 Issue
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Marlin X2 Issue  (Read 1781 times)
samo
YaBB Senior Member
****



I love YaBB 1G - SP1!

   


Posts: 31
Marlin X2 Issue
« on: Nov 3rd, 2015, 1:24pm »
Quote Quote Modify Modify

Im using megatronic V2.0 with full graphics 12864 LCD ,  
after some change in pin.h and configuration.h finally LCD working but it has some issue to work with sub menu , at first i can to go in Marlin X2 menu but when i select Control --> Temperture board will hang , if i go to control --> Motion it will jump to main page that showing extruder and temp and fan etc. after 2 days finally i uploaded in board Marlin-Graphical LCD firmware and everything in LCD working well i can go to all menu and sub menu with out problem . it is something wrong with Maarlin X2 firmware , can you help me to fix it please
IP Logged
Denis Bakin
YaBB Administrator
*****





   
WWW

Gender: male
Posts: 163
Re: Marlin X2 Issue
« Reply #1 on: Nov 3rd, 2015, 2:17pm »
Quote Quote Modify Modify

I have my hands full at the moment, so won't have much time to investigate anything new, but will be able to answer questions about the current code.  
Here are some potential troubleshooting pointers:
1. Try searching the Marlin Github repository for any commits with tweaks for supporting that specific LCD module.  
2. Do you know what's the difference between yours and LCD being used in X2V3 http://www.okob.net/projects/reprap_x2v3/lcd.htm ?
3. Check the above URL for the compiler version number, are you using 1.0.6 or different?
4. Try to walk through the elimination process. Are there any sub-menus that work? Anything common between them or those that do not work?  
5. Is there anything helpful here  
https://github.com/olikraus/u8glib/wiki  
or here
https://github.com/olikraus/dogm128/wiki ?
IP Logged

---------------------------
Denis Bakin
samo
YaBB Senior Member
****



I love YaBB 1G - SP1!

   


Posts: 31
Re: Marlin X2 Issue
« Reply #2 on: Nov 3rd, 2015, 6:30pm »
Quote Quote Modify Modify

Problem Solved ,  
in configuration.h i added
#if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
 #define ULTIPANEL
 #define NEWPANEL
#endif  
 
//  I Added
 
#if defined(REPRAPWORLD_KEYPAD)
  #define NEWPANEL
  #define ULTIPANEL
#endif
#if defined(RA_CONTROL_PANEL)
 #define ULTIPANEL
 #define NEWPANEL
 #define LCD_I2C_TYPE_PCA8574
 #define LCD_I2C_ADDRESS 0x27   // I2C Address of the port expander
#endif
 
//I2C PANELS
 
//#define LCD_I2C_SAINSMART_YWROBOT
#ifdef LCD_I2C_SAINSMART_YWROBOT
  // This uses the LiquidCrystal_I2C library ( https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home )
  // Make sure it is placed in the Arduino libraries directory.
  #define LCD_I2C_TYPE_PCF8575
  #define LCD_I2C_ADDRESS 0x27   // I2C Address of the port expander
  #define NEWPANEL
  #define ULTIPANEL  
#endif
 
// PANELOLU2 LCD with status LEDs, separate encoder and click inputs
//#define LCD_I2C_PANELOLU2
#ifdef LCD_I2C_PANELOLU2
  // This uses the LiquidTWI2 library v1.2.3 or later ( https://github.com/lincomatic/LiquidTWI2 )
  // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.
  // (v1.2.3 no longer requires you to define PANELOLU in the LiquidTWI2.h library header file)
  // Note: The PANELOLU2 encoder click input can either be directly connected to a pin  
  //  (if BTN_ENC defined to != -1) or read through I2C (when BTN_ENC == -1).  
  #define LCD_I2C_TYPE_MCP23017
  #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
  #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD
  #define NEWPANEL
  #define ULTIPANEL  
#endif
 
// Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
//#define LCD_I2C_VIKI
#ifdef LCD_I2C_VIKI
  // This uses the LiquidTWI2 library v1.2.3 or later ( https://github.com/lincomatic/LiquidTWI2 )
  // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.
  // Note: The pause/stop/resume LCD button pin should be connected to the Arduino
  //  BTN_ENC pin (or set BTN_ENC to -1 if not used)
  #define LCD_I2C_TYPE_MCP23017  
  #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
  #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD (requires LiquidTWI2 v1.2.3 or later)
  #define NEWPANEL
  #define ULTIPANEL  
#endif
 
// End I Added
 
Then change parameter as below
#ifdef DOGLCD // Change number of lines to match the DOG graphic display
  //#define LCD_WIDTH 128
  //#define LCD_HEIGHT 64
  #define LCD_WIDTH 20
  #define LCD_HEIGHT 5
 #else
  //#define LCD_WIDTH 128 //IZA Page
  //#define LCD_HEIGHT 64
  #define LCD_WIDTH 20
  #define LCD_HEIGHT 4
 #endif
#else //no panel but just lcd  
  #ifdef ULTRA_LCD
 #ifdef DOGLCD // Change number of lines to match the 128x64 graphics display
  #define LCD_WIDTH 128
  #define LCD_HEIGHT 64
  //#define LCD_WIDTH 20
  //#define LCD_HEIGHT 5
 #else
  //#define LCD_WIDTH 128
  //#define LCD_HEIGHT 64
  #define LCD_WIDTH 16
  #define LCD_HEIGHT 2
 #endif    
IP Logged
Denis Bakin
YaBB Administrator
*****





   
WWW

Gender: male
Posts: 163
Re: Marlin X2 Issue
« Reply #3 on: Nov 4th, 2015, 12:00am »
Quote Quote Modify Modify

Great! If you'd like the changes to be in the repository submit a pull request or let me know where to pull them from.
IP Logged

---------------------------
Denis Bakin
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Home OkOb Web Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB © 2000-2003. All Rights Reserved.