Sanguinololu + Full graphics controller #2482
Comments
|
Have you tried adjusting the contrast? |
|
There does not seem to be any way to adjust the contrast on this panel. No trimpots anywhere. |
|
Could be the default contrast value for the display isn't correct then. It
|
|
Just did a quick test with a 2k2 resistor between gnd and contrast. The contrast lowered down to where the grid was barely visible, but still all I can see is the grid. So does not seem to be a contrast issue. Btw, the picture above was taken at an angle where the grid was most visible. It does not look that bad to the naked eye Also, what I forgot to mention earlier - the SD card fails to initialize. That's what got me to think that maybe it's as simple as having two swapped pins and LCD data is being passed to the SD and vice versa. |
|
Grab the schematic for your board and the LCD and cross reference with the pins_board.h file you're using, that would tell you whether the pins are wrong. |
|
Are you sure it's hooked on correctly? |
|
I guess I'll have to bust the sanguinololu out of the printer again and take a look at the pin mapping then... That was going to be my last resort as it's the Printrbot Original and there's no easy way of doing it. I was hoping that someone who has the panel working with Sanguinololu would just ride in on a white horse and say "Yes, this is the correct pin mapping for you: ta-dah!" :) I'm pretty sure I have the connectors hooked up the right way, as reset button and selector wheel with click all work just fine and they use pins from both headers. |
|
Progress!! As I suspected, it was the pins.h This is what I did:
|
|
@thucar I actually had similar-looking glitches when trying to figure out how to connect a text-based LCD to my Melzi. It was surprisingly hard to find solid info on what numbers the pins correspond to, so i uploaded a little "1 second pulse" program and checked which pin was flashing with the buzzer. The pinout i got for the Melzi is as follows:
This may be different for the Sanguino because it has 4 additional pins in the header, two of which are for +12V/GND, and the other two are an extra digital and analog pin. The beeper and encoder have nothing to do with the LCD, so they will work even when it's off. |
|
@Nprod Do you have any idea which pins were incorrect when you got the glitchy display? I'm trying to narrow it down to individual pins. Right now I gather the LCD only needs 3 pins to work: I've mapped all pins using the wiki image (it seems the silkscreen has an error - PWM/D12 should be PWM/D4): And cross referenced that against both the sanguinololu and Full graphics display schematics. This is the physical pinout:
|
|
If you got this far, (Having a picture but scrambled) |
|
I'm running the Development branch |
|
What resonator frequency are you using? |
|
@chris-bo You, sir, are THE man That did it! I now have a purrty and stable display. Also, this fixed my SD card initialization issue... makes sense.
False alarm, it was just me messing with the files I was not supposed to be messing with. Case closed! |
|
So, as a summary… You found that…
…? I just want to make sure that no extra changes to Marlin are needed, but maybe we need some extra documentation about that potential display issue. |
To this:
|
- Change suggested at MarlinFirmware#2482 (comment) 266
|
Thanks @thucar! So it looks like the essence of your change is in the comment #2482 (comment). I've made a PR cleaning up the |
|
Looking good, @thinkyhead! Also, since I discovered that the following pins have no actual use with the Full graphics controller: I've gone and scavenged those for other useful purposes. I'm now using Pin 29 for LCD RESET, which frees up the sole PWM pin to be used as FAN_PIN |
- Change suggested at #2482 (comment) 266
|
@thucar D4,5,6 and 7 are for the text-based LCD's in 4-bit parallel mode. When using SPI or I2C you need way fewer pins than that, leaving a few for the encoder, beeper and a few other things. |
|
@wvdakker - please open a new issue for your problem |
|
Did you get the display problem resolved? If so, can you share the fix, as Ian having the same problem. Thanks. |
|
What problem? |
|
See issue #3815. |
- Change suggested at MarlinFirmware#2482 (comment) 266
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
3 similar comments
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |


I've been struggling with this one for couple months now.
I have the 12864 Full Graphics Smart Controller hooked up to my Sanguinololu but all I'm seeing is this:

At the same time, trying to blindly navigate the menu using the click-wheel works just fine. So it must be something in the pins.h that's not adding up.
The text was updated successfully, but these errors were encountered: