Reply to topic  [ 33 posts ]  Go to page Previous  1, 2, 3, 4  Next
12864B Parallel/Serial Graphic LCD Module (HCMODU0032) 
Author Message

Joined: Thu Dec 12, 2013 7:11 am
Posts: 7
Post Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)
Hi, thanks for your prompt response. It was what I imagined ... This afternoon proceed to remove the R9 and test its proper functioning. When checked it will perform.
Thank you.


Thu Dec 12, 2013 1:42 pm
Profile

Joined: Thu Dec 12, 2013 7:11 am
Posts: 7
Post Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)
All is OK.
Gracias.


Thu Dec 12, 2013 6:07 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 706
Post Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)
Glad you got it working. We will update the first post in this thread accordingly.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Thu Dec 12, 2013 7:10 pm
Profile

Joined: Thu Jan 30, 2014 10:01 am
Posts: 2
Post Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)
Hello, I have just tried to get the example above working to test the screen and although the backlight lights up there is nothing on the display. I have checked the PSD line and it does not appear to have the 0 ohm resistor, and when connected to GND it shows 0v. I am using a Leonardo board rather than an Uno! I have also downloaded the 1.12 version of the library from the link above. I initially tried it with the 1.14 version from the u8glib website but when it did not work I removed the library and installed the version from your site. Any help would be greatly appreciated.

Adam Walker


Thu Jan 30, 2014 10:11 am
Profile

Joined: Thu Jan 30, 2014 10:01 am
Posts: 2
Post Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)
Hello, I found this...

To get a ST7920 display working all you need is 2 pins.
#define lcdCs U8G_PIN_NONE
#define lcdSck 4
#define lcdMosi 3
#define lcdRst U8G_PIN_NONE
#include <U8glib.h>
U8GLIB_ST7920_128X64_4X u8g(lcdSck, lcdMosi, lcdCs, lcdRst);
After that, PSB to ground, RS to Vcc, Vcc to +5V, Vss to ground, and you're all set.
For backlighting, BLK to ground and BLA gets a 390 ohm to Vcc (or PWM).

And I now have the screen working. Not quite sure what was wrong before, so It would be good if you could shed any light on it.

Thanks, Adam Walker


Thu Jan 30, 2014 10:49 am
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 706
Post Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)
This is because the example sketch was written for an Uno (the most common of the Arduino boards). On a Leonardo the SPI interface is assigned to different pins. In the ug8lib library, when creating an instance of it, if no SPI pins are specified it assumes that you are using an Uno and assigns the SPI interface to the default D11 and D13.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Thu Jan 30, 2014 11:09 am
Profile

Joined: Wed Feb 12, 2014 7:52 pm
Posts: 1
Post Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)
Hi I'm new to this site and just would like to point out that on the 12864ZW model R9 is actually a 27Kohm resistor and not a 0ohm jumper. To put it into serial mode you don't have to remove it like on the 12864B model, you can just connect pin PSB to ground and it will work in serial mode :)


Sat Feb 15, 2014 9:05 pm
Profile

Joined: Sat Apr 26, 2014 2:48 pm
Posts: 2
Post Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)
Hi, I've just ordered this module to be used with a PIC32. I have a question: does it work with 3,3 volt logic or I have to use a level translator?
Any help will be appreciated.
Marco Guerrini


Sat Apr 26, 2014 3:04 pm
Profile
Site Admin

Joined: Sun Aug 05, 2012 4:15 pm
Posts: 706
Post Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)
Quote:
Hi I'm new to this site and just would like to point out that on the 12864ZW model R9 is actually a 27Kohm resistor and not a 0ohm jumper.


The manufacture of these screens likes to keep us guessing with the PSB pin. We have seen 3 variations of the design, 2 of which do not need any component changes. However we believe that the current shipped version does not need any modification.

Quote:
Hi, I've just ordered this module to be used with a PIC32. I have a question: does it work with 3,3 volt logic or I have to use a level translator?
Any help will be appreciated.


According to the datasheet when powering the module at 5V the minimum logic high voltage is 3.5V (0.7 x Vcc). The chipset can be run at 3.3V (allowing it to interface with 3.3V logic) but the contrast for these screens has been fixed to the ideal setting for 5V operation. As a result I think the contrast will be too low to be usable. However if you can drop the supply voltage to the screen to about 4.7V then it may work ok assuming that the DIO on your pic is 5V tolerant. Otherwise you will need a level shifter.

_________________
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.


Sun Apr 27, 2014 12:21 pm
Profile

Joined: Sat Apr 26, 2014 2:48 pm
Posts: 2
Post Re: 12864B Parallel/Serial Graphic LCD Module (HCMODU0032)
Hi, I've been successful in using this module with a PIC32 in parallel 4 bits mode. The pic port is configured in open-drain mode so you just need a pull-up resistor (10k) to 5v on each pin instead of a level converter. Of course you have to use 5v tolerant pins.
Marco


Mon May 26, 2014 5:59 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 33 posts ]  Go to page Previous  1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD