Repetier Rambo / LCD configuration question

A place to talk about user-made mods and upgrades to their machines
Post Reply
cyrus104
Plasticator
Posts: 16
Joined: Mon Feb 04, 2013 7:37 pm

Repetier Rambo / LCD configuration question

Post by cyrus104 »

I'm trying to upgrade my LCD to the reprapdiscount full graphic smart controller. I'm having a few issues and I wanted to try and get the communities help.

I've tried a bunch of things and started over with fresh configs so that I don't get to far off track.
First thing was changing the FEATURE_CONTROLLER to 11 in configuration.h. At different times, I have also tried to for it to UI_LANGUAGE 0, due to me changing the uimenu.h to the vanilla repetier. This has not yielded any fruit either so I am still using the SeeMeCNC .91 firmware.

I've also changed the ui.h file to reflect the FEATURE_CONTROLLER 13 (Rambo) pins.
To account for the SDCARDDETECT Pin
#if FEATURE_CONTROLLER==2 || FEATURE_CONTROLLER==10 || FEATURE_CONTROLLER==11 // reprapdiscount smartcontroller has a sd card buildin
#undef SDCARDDETECT
#define SDCARDDETECT 81
#undef SDCARDDETECTINVERTED
#define SDCARDDETECTINVERTED false
#undef SDSUPPORT
#define SDSUPPORT true
#endif
#if FEATURE_CONTROLLER==2 || FEATURE_CONTROLLER==10 || FEATURE_CONTROLLER==11 // reprapdiscount smartcontroller (2) gadgets3d (10)
#define UI_HAS_KEYS 1
#define UI_HAS_BACK_KEY 0
#if FEATURE_CONTROLLER==11
#define UI_DISPLAY_TYPE 5
#define U8GLIB_ST7920
#define UI_LCD_WIDTH 128
#define UI_LCD_HEIGHT 64

//select font size
#define UI_FONT_6X10 //default font
#ifdef UI_FONT_6X10
#define UI_FONT_WIDTH 6
#define UI_FONT_HEIGHT 10
#define UI_FONT_SMALL_HEIGHT 7
#define UI_FONT_DEFAULT repetier_6x10
#define UI_FONT_SMALL repetier_5x7
#define UI_FONT_SMALL_WIDTH 5 //smaller font for status display
#define UI_ANIMATION false // Animations are too slow
#endif

//calculate rows and cols available with current font
#define UI_COLS (UI_LCD_WIDTH/UI_FONT_WIDTH)
#define UI_ROWS (UI_LCD_HEIGHT/UI_FONT_HEIGHT)
#define UI_DISPLAY_CHARSET 3
#else
#define UI_DISPLAY_TYPE 1
#define UI_DISPLAY_CHARSET 1
#define UI_COLS 20
#define UI_ROWS 4
#endif
#define BEEPER_TYPE 1
#if FEATURE_CONTROLLER==10 // Gadgets3d shield
#define BEEPER_PIN 33
#define UI_DISPLAY_RS_PIN 16
#define UI_DISPLAY_RW_PIN -1
#define UI_DISPLAY_ENABLE_PIN 17
#define UI_DISPLAY_D0_PIN 23
#define UI_DISPLAY_D1_PIN 25
#define UI_DISPLAY_D2_PIN 27
#define UI_DISPLAY_D3_PIN 29
#define UI_DISPLAY_D4_PIN 23
#define UI_DISPLAY_D5_PIN 25
#define UI_DISPLAY_D6_PIN 27
#define UI_DISPLAY_D7_PIN 29
#define UI_ENCODER_A 35
#define UI_ENCODER_B 37
#define UI_ENCODER_CLICK 31
#define UI_RESET_PIN 41
#else // Smartcontroller
#if MOTHERBOARD==80 // Rumba has different pins as RAMPS!
#define BEEPER_PIN 44
#define UI_DISPLAY_RS_PIN 19
#define UI_DISPLAY_RW_PIN -1
#define UI_DISPLAY_ENABLE_PIN 42
#define UI_DISPLAY_D0_PIN 18
#define UI_DISPLAY_D1_PIN 38
#define UI_DISPLAY_D2_PIN 41
#define UI_DISPLAY_D3_PIN 40
#define UI_DISPLAY_D4_PIN 18
#define UI_DISPLAY_D5_PIN 38
#define UI_DISPLAY_D6_PIN 41
#define UI_DISPLAY_D7_PIN 40
#define UI_ENCODER_A 12
#define UI_ENCODER_B 11
#define UI_ENCODER_CLICK 43
#define UI_RESET_PIN 46
#else
#define BEEPER_PIN 79
#define UI_DISPLAY_RS_PIN 70
#define UI_DISPLAY_RW_PIN -1
#define UI_DISPLAY_ENABLE_PIN 71
#define UI_DISPLAY_D0_PIN -1
#define UI_DISPLAY_D1_PIN -1
#define UI_DISPLAY_D2_PIN -1
#define UI_DISPLAY_D3_PIN -1
#define UI_DISPLAY_D4_PIN 72
#define UI_DISPLAY_D5_PIN 73
#define UI_DISPLAY_D6_PIN 74
#define UI_DISPLAY_D7_PIN 75
#define UI_ENCODER_A 77
#define UI_ENCODER_B 76
#define UI_ENCODER_CLICK 78
#define UI_RESET_PIN 80
#endif
#endif
#define UI_DELAYPERCHAR 320
#define UI_INVERT_MENU_DIRECTION true
#ifdef UI_MAIN
void ui_init_keys() {
UI_KEYS_INIT_CLICKENCODER_LOW(UI_ENCODER_A,UI_ENCODER_B); // click encoder on pins 47 and 45. Phase is connected with gnd for signals.
UI_KEYS_INIT_BUTTON_LOW(UI_ENCODER_CLICK); // push button, connects gnd to pin
UI_KEYS_INIT_BUTTON_LOW(UI_RESET_PIN); // Kill pin
}
void ui_check_keys(int &action) {
UI_KEYS_CLICKENCODER_LOW_REV(UI_ENCODER_A,UI_ENCODER_B); // click encoder on pins 47 and 45. Phase is connected with gnd for signals.
UI_KEYS_BUTTON_LOW(UI_ENCODER_CLICK,UI_ACTION_OK); // push button, connects gnd to pin
UI_KEYS_BUTTON_LOW(UI_RESET_PIN,UI_ACTION_RESET);
}
inline void ui_check_slow_encoder() {}
void ui_check_slow_keys(int &action) {}
#endif
I'm sure there are other things that I've been trying but does anyone have any tip?

Thanks
cyrus104
Plasticator
Posts: 16
Joined: Mon Feb 04, 2013 7:37 pm

Re: Repetier Rambo / LCD configuration question

Post by cyrus104 »

So as it turns out, the encoder/beeper/sdcard are all working. The lcd is just putting anything up to it. After looking at the schematics, I'm sure that the exp1 and exp2 are correctly hooked up. I'm starting to wondering if it's something specific with my lcd, it's brand new out of the box as of several months ago and I've never used it so I wanted to add it to the Orion for the heck of it.

Thanks
brent
Printmaster!
Posts: 247
Joined: Fri Dec 06, 2013 10:24 pm
Location: Mass.

Re: Repetier Rambo / LCD configuration question

Post by brent »

cyrus104 wrote:So as it turns out, the encoder/beeper/sdcard are all working. The lcd is just putting anything up to it. After looking at the schematics, I'm sure that the exp1 and exp2 are correctly hooked up. I'm starting to wondering if it's something specific with my lcd, it's brand new out of the box as of several months ago and I've never used it so I wanted to add it to the Orion for the heck of it.

Thanks
You might want to take this issue up with RRD if you're not getting any positive results from it.
Post Reply

Return to “Mods and Upgrades”