-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Two new/old China Displays/Add support for HX1230 #469
Comments
The HX1230 looks like a PCF8812 controller: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp#pcf8812-96x65 |
I have tested some random not work : U8G2_SSD1322_NHD_256X64_1_4W_SW_SPI u8g2(U8G2_R0, Background light flicker U8G2_SSD1606_172X72_1_4W_SW_SPI u8g2(U8G2_R0, Mr. Chinese has release a chinese Dataguide but too much chinese i lever learned chinese language to understand it. Maybee you understand some of it https://cdn.instructables.com/ORIG/F4Y/Z9ZU/J76GKXJX/F4YZ9ZUJ76GKXJX.pdf On backside the lcd there is chinese sign and maybe Korean sign and big hx1230 96 x 68 |
Did you Test U8G2_PCF8812_96X65_1_4W_SW_SPI? |
Yes i tested all listed above and now again the U8G2_PCF8812_96X65_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=/ 13, / data=/ 11, / cs=/ 10, / dc=/ 9, / reset=*/ 8); // Could be also PCF8814 The display has only CE and i have put CS and later DC on it with no reaction... ok little reaction.. the light flicker some rythmic. Backside is GND | BL | VCC | CLK | DIN | N/C | CE | RST Shall i destroy my LCD and look behind the LCD so I maybe can find an IC Name or other usefull information for you? I have only one. Order a new one take time but ofcourse it is not very expensive, sometimes a little cheaper than the good old 5110nokia |
well, i think there is too less of information, so adding support to u8g2 will be too difficult... |
I have ordered one of these displays from here: It will usually take 4 weeks to reach me. |
Dear Codemaster, I feel very ashamed to have compelled you to buy this LCD. Excuse me. But also thanks for your help for me and other users with great support and cordialiti. |
No issue. It is (A) very cheap and (B) I did this before with many other displays. ;-) |
display arrived... next step: implementation |
Politely asking Hi, can you estimate how long this will take? (I really like the backlight of this display and want to use it for a project that I have to hand in mid-February.) No pressure at all (I have also other displays) :) |
Well, yes... First I started to translate the chinese documentation. So here is the English version of the HX1230 command table:
|
done I personally would say, that there are better displays: The contrast is still a little bit high and can not be reduced further (maybe i should test 3.3V power supply). There seems to be only one backlight LED in the upper left corner which leads to a little bit unbalanced backlight. But no doubt, price is great. @bobybobybob
So from that perspective it was no wonder, that none of the other displays did work. |
please download U8g2 2.21.6 from here: Install via Arduino IDE (add zip lib menu). Will the HX1230 support work for you? |
looks good :-) |
Thank you very much :) It works for me too. Except for rotation levels R2 and R3 (as constructor value), so rotating by 180 and 270 degrees doesn't work at all. |
Oh, then maybe I have to check the rotations. Thanks for the feedback. |
I checked this, for R2 and R3 some rows/columns are missing. i will do some further investigation. |
Fixed R2 and R3. |
…3 do not show the lower four rows. This is fixed. Issue #469
The commands to flip the HX1230 180 degrees are similar to other controllers: 0xc8 + 0xa1 |
Is this a question or a bug report? |
In your code repo, it appears that the flip180 logic for the HX1230 is commented out. I thought you would find it useful to know the 2 commands needed to implement it. (0xc0 & 0xa0 resets to normal). |
oh, I did not know this... I will test this... |
Excellent. Works without problem. Thanks a lot. |
@olikraus 3 additional commands for your table above:
If you flip both horizontal and vertical, it's effectively a rotate 180 deg. If you don't use the RST pin (connect to VCC), you can perform a reset in software with 0xe2. |
Great, thanks for the additional commands. |
Hello Great Codemaster
do you know what Chip is used for that Mono 128x64 Orange Display? https://aliexpress.com/item/LCD12864-LCD-Screen-128-64-Screen-128X64-LCD-Screen-Shield-Electrum-LED-backlight-Send-application-C51/32848043619.html
I have random test some and U8G2_ST7565_NHD_C12864_1_4W_SW_SPI looks very good
I have no luck with HX1230 get random work with u8g2
it has 96x68 Pixel 3.3V and is original maybe from nokia.
Some other Codemaster made it work https://www.instructables.com/id/HX1230-LCD-Simple-Arduino-NANO-Clock/
Maybe you can support that lcd with u8g2 too or maybe it is already support but i dont know the right name in the big list.
The text was updated successfully, but these errors were encountered: