Wiring lcd160cr with side headers to pyboard?
Wiring lcd160cr with side headers to pyboard?
I recently received an lcd160cr mounted in one of the aluminum cases. The tutorial indicates jumpers connecting to the pyboard but it is not clear for my poor eyes. I don't want to fry my new display, what are the connections points for the side mounted headers.
Thank you,
v/r
Jeff
Thank you,
v/r
Jeff
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Wiring lcd160cr with side headers to pyboard?
The side mounted headers are designed to connect to a similar set of side mounted headers on the Pyboard as in this image with the Pyboard in this housing. So if you fit a set of right angled headers to your Pyboard you simply plug them together.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Wiring lcd160cr with side headers to pyboard?
I am trying to decipher which pins are actually necessary to drive the display. I would like to use the minimal number of jumpers.
Thank you,
v/r
Jeff
Thank you,
v/r
Jeff
Re: Wiring lcd160cr with side headers to pyboard?
The schematics are available here: https://micropython.org/resources/LCD16 ... matics.pdf
It looks like pins Y1, Y2, Y4, Y6, Y8, Y9, Y10, Y11, V+, and GND are required (or replace the Y's with X's) or some other variations according to the documentation (i.e. it depends on how its plugged in).
It looks like pins Y1, Y2, Y4, Y6, Y8, Y9, Y10, Y11, V+, and GND are required (or replace the Y's with X's) or some other variations according to the documentation (i.e. it depends on how its plugged in).
Re: Wiring lcd160cr with side headers to pyboard?
I am referencing this photo in the documentation: https://store.micropython.org/product/L ... 1.0#image7
In that photo, it appears five lines are connected. Is that sufficient to run the display? I will try to compare between the photo, the side pins and the ones on the bottom.
In that photo, it appears five lines are connected. Is that sufficient to run the display? I will try to compare between the photo, the side pins and the ones on the bottom.
Re: Wiring lcd160cr with side headers to pyboard?
A quick look at the reference manual suggests that the LCD can use any of I2C SPI or UART, so I think it boils down to performance, and connecting just the I2C bus (as is done in the photo) is probably sufficient to use it.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Wiring lcd160cr with side headers to pyboard?
The driver (class constructor) looks like it requires an SPI and an I2C interface.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Wiring lcd160cr with side headers to pyboard?
LCD160CR can be connected in various ways:
unidirectional UART, default 115200 baud (just output mode, no return of any information from LCD160CR):
signals & supply:
GND
V+ (3.3V..15V)
X1 or Y1,
X4 or Y4 or 3V3
In this mode any commands are interpreted. Plain ASCII (UTF-8 for font 2) is immediately displayed on screen.
No information is returned to the host.
bidirectional UART
signals & supply:
same as unidirectional UART + X2 or Y2
I2C only (up to 1000000 baud)
signals & supply:
GND
V+ (3.3V..15V)
X4 or Y4 or 3V3
SDA
SCL
FULL mode (SPI up to 13.5 MHz):
signals & supply:
GND
V+ (3.3V..15V)
X4 or Y4 or 3V3
SDA
SCL
SCK
MOSI
Notes:
1. If 3V3 is used make sure the controlling output can provide up to 20mA.
2. The default library assumes FULL mode.
unidirectional UART, default 115200 baud (just output mode, no return of any information from LCD160CR):
signals & supply:
GND
V+ (3.3V..15V)
X1 or Y1,
X4 or Y4 or 3V3
In this mode any commands are interpreted. Plain ASCII (UTF-8 for font 2) is immediately displayed on screen.
No information is returned to the host.
bidirectional UART
signals & supply:
same as unidirectional UART + X2 or Y2
I2C only (up to 1000000 baud)
signals & supply:
GND
V+ (3.3V..15V)
X4 or Y4 or 3V3
SDA
SCL
FULL mode (SPI up to 13.5 MHz):
signals & supply:
GND
V+ (3.3V..15V)
X4 or Y4 or 3V3
SDA
SCL
SCK
MOSI
Notes:
1. If 3V3 is used make sure the controlling output can provide up to 20mA.
2. The default library assumes FULL mode.
Re: Wiring lcd160cr with side headers to pyboard?
Thank you to everyone for your support. My vision is poor enough that it is difficult to follow dense schematics. My field of view is very small. The pin specifications on the previous post is most helpful.
Thank you!
Thank you!
Re: Wiring lcd160cr with side headers to pyboard?
I must have bricked my display somehow. I have never gotten a pixel out of it.
I may experiment more this weekend.
fos1
I may experiment more this weekend.
fos1