Replies: 12 comments 14 replies
-
Do you mean st75256? How is your PCB configured related to the interface? |
Beta Was this translation helpful? Give feedback.
-
Thank you tremendously. Will see how it goes when I get the device.
Will also need a larger board to run the u8g2 programs.
Thanks again, so very much appreciated.
Brent
Sent with [Proton Mail](https://proton.me/) secure email.
…------- Original Message -------
On Thursday, December 1st, 2022 at 2:14 PM, olikraus ***@***.***> wrote:
Arduino side is simple: You can use any pins (although I mostly use the above mentioned pins for Arduino). However the display controller expects certain signals at specific pins. I once created an overview:
https://github.com/olikraus/u8g2/blob/master/doc/controller_interface.txt
You controller is mentioned in line 25. This information is taken from the datasheet of the ST75256 and yes, you need to connect all three pins D1, D2 and D3 with the data line (MOSI).
Actually you need to connect five lines:
Description Suggested Arduino Pin Display Pin
SPI Clock D13 D0
MOSI D11 D1, D2, D3
Chip Select D10 CS
Register Select, Command/Data D9 A0 (RS)
Display Reset D8 RES
Not that there are three names for the Register Select line:
RS = A0 = DC
In the datasheets you will find any of the three names, but they all mean the same, see also here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp#wiring
This means: Do not get confused between CS and RS. They denote two different signals and both are required.
When ordering your display, you usually need to order the display pre-configured for a specific interface (SPI, I2C, parallel, etc).
If you have ordered a display, configured for parallel interface, but you want SPI, then some solder bridges need to be modified. In most cases there are hints regarding this on the PCB (look here for an example: https://github.com/olikraus/u8g2/wiki/gallery#20-jun-2021-uc1638-lg196962)
—
Reply to this email directly, [view it on GitHub](#2032 (reply in thread)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A4QFT2MC3RMEAYTWZB75FFLWLEPNJANCNFSM6AAAAAASQMXXUY).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
When you send 3 different data lines from the LCD to 1 Arduino input does the Arduino MCU parse each data cache from each of the 3 data lines or is there a loss of complexity on the Arduino side of things?
Thanks.
Sent with [Proton Mail](https://proton.me/) secure email.
…------- Original Message -------
On Thursday, December 1st, 2022 at 2:14 PM, olikraus ***@***.***> wrote:
Arduino side is simple: You can use any pins (although I mostly use the above mentioned pins for Arduino). However the display controller expects certain signals at specific pins. I once created an overview:
https://github.com/olikraus/u8g2/blob/master/doc/controller_interface.txt
You controller is mentioned in line 25. This information is taken from the datasheet of the ST75256 and yes, you need to connect all three pins D1, D2 and D3 with the data line (MOSI).
Actually you need to connect five lines:
Description Suggested Arduino Pin Display Pin
SPI Clock D13 D0
MOSI D11 D1, D2, D3
Chip Select D10 CS
Register Select, Command/Data D9 A0 (RS)
Display Reset D8 RES
Not that there are three names for the Register Select line:
RS = A0 = DC
In the datasheets you will find any of the three names, but they all mean the same, see also here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp#wiring
This means: Do not get confused between CS and RS. They denote two different signals and both are required.
When ordering your display, you usually need to order the display pre-configured for a specific interface (SPI, I2C, parallel, etc).
If you have ordered a display, configured for parallel interface, but you want SPI, then some solder bridges need to be modified. In most cases there are hints regarding this on the PCB (look here for an example: https://github.com/olikraus/u8g2/wiki/gallery#20-jun-2021-uc1638-lg196962)
—
Reply to this email directly, [view it on GitHub](#2032 (reply in thread)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A4QFT2MC3RMEAYTWZB75FFLWLEPNJANCNFSM6AAAAAASQMXXUY).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
What does this mean? Thanks.
…--- do not connect
LHZ 3.3V, GND or unconnected
L/H connect to 3.3V or GND
3V3 connect to 3.3V
GND connect to ground (0V)
CLK SPI ClockDAT SPI Data
Sent with [Proton Mail](https://proton.me/) secure email.
------- Original Message -------
On Friday, December 2nd, 2022 at 9:34 AM, olikraus ***@***.***> wrote:
You need to connect three pins from the display to one pin of the Arduino
—
Reply to this email directly, [view it on GitHub](#2032 (reply in thread)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A4QFT2KHWQLFPCTNJKQLMY3WLIXI3ANCNFSM6AAAAAASQMXXUY).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yes I did, checking it twice & thrice. You mentioned a solder bridge for a parallel connection: have no idea if this is SPI or parallel. Thanks.
Sent with [Proton Mail](https://proton.me/) secure email.
…------- Original Message -------
On Thursday, December 22nd, 2022 at 11:32 AM, olikraus ***@***.***> wrote:
Maybe. Did you connect the other pins auf the display as specified in the datasheet?
—
Reply to this email directly, [view it on GitHub](#2032 (reply in thread)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A4QFT2JULC7W4ZTNTWXA5H3WOSUEFANCNFSM6AAAAAASQMXXUY).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
It's ok. Thanks. Got it to flicker when the data arrives. It's the 20-pin data at the top of this discussion. |
Beta Was this translation helpful? Give feedback.
-
[20221222_145808.jpg]
Thanks.
Sent with [Proton Mail](https://proton.me/) secure email.
…------- Original Message -------
On Thursday, December 22nd, 2022 at 12:01 PM, olikraus ***@***.***> wrote:
> have no idea if this is SPI or parallel.
Well, then you need to figure out: There is no common suggestion or solution. The datasheet of your display should contain all the details. I could have a look on it, but you also didn't send a picture of your PCB.
—
Reply to this email directly, [view it on GitHub](#2032 (reply in thread)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A4QFT2MFRHFBCEBAC363BXLWOSXTDANCNFSM6AAAAAASQMXXUY).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Sorry. Thanks. |
Beta Was this translation helpful? Give feedback.
-
You could also post a picture of your complete wiring, so that we can crosscheck it here. |
Beta Was this translation helpful? Give feedback.
-
Won't light-up with pin 7, only with pin 5. Everything is connected except the pins 1-4. Will look for a 1uF cap. Thanks. |
Beta Was this translation helpful? Give feedback.
-
pin 7 will light up the background LED (which is somehow irrelevant). |
Beta Was this translation helpful? Give feedback.
-
Thank you & thanks again for all your help with this.
Sent with [Proton Mail](https://proton.me/) secure email.
…------- Original Message -------
On Friday, December 23rd, 2022 at 3:56 PM, olikraus ***@***.***> wrote:
> Won't light-up with pin 7, only with pin 5.
pin 7 will light up the background LED (which is somehow irrelevant).
pin 5 will power up the graphics controller ST75256 of the display. Without the graphics controller you can only see some boring backlight.
—
Reply to this email directly, [view it on GitHub](#2032 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A4QFT2IGORNT3QWG4SF454TWOY3ZXANCNFSM6AAAAAASQMXXUY).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Which pin is Clock or RW, Data, mosi. Reset is 9. Chip Select is 8 or 10?
Thanks.
![Screenshot_20221130-204057_DuckDuckGo](https://user-images.githubusercontent.com/119560681/204976064-ee2ae44a-bd8c-4620-935e-b2deff544a13.jpg)
Beta Was this translation helpful? Give feedback.
All reactions