Replies: 7 comments 1 reply
-
The I2C interface is only supported for displays which support native I2C. Port expander are not supported by u8g2 |
Beta Was this translation helpful? Give feedback.
-
You need to test which driver fits best :( |
Beta Was this translation helpful? Give feedback.
-
What parameters change between versions of the driver? (I'm just thinking
of versions of the 7565 of course as I'm sure there are big differences
between chips)
…On Wed, 17 Aug 2022, 6:55 pm olikraus, ***@***.***> wrote:
You need to test which driver fits best :(
It might be possible that you need to adjust contrast.
—
Reply to this email directly, view it on GitHub
<#1930 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL2CLMJ4M22I7PKRS33OZQLVZURQ5ANCNFSM554TOZ7Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
There are no versions, there are variants: The display controller might be the same, but the display itself might be different. Especially the wiring between the display controller and the display itself might differ. As a consequence there are multiple constructors for the same controller which reflect difference in wiring and type if the display itself. Here is one small example: The controller ST7565 can drive a dot matrix display with 132 columns and 65 rows. Soo... you need to test this (actually you need to do some reverse engineering). I suggest to use the FlipMode example. If all is ok, then there should be a solid frame next to the border all the time. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the detailed advice. That makes perfect sense.
At the moment I can't get any display at all, so I am considering two
problems. First, is the charge pump circuit working? And Second, is the
display being initialised?
I will follow your advice and look at the circuit details.
…On Wed, 17 Aug 2022, 7:25 pm olikraus, ***@***.***> wrote:
There are no versions, there are variants: The display controller might be
the same, but the display itself might be different. Especially the wiring
between the display controller and the display itself might differ. As a
consequence there are multiple constructors for the same controller which
reflect difference in wiring and type if the display itself.
Here is one small example: The controller ST7565 can drive a dot matrix
display with 132 columns and 65 rows.
However your display has 128 columns and 64 rows. So obviously one row and
four columns are hidden.
Is the hidden row on the top or the bottom?
Are the hidden columns on the left or right or even on both sides?
It all depends on the wiring between controller chip and the 128x64 LCD
matrix.
Ideally it should be mentioned in the display datasheet how the 128x64 LCD
is located inside the controller 132x64 matrix. However it is not even
mentioned in the MCCOG128064B12W-SPTLY.pdf
<https://github.com/olikraus/u8g2/files/9364460/MCCOG128064B12W-SPTLY.pdf>
datasheet from above.
Soo... you need to test this (actually you need to do some reverse
engineering).
I suggest to use the FlipMode example. If all is ok, then there should be
a solid frame next to the border all the time.
—
Reply to this email directly, view it on GitHub
<#1930 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL2CLMNRRUIJED3Y6NBTT3DVZUVCNANCNFSM554TOZ7Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
It has been very interesting studying the data sheets and also looking at the voltages on my external circuit. |
Beta Was this translation helpful? Give feedback.
-
The internal charge pump is enabled by the init sequence. As a consequence you can't measure different voltages before sending this init sequence. The init code is located in the u8x8_d files and includes the code to enable the charge pump: https://github.com/olikraus/u8g2/blob/master/csrc/u8x8_d_st7565.c#L200 There might be multiple errors (not only charge pump related):
Related the display and charge pump:
Display connection:
If you would sent pictures of your setup / schematic / code I would probably be able to help better. |
Beta Was this translation helpful? Give feedback.
-
I am currently using a 128x64 LCD display with a ST7567 driver IC. I am operating in F_4W_SW_SPI and this works well. My controller is a Teensy 4.0.
I would like to use a PCF8574 IO expander to provide the connections via I2C instead of direct connections to the controller. I can see that you have I2C Constructors for some driver IC's, so I am wondering if it is possible to adapt these methods?
Beta Was this translation helpful? Give feedback.
All reactions