pinout for the Colour LCD skin LCD160CRv1.0H
-
- Posts: 149
- Joined: Sun Mar 01, 2015 12:10 pm
pinout for the Colour LCD skin LCD160CRv1.0H
Hi,
I'm considering using this LCD skin in a project but can't see what connections it needs? I won't be plugging it directly into the pyboard, but into a custom PCB.
I need to know how many I/O pins this LCD will require because my application is already very I/O hungry.
My other option is to use an OLED and some pushbuttons but that also requires quite a few pins.
Any thoughts or info would be great!
Thanks,
Bob
I'm considering using this LCD skin in a project but can't see what connections it needs? I won't be plugging it directly into the pyboard, but into a custom PCB.
I need to know how many I/O pins this LCD will require because my application is already very I/O hungry.
My other option is to use an OLED and some pushbuttons but that also requires quite a few pins.
Any thoughts or info would be great!
Thanks,
Bob
Re: pinout for the Colour LCD skin LCD160CRv1.0H
This page: https://store.micropython.org/product/LCD160CRv1.0 has a link to the schematics for the board.
Which connections you use will depend on whether you're just using the LCD or also using the touch capabilities.
And this picture may help:
https://store.micropython.org/product/L ... 1.0#image7
And this post: viewtopic.php?f=14&t=4403
Which connections you use will depend on whether you're just using the LCD or also using the touch capabilities.
And this picture may help:
https://store.micropython.org/product/L ... 1.0#image7
And this post: viewtopic.php?f=14&t=4403
-
- Posts: 149
- Joined: Sun Mar 01, 2015 12:10 pm
Re: pinout for the Colour LCD skin LCD160CRv1.0H
Hi Dave,
Thanks for those pointers.
If I understood well, I could just use 2 I2C pins to send to and read from the LCD, given that I provide power & GND to it from another source?
Yet, when I look at the driver code, it seems to require an SPI object at instantiation as well? If that is true, how do you set enable the LCD to receive SPI ? I mean set an input to LOW or HIGH ? And will this not interfere with other usage I may have of the SPI bus?
Thanks, again!
Bob
Thanks for those pointers.
If I understood well, I could just use 2 I2C pins to send to and read from the LCD, given that I provide power & GND to it from another source?
Yet, when I look at the driver code, it seems to require an SPI object at instantiation as well? If that is true, how do you set enable the LCD to receive SPI ? I mean set an input to LOW or HIGH ? And will this not interfere with other usage I may have of the SPI bus?
Thanks, again!
Bob
Re: pinout for the Colour LCD skin LCD160CRv1.0H
I think that while its possible to write to the LCD using just I2C, using SPI is much faster. I personally haven't played with the display, so I'm not sure exactly what you can and can't do.
Maybe others have? The reference manual should be useful: https://micropython.org/resources/LCD16 ... manual.pdf
It looks like the driver requires SPI, but the display doesn't, so you'll need to modify the driver to make it i2c only.
Maybe others have? The reference manual should be useful: https://micropython.org/resources/LCD16 ... manual.pdf
It looks like the driver requires SPI, but the display doesn't, so you'll need to modify the driver to make it i2c only.
- rcolistete
- Posts: 352
- Joined: Thu Dec 31, 2015 3:12 pm
- Location: Brazil
- Contact:
Re: pinout for the Colour LCD skin LCD160CRv1.0H
I use it only with I2C, no issue at all.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).
-
- Posts: 149
- Joined: Sun Mar 01, 2015 12:10 pm
Re: pinout for the Colour LCD skin LCD160CRv1.0H
Thanks for that info. Just to be sure, you use it with only SDA and SCL connected to the pyboard? not counting Power and GND which can come from anywhere, of course.
Thanks!
B
- rcolistete
- Posts: 352
- Joined: Thu Dec 31, 2015 3:12 pm
- Location: Brazil
- Contact:
Re: pinout for the Colour LCD skin LCD160CRv1.0H
4 I2C wires connected to Pyboard : GND, 3V3, SCL (e. g., X9), SDA (e.g., X10).
A 2nd I2C sensor with the same I2C address can be connected to Pyboard by using the LCD160CR bottom connector.
A 2nd I2C sensor with the same I2C address can be connected to Pyboard by using the LCD160CR bottom connector.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).
-
- Posts: 149
- Joined: Sun Mar 01, 2015 12:10 pm
Re: pinout for the Colour LCD skin LCD160CRv1.0H
Thanks for all that info!
I now realize that the LCD is out of stock but as soon as it's available I'll order one and try it out and report back!
Ciao,
B
I now realize that the LCD is out of stock but as soon as it's available I'll order one and try it out and report back!
Ciao,
B
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: pinout for the Colour LCD skin LCD160CRv1.0H
There is a new version of the LCD160CR in the works. The SPI interface is used for the "advanced commands" listed here. If you're driving it directly you can opt not to use those commands. If you plan to use a library written by someone else, you'll need to check for usage.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: pinout for the Colour LCD skin LCD160CRv1.0H
Note that LCD160CR needs to be turned on by pulling X4 high.
It's also worth mentioning that LCD160CR supports UART communication, but there is no HW flow control.
Minimal interface in I2C mode is:
VIN, GND, SCL, SDA and X4 to turn on the display.
Instead of X4 the 3.3V input on the 10-pin connector can be used.
It's also worth mentioning that LCD160CR supports UART communication, but there is no HW flow control.
Minimal interface in I2C mode is:
VIN, GND, SCL, SDA and X4 to turn on the display.
Instead of X4 the 3.3V input on the 10-pin connector can be used.