RADDS Board with Full Graphic Reprap Clone
Hi,
I'm trying to get this Display: Sintron LCD 12864 Graphic Smart Display Controller
running with my RADDS/Arduino Due Board.
If I've read the RADDS schematics right, the LCD Expansion Port on the Radds uses the following Arduino Pins:
LCD_RS - D42
LCD_E - D43
LCD_4 - D44
LCD_5 - D45
LCD_6 - D46
LCD_7 - D47
I've edited the uiconfig.h:
Line 101: #define UI_DISPLAY_TYPE 5
Line 193+:
#else // Direct display connections
#define UI_DISPLAY_RS_PIN 42 // PINK.1, 88, D_RS
#define UI_DISPLAY_RW_PIN -1
#define UI_DISPLAY_ENABLE_PIN 43 // PINK.3, 86, D_E
#define UI_DISPLAY_D0_PIN -1 // PINF.5, 92, D_D4
#define UI_DISPLAY_D1_PIN -1 // PINK.2, 87, D_D5
#define UI_DISPLAY_D2_PIN -1 // PINL.5, 40, D_D6
#define UI_DISPLAY_D3_PIN -1 // PINK.4, 85, D_D7
#define UI_DISPLAY_D4_PIN 44 // PINF.5, 92, D_D4
#define UI_DISPLAY_D5_PIN 45 // PINK.2, 87, D_D5
#define UI_DISPLAY_D6_PIN 46 // PINL.5, 40, D_D6
#define UI_DISPLAY_D7_PIN 47 // PINK.4, 85, D_D7
#define UI_DELAYPERCHAR 50
But the Display stays clear....
I've tried the Display with an Arduino Mega 1280 and it worked so the Display itself and the Contrast should be no problem
Greets
Daniel
I'm trying to get this Display: Sintron LCD 12864 Graphic Smart Display Controller
running with my RADDS/Arduino Due Board.
If I've read the RADDS schematics right, the LCD Expansion Port on the Radds uses the following Arduino Pins:
LCD_RS - D42
LCD_E - D43
LCD_4 - D44
LCD_5 - D45
LCD_6 - D46
LCD_7 - D47
I've edited the uiconfig.h:
Line 101: #define UI_DISPLAY_TYPE 5
Line 193+:
#else // Direct display connections
#define UI_DISPLAY_RS_PIN 42 // PINK.1, 88, D_RS
#define UI_DISPLAY_RW_PIN -1
#define UI_DISPLAY_ENABLE_PIN 43 // PINK.3, 86, D_E
#define UI_DISPLAY_D0_PIN -1 // PINF.5, 92, D_D4
#define UI_DISPLAY_D1_PIN -1 // PINK.2, 87, D_D5
#define UI_DISPLAY_D2_PIN -1 // PINL.5, 40, D_D6
#define UI_DISPLAY_D3_PIN -1 // PINK.4, 85, D_D7
#define UI_DISPLAY_D4_PIN 44 // PINF.5, 92, D_D4
#define UI_DISPLAY_D5_PIN 45 // PINK.2, 87, D_D5
#define UI_DISPLAY_D6_PIN 46 // PINL.5, 40, D_D6
#define UI_DISPLAY_D7_PIN 47 // PINK.4, 85, D_D7
#define UI_DELAYPERCHAR 50
But the Display stays clear....
I've tried the Display with an Arduino Mega 1280 and it worked so the Display itself and the Contrast should be no problem
Greets
Daniel
Comments
yes, on the Mega 1280 I successfully tested it with repetier. I told the configurator it would be an Mega1280 with Ramps 1.3 and wired it by hand. I was able to navigate through the menus.
I compared the uiconfig.h from the mega with the on from the due and could find no differences beside the pinout.
i've found out that i have Version 1.11 installed, but version 1.17 is available...
i will try to update and test again
I will try to get the Display running with Marlin oder directly with the u8glib... but only for testing - my goal is it to get repetier running with this display
Due to too much work, I had no time to try any further.
But I have found a possible reason for the LCD not showing anything. I've read a datasheet for a similar LCD and there is 0,7*VDD mentioned as minimal H Level for the Signallines. VDD for the Display is 5V, so 0,7*VDD would be 3.5V. The DUE runs with 3.3V so I think I will need a levelshifter for the signallines.
When I find some time I will give it a try this weekend.
To get back to Basic, i thought it would be simpler to use a normal 20x4 Text LCD, but also here i get no picture on the LCD...
I've loaded my old configuration.h (with the running config w/o LCD) and changed the LCD Part to RADDS LCD...
Is there anything else to change?
I wired the LCD as shown here: http://www.dr-henschke.de/LCD_Enc_SD_11.pdf
but Without the SD part.
Another strange behavior: Before I could use the onboard micro SD without Problems... but since I changed the config, i get SD card inserted
SD init fail
and also some restarts in the log...
it's running!
It was all about the cable length! At least the Text Display. The cables must not be longer than 20 cm to get somthing displayed!
So Due+Radds+20x4 Textdisplay is working
A few minutes ago I tried cabeling the Full Graphic Clone directly to a Due just with to 74HC125 as levelshifters and its also working!
So now I have to find the reason for being limited to such short cables.
Tried 25 cm cable still fail but succeed on 15cm cable.
I do it without levelshifter.
How to make it longer.