12864B Parallel/Serial Graphic LCD Module (HCMODU0032)

LCD, TFT, OLED, LED modules
badre2911
Posts: 14
Joined: Tue Jun 20, 2017 9:19 pm

Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)

Post by badre2911 » Fri Jul 21, 2017 4:10 pm

hi,

I have received this screen today, i have a resistor on R9 but not on R10,

it is parallelle version or serial version ?

Thank you for your response.

andrew
Site Admin
Posts: 1280
Joined: Sun Aug 05, 2012 4:15 pm

Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)

Post by andrew » Sat Jul 22, 2017 8:59 am

Currently shipped screens have the R9 resistor fitted. If the back of your LCD looks like this...

Image

...with a 0R resistor soldered to R9 then your module will be fixed to parallel mode. If you need to use it in serial SPI mode you will need to remove this resistor and then connect the PSB pin to GND. Alternativly you can just move the resistor from R9 to R10.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

badre2911
Posts: 14
Joined: Tue Jun 20, 2017 9:19 pm

Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)

Post by badre2911 » Sat Jul 22, 2017 9:01 am

thanks.

steve001
Posts: 31
Joined: Tue Dec 30, 2014 3:27 pm

Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)

Post by steve001 » Sun May 24, 2020 3:08 pm

Hi,

looking for a data sheet for this item, wanting to use it with a PIC18F device need to check the connections etc.

Regards

Steve

RetroBoy
Posts: 64
Joined: Sat Feb 26, 2022 11:29 am
Location: U.K.

Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)

Post by RetroBoy » Tue Sep 20, 2022 9:18 am

Good Morning,

Is it possible to connect both the 12864B LCD (HCMODU0032) and the 4x4 KEYPAD (HCPROJ0002) on the same NANO ?
It seems I need to use some of the Digital Pins for both ?

Regards S

andrew
Site Admin
Posts: 1280
Joined: Sun Aug 05, 2012 4:15 pm

Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)

Post by andrew » Tue Sep 20, 2022 1:55 pm

Is it possible to connect both the 12864B LCD (HCMODU0032) and the 4x4 KEYPAD (HCPROJ0002) on the same NANO ?
It seems I need to use some of the Digital Pins for both ?

I assume you're using the display in serial mode and the HCMatrixKeypad library with the keypad? If so then it shouldn't be a problem as the HCMatrixKeypad library allows you to specify which pins are used by the keypad. You just need 8 spare pins for the keypad and 3 for the display. Note that the Nanos analogue pins can also be used as digital pins.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

RetroBoy
Posts: 64
Joined: Sat Feb 26, 2022 11:29 am
Location: U.K.

Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)

Post by RetroBoy » Fri Sep 23, 2022 10:04 pm

Hi Andrew,

12864B working fine, 1st time. PSB Pin must be connected on the boards supplied.

Didn't need to use Analogue pins, re-assigned the 4x4 Keypad keys.

From what ' I ' can gather, the display is only capable of displaying 8 Rows of 16 Chars ... assuming an/the 8x8 grid as per data sheet ( not the 16x16 as used for the BIG5 Chinese C.Set ).

Now for my easy Questions:

Q1: What is the smallest font and would it still require the 8x8 Grid ?
( Trying to get more than 16 chars per line )
Q2: Is the BIG5 C.Set available for use, the Data sheet seems to imply it's pre-loaded?
( I do have a need for BIG5 as you know )
Q3: If Q2 'Yes', how is it loaded.?
Q4: If Q2 'No' can I, or is there, RAM available to Load/Create/Import the BIG5 C.Set ?
Q5: May be simpler to answer is it possible to Switch between US/UK Fonts and ZH Fonts using Software/Library?
Q6: Can 'Custom Characters' be generated and stored as with the 2004 LCD Display ?
( This may be answered by your ' Mini-Resistor' Display )

andrew
Site Admin
Posts: 1280
Joined: Sun Aug 05, 2012 4:15 pm

Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)

Post by andrew » Sun Sep 25, 2022 8:12 am

The graphics LCD has two modes, a character mode, and a graphic mode. The display can be used in either one or the other but not both….

In character mode the display uses its built-in font(s) and behaves very similar to a character LCD (1602/2004). In this mode you can’t display any graphics, just the character set, although I do believe you can create some custom characters and store them in the display memory (IRAM), again, in a similar way to the way to the character LCDs work.

In graphics mode, which is the most common way this display is used, it has no built in font. I.e. its built-in character font is not available in this mode. All you can do is basically turn on or off pixels. So in the mode it’s whatever library you choose to use to control it that has to provide a font. This font (or fonts) will be stored in the microcontrollers memory, not the display's memory, as the display doesn’t have the ability to store custom fonts. As it is the library that’s generating the font it is up to the library what size the font will be. For example, with our HCDisplay library (which only supports this mode), currently the smallest font available (SystemFont) is a fixed width 8x8 pixel font so each character takes up 8 pixels columns and 8 pixel rows. Note, there may be other libraries out there that support this display with smaller fonts. The ug8lib library may have something.

I think the above may cover your questions.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

RetroBoy
Posts: 64
Joined: Sat Feb 26, 2022 11:29 am
Location: U.K.

Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)

Post by RetroBoy » Sun Sep 25, 2022 9:08 am

Hi Andrew and thanks for the reply.

Yes, the answer was concise enough. I understood before about the Character/Graphics - either/or - modes, think I will need to re-evaluate how I can do what I need as I require both of the Modes on the same screen.

Anyway, the actual screen is good, displaying what I need, albeit in 2 distinctly separate ways. I will re-read the Manual again and 'Plod On' regardless, as 'Where there is a will there is a way'.

Thanks S.

Post Reply

Return to “Display”