Hello together,
as there are some experience reports here in the forum with the 20x04 LCD-Display DOGM204 from Electronic Assembly via SPI - which are not that successful - I want to provide some imformation about a successful project.
General information is provided at the webpage Chip-On-Glass DOG Displays von DISPLAY VISIONS. Unfortuantely the manufacturer does not provide a lib or other arduino related information about the display.
I choose this display because it has all interfaces 4bit, 8bit, I2c, SPI onboard and provides different color background options. I use an arduino micro. The LCD-Display is not compatible with the LCD-libs provided with arduino or in the web, because the display controller is the SSD1803A, which is different from the widely used hd44780.
I will explain my experiences with the SPI interface here, because it needs no additional ports on the arduino micro board beside the two MOSI and SCLK ports (which are mostly not used i my projects). The display has a SOD-Pin (Slave out) - this pin needs not to be connected, as we do not need read information from the display - we only write to the display.
First to say is, that module requires some external components. 7 small capacitors. And next to say, the LCD works with 3.3V - on supply level and control level - which requires voltage dividers on the 2 SPI control lines (4 resistors required). There you have to implement the circuit in the attachment first.
Yes, some effort. For the first time you can ignore the cabling below display, it is required for display lights only. The voltage dividers are made with 1k + 2.2k resistors., which provide a SPI-signal level of about 3.3V. (The arduino micro works with 5v all the pins). As display power supply you can use the 3.3V pin of the arduino micro of course.
This ist the first step. Go on with next post...