Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GU128x64-800B VFD-Display not working properly. #2071

Closed
Jan1503 opened this issue Jan 7, 2023 · 9 comments
Closed

GU128x64-800B VFD-Display not working properly. #2071

Jan1503 opened this issue Jan 7, 2023 · 9 comments

Comments

@Jan1503
Copy link

Jan1503 commented Jan 7, 2023

Hi!

Just saw that your wonderful library supports this retro vfd-display thanks to a request about a year ago by @Bankst .

However I cant get it to work in SPI-Mode whether I use hw or sw-spi it stays dark.
The Adafruit-GFX compatible library mentioned in the initial issue works without a problem so wiring should be fine.

I then desoldered the jumper to put it back in parallel mode and then it works but its very dark.

image

If I reset the display and connect the test-pin it is very bright so your library seems to dim the display.
Setting the contrast has no effect.

Would you mind take a quick look?
Thanks!

@olikraus
Copy link
Owner

olikraus commented Jan 7, 2023

I don't own such a display, so I can't do any tests. I am open to any suggestions.

@Jan1503
Copy link
Author

Jan1503 commented Jan 7, 2023

I bought them from ebay currently...

Where should I take a look about the brightness in your code? It would be ok to use the parallel mode but not if I cant increase the brightness.

@olikraus
Copy link
Owner

olikraus commented Jan 7, 2023

The default brightness is assigned here:

U8X8_C(0x4f), /* max brightness */

Hmm, I don't remember whether I had any information on the commands...

@olikraus
Copy link
Owner

olikraus commented Jan 7, 2023

Regarding SPI, you could test with different SPI modes. Those modes might depend also on the target uC:

/* spi_mode = */ 2, /* active high, rising edge */

I think in issue #1604 most implementation was done by @Bankst
Especially I don't have any detailed specification for this display, which makes it very hard to understand the brightness problems. I think it could be downloaded from here https://www.noritake-elec.com/products/model?part=GU128X64-800B but it requires registration.

@Jan1503
Copy link
Author

Jan1503 commented Jan 7, 2023

I think this is the full datasheet?
GU128x64-800B

It seems 4F should be 40 instead according to page 7 and 9 but I might be wrong, took just a quick look while traveling.
But the display seems to initialize at 100% according to page 8, chapter 9.3.

@olikraus
Copy link
Owner

olikraus commented Jan 7, 2023

Ok, so it should be 0x40 for 100% brightness, right?

@Jan1503
Copy link
Author

Jan1503 commented Jan 8, 2023

Yes, I can confirm after setting 0x40 display is full bright. You may even omit the sequence as the display initializes to full brightness after start.

Your setContrast method for this display must be altered, too.

olikraus added a commit that referenced this issue Jan 8, 2023
@olikraus
Copy link
Owner

olikraus commented Jan 8, 2023

Yes, i have updated the default init and also the set contrast function: https://github.com/olikraus/u8g2/blob/master/csrc/u8x8_d_gu800.c

You can check the changes here: cd44b05

Shell I create a release? Instead of a full release you could just copy this file to your local u8g2 installation.

@Jan1503
Copy link
Author

Jan1503 commented Jan 16, 2023

Sorry for my late reply.
No extra release necessary.
Regards!

@Jan1503 Jan1503 closed this as completed Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants