Pages: [1]   Go Down
Author Topic: ELI5 - Setting up and running MOP-GL12232B-BGFW  (Read 900 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have this parallel graphic display: http://www.matrixorbital.com/Parallel-Display-MOP-Graphic-LCDs/c43_13/p572/MOP-GL12232B-BGFW/product_info.html

Datasheets: http://www.matrixorbital.ca/manuals/MOP_Series/MOP-GL/SED1520.pdf and http://www.matrixorbital.ca/manuals/MOP_Series/MOP-GL/MOP-GL12232B.pdf

It has two SED1520 compatible controllers

I am very new to serial/parallel programming and I am having a hard time understanding how to get the timing correct so I can start sending commands to this display. If any non-novice electrical people could spread some knowledge I would be indebted.

Code:
LCD Pins => Arduino Pins

Pin1(Vss):  Ground               => GND
Pin2(Vdd): Voltage for logic  => 5v
Pin3(V0):   Contrast             => Not connected
Pin4(RS):   Register Select    => 0
Pin5(CS1): Chip Enable (L)    => Not connected
Pin6(CS2): Chip Enable (R)    => Not connected
Pin7(CL):  Clock                  => Not connected
Pin8(E):    Enable                => 1
Pin9(R/W): Read/Write       => GND (I do not want to read from LCD)
Pin10(DB0): Data bit 0         => 3
Pin11(DB0): Data bit 1         => 4
Pin12(DB0): Data bit 2         => 5
Pin13(DB0): Data bit 3         => 6
Pin14(DB0): Data bit 4         => 7
Pin15(DB0): Data bit 5         => 8
Pin16(DB0): Data bit 6         => 9
Pin16(DB0): Data bit 7         => 10

After some more research I realize that CS1 and CS2 set which side of the display I need to write to.

1. Does the clock (CL) need to be connected to a pin?
and if so do I need to modulate the pin high/low at a specific rate?
2. How do I get the timing correct for this display so I can start sending commands and data?
« Last Edit: September 23, 2012, 02:04:09 pm by monkeypatch » Logged

Germany
Offline Offline
Edison Member
*
Karma: 100
Posts: 1242
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

As far as I know, SBN1661 is compatible to the SED1520. For the SBN1661 you can use the two CS lines to latch data into the controller. RW can be fixed (to GND i think), but you need to set RS (also named DI or A0) to 0 or 1, depending if you want to send data or instructions. Both (cmds and data) are required for proper programming of the device.

I had once added support to u8glib (http://code.google.com/p/u8glib/wiki/device) for the SBN1661, so it should also work for SED1520. U8glib low level access is here: http://code.google.com/p/u8glib/source/browse/csrc/u8g_com_arduino_no_en_parallel.c

Oliver
Logged

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

Thanks for the help!
Logged

Pages: [1]   Go Up
Jump to: