Go Down

Topic: ELI5 - Setting up and running MOP-GL12232B-BGFW (Read 1 time) previous topic - next topic

Sep 23, 2012, 07:46 pm Last Edit: Sep 23, 2012, 09:04 pm by monkeypatch Reason: 1
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: [Select]

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?

olikraus

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


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy