That is easy, I have a nice step bit for that. Thank you very much!
https://plus.google.com/u/0/105504973000570609199/posts/Sgn7c8W8TDK?sfc=true
Make sure to take note of the need to adjust the fonts
Thank you!
What board did you use? I have the Cohesion 3D board - am trying to get the GLCD Panel - I have the same one as you, but I only get the blue screen of death. The Config file does have the GLCD portion enabled,
@greg_greene Cohesion3d. Make sure your ribbon cables are plugged in the right way. If so try flipping the expansion board around and make sure you’re sitting correctly on the header pins.
the ribbon cables are all keyed - so they can only go in one way, I have tried switching them and reversing the sxpansion board - but it’s either nothign at all, or the blue screen of death.
I remember EXP1 and EXP2 not being identified very well on the board that Ray was providing. If you have it wired right, here is my part of the config, maybe it will help you?
Panel
panel.enable true # set to true to enable the panel code
Example for reprap discount GLCD
on glcd EXP1 is to left and EXP2 is to right, pin 1 is bottom left, pin 2 is top left etc.
+5v is EXP1 pin 10, Gnd is EXP1 pin 9
panel.lcd reprap_discount_glcd #
panel.spi_channel 0 # spi channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
panel.spi_cs_pin 0.16 # spi chip select ; GLCD EXP1 Pin 4
panel.encoder_a_pin 3.26!^ # encoder pin ; GLCD EXP2 Pin 3
panel.encoder_b_pin 3.25!^ # encoder pin ; GLCD EXP2 Pin 5
panel.click_button_pin 1.30!^ # click button ; GLCD EXP1 Pin 2
panel.buzz_pin 1.31 # pin for buzzer ; GLCD EXP1 Pin 1
panel.back_button_pin 2.11!^ # back button ; GLCD EXP2 Pin 8
panel.encoder_resolution 4 #override the default resolution of 2 for number of steps per detent on the encoder
Thanks Carl - I’ll give it a try
Also if you do get it working, take note of that additional line for panel.encoder_resolution. Without that, one click on the rotary would jump like 2 or 3 lines making it impossible to use the rotary. That was a little hidden gem that @raykholo found for me in one of the smoothie guides somewhere.
Ray is a great source of info !
OK Carl, I found these two lines reversed
panel.encoder_a_pin 3.26!^ # encoder pin ; GLCD EXP2 Pin 3
panel.encoder_b_pin 3.25!^ # encoder pin ; GLCD EXP2 Pin 5
from Ray’s cfg in that he has pin 3 at 3.25! and pin 5 at 3.26!
stlil doesnt work though
OH, I forgot. There is a small trim pot on the GLCD board below the screen. Try turning that. It manually adjusts the contrast.
OK, Is the screen normally blue, or normally dark with blue lettering?
It could go either way depending on how much you jack with the contrast. Mine currently is blue with light blue/white text. If you crank it too far you may get into a polarized version where the text is darker. Each board seems to behave a bit differently.
Ok, I get no change with the pot at all, just a bright blue screen so It’s looking more and more like a dead panel strange that your cfg and Rays are different on those two pins - but he may have a different panel maker. Nothing from China is built in any reasonably standard manner it seems !!
yeah, he did mention to me originally that it was a crap shoot with these boards. Mine for example isn’t nearly as bright and easy to read as some of the others I’ve seen no matter what I do with it. Lots of stories of dead boards which is why I bought mine from Amazon instead of someone like Bangood. I wanted ease of dispute if something was bad and through prime they’d take it back for exchange no questions asked if I had needed it.
Got mine through Ebay - and they’re good too, so I’ll try and get another one and see, always an adventure with these things isn’t it !!
Looking at the board in this orientation, EXP1 is to the right, closest to the power connection and obviously EXP2 is to the left. Just want to make sure you’re in the correct orientation. If that’s correct and your config is right and the pot doesn’t do anything, sounds like you may have a bad GLCD
Your connectors are orientated different than mine, which way do the tabs face?
the tabs face to the outside of the board.