Pages: [1]   Go Down
Author Topic: How to Wire up my display to arduino  (Read 556 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey Guys,

I have done a google search on how to wire up my display but can find one that exactly matches it. Maybe there is one and my eyes are painted on lol.

Just wondering if anyone can tell me how to Wire up this up.Also have lost the email from where i ordered these from so i cant tell you what Make model the screen is.

Pics:




Thanks Guys
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6614
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That looks like a ST7920-based display (the PSB pin is the giveaway). You can drive it in serial or parallel mode. I prefer serial because it needs only 2 Arduino outputs. The standard Arduino GLCD library won't drive it, but I have a library that does, and olikraus has a more comprehensive one (search for U8glib).
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

From here http://arduino.cc/playground/Code/LCD
Scroll down to graphics LCD.
There are some serial library and parallel ones as well.
Logged


Western New York, USA
Offline Offline
Faraday Member
**
Karma: 36
Posts: 4322
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I have done a google search on how to wire up my display but can find one that exactly matches it. Maybe there is one and my eyes are painted on lol.
See if this will help: --> http://www.dfrobot.com/forum/index.php?topic=302.0 ?  It was the first hit when I searched for 12864ZB on the US Google site. 

Don
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6614
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can find my driver and some example code at https://www.dropbox.com/sh/0349stdy1pui740/BJeoa_FATe. The wiring you need is described in the comments. I expect the same wiring will work with U8glib in serial mode. Your display includes a contrast pot, so you don't need an external one.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Pages: [1]   Go Up
Jump to: