# DOG LCDs

**URL:** <https://forum.midibox.org/t/dog-lcds/11196>\
**Category:** Parts Archive\
**Created:** [August 7, 2008, 11:28pm UTC](https://forum.midibox.org/t/dog-lcds/11196 "2008-08-07T23:28:08Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![T.K](https://forum.midibox.org/user_avatar/forum.midibox.org/t.k/32/7_2.png) [@T.K](https://forum.midibox.org/u/T.K)\
**Post date:** [February 10, 2009, 11:01pm UTC](https://forum.midibox.org/t/dog-lcds/11196/21 "2009-02-10T23:01:07Z")

</div>

The display output was working immediately, there was only a minor issue in the APP\_LCD\_Clear() routine (6 lines cleared instead of 8 )

Best Regards, Thorsten.

---

<div class="post-metadata">

**Author:** ![philetaylor](https://forum.midibox.org/user_avatar/forum.midibox.org/philetaylor/32/126_2.png) [@philetaylor](https://forum.midibox.org/u/philetaylor)\
**Post date:** [February 10, 2009, 11:17pm UTC](https://forum.midibox.org/t/dog-lcds/11196/22 "2009-02-10T23:17:06Z")

</div>

Nice&nbsp; 🙂

I have also written a driver for the DOG clcd using SPI, it seems quite a bit quicker than the parallel driver so do you think it is worth committing? If so what should I call it? dog\_spi ?

It would be useful if people wanted to use more than 2 of them.

Cheers

Phil

---

<div class="post-metadata">

**Author:** ![T.K](https://forum.midibox.org/user_avatar/forum.midibox.org/t.k/32/7_2.png) [@T.K](https://forum.midibox.org/u/T.K)\
**Post date:** [February 10, 2009, 11:30pm UTC](https://forum.midibox.org/t/dog-lcds/11196/23 "2009-02-10T23:30:22Z")

</div>

Yes, would be nice if you could add this driver as well. “dog\_spi” sounds ok

MIOS: In order to select the display, just add a “USER\_LCD\_Select” function (with exactly this name) to the driver, it would make it compatible to clcd\_multi

MIOS32: the function to select a LCD device is already part of MIOS32, the LCD number is stored in mios32\_lcd\_device. This function is only used for CLCD drivers, as we need to address the displays separately once special characters should be initialized. GLCD drivers usually allow to combine multiple displays to a big screen without any restrictions, so that a device selection isn’t required.

Best Regards, Thorsten.

---

<div class="post-metadata">

**Author:** ![T.K](https://forum.midibox.org/user_avatar/forum.midibox.org/t.k/32/7_2.png) [@T.K](https://forum.midibox.org/u/T.K)\
**Post date:** [February 11, 2009, 10:12pm UTC](https://forum.midibox.org/t/dog-lcds/11196/24 "2009-02-11T22:12:48Z")

</div>

The MIOS32 based [DOGM touchpanel driver](http://svnmios.midibox.org/listing.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fexamples%2Fdog_g_touchpanel%2F)

Best Regards, Thorsten.

---

<div class="post-metadata">

**Author:** ![ultra](https://forum.midibox.org/user_avatar/forum.midibox.org/ultra/32/71_2.png) [@ultra](https://forum.midibox.org/u/ultra)\
**Post date:** [February 11, 2009, 10:53pm UTC](https://forum.midibox.org/t/dog-lcds/11196/25 "2009-02-11T22:53:01Z")

</div>

tk and phil: thank you!

i’m really looking forward to being able to get what i want out of my live controller.&nbsp; this is gonna rock.

for those who don’t know:&nbsp; this is for a $15 touchpad that can be attached to the low cost DOG character lcds (the m size) available at mouser.

so now we all have the ability to put touchscreens on our midiboxes for x/y pads and menus. 🙂

---

<div class="post-metadata">

**Author:** ![Sasha](https://forum.midibox.org/user_avatar/forum.midibox.org/sasha/32/41_2.png) [@Sasha](https://forum.midibox.org/u/Sasha)\
**Post date:** [February 11, 2009, 11:02pm UTC](https://forum.midibox.org/t/dog-lcds/11196/26 "2009-02-11T23:02:06Z")

</div>

Ubercoolische!&nbsp; 🙂

Thanks T.

---

<div class="post-metadata">

**Author:** ![ultra](https://forum.midibox.org/user_avatar/forum.midibox.org/ultra/32/71_2.png) [@ultra](https://forum.midibox.org/u/ultra)\
**Post date:** [February 14, 2009, 1:24pm UTC](https://forum.midibox.org/t/dog-lcds/11196/27 "2009-02-14T13:24:52Z")

</div>

hey phil: i have a couple questions and comments about connecting this and your schematic:

did you limit the current from the 5v b+/b- source?&nbsp; your schematic shows a resistor to the cathode but it doesn’t say a value.

your connections to anode and cathode from b+/b- are backward.&nbsp; also should be 9x1uF capacitors, and i believe they can be polarized because the pins of the lcd are labeled p and n.&nbsp; i’m sure non-polarized are ok but harder to find in that capacitance (is this correct?).

does it count backward with the data lines?&nbsp; you connect your first to d7 and i’m assuming it goes backward from there to other lcds?&nbsp; in my pcb schematic i’ve connected like this:

D7 –\> lcd1

D6 –\> lcd2

D5 –\> lcd3

D4 –\> lcd4

D5 –\> lcd5

i’ve also adapted this to the pinning of the core32’s lcd header instead of the regular core.&nbsp; i’m not sure if the pinout is the same (doesn’t matter i guess), but are any of the actual connections different?

thanks!

ultra

---

<div class="post-metadata">

**Author:** ![philetaylor](https://forum.midibox.org/user_avatar/forum.midibox.org/philetaylor/32/126_2.png) [@philetaylor](https://forum.midibox.org/u/philetaylor)\
**Post date:** [February 14, 2009, 3:01pm UTC](https://forum.midibox.org/t/dog-lcds/11196/28 "2009-02-14T15:01:40Z")

</div>

Hi Ultra.

Yes I limited the current to the backlight as per the datasheet, 56R IIRC.

I always screw up anode/cathode connections on circuits (bit of a mental block I think) yes you are quite correct!

The datasheet doesn’t mention P/NP caps but the datasheet example uses NP and luckilly I had a never finished talkback project that used lots of 1uF NP so I stole them 🙂 You may be able to use polarized but it could be a bit tricky working out which way round to put them. Maybe worth checking with TK to see what he used?

Yes you are quire correct about the data line assignments. I moved away from the conventional D0=lcd1, D1=lcd2 because I am using an 18F4685 and D0-D3 are not available so I thought that I would start at D7 instead!

AFAIK, the pinout for the CORE32 LCD is different to the CORE8 to make it more 1-1 for standard CLCD’s so you may need to change it a bit…

Cheers

Phil

---

<div class="post-metadata">

**Author:** ![philetaylor](https://forum.midibox.org/user_avatar/forum.midibox.org/philetaylor/32/126_2.png) [@philetaylor](https://forum.midibox.org/u/philetaylor)\
**Post date:** [February 14, 2009, 3:19pm UTC](https://forum.midibox.org/t/dog-lcds/11196/29 "2009-02-14T15:19:30Z")

</div>

Sorry, you are quite right, with the N and P connections on the LCD connections, you should be fine with 1uF polarized electrolytics…

Cheers

Phil

---

<div class="post-metadata">

**Author:** ![ultra](https://forum.midibox.org/user_avatar/forum.midibox.org/ultra/32/71_2.png) [@ultra](https://forum.midibox.org/u/ultra)\
**Post date:** [February 14, 2009, 7:29pm UTC](https://forum.midibox.org/t/dog-lcds/11196/30 "2009-02-14T19:29:26Z")

</div>

thanks PT!

edit:

so does this mean that for mios32/core32, i want lcd1 = d0, lcd2 = d1, etc..?

i’m not even plugging this into the pic core at all.

---

<div class="post-metadata">

**Author:** ![philetaylor](https://forum.midibox.org/user_avatar/forum.midibox.org/philetaylor/32/126_2.png) [@philetaylor](https://forum.midibox.org/u/philetaylor)\
**Post date:** [February 15, 2009, 8:49am UTC](https://forum.midibox.org/t/dog-lcds/11196/31 "2009-02-15T08:49:53Z")

</div>

Yes with the CORE32, d0=lcd1, d1=lcd2 etc etc.

Phil

---

<div class="post-metadata">

**Author:** ![ultra](https://forum.midibox.org/user_avatar/forum.midibox.org/ultra/32/71_2.png) [@ultra](https://forum.midibox.org/u/ultra)\
**Post date:** [February 15, 2009, 3:59pm UTC](https://forum.midibox.org/t/dog-lcds/11196/32 "2009-02-15T15:59:44Z")

</div>

thanks PT.

TK: i might be living in excess here, but i was hoping to connect 5 of these touchpanels.&nbsp; i suppose there’s only room on the core32 for 3 of these?

---

<div class="post-metadata">

**Author:** ![Jack](https://forum.midibox.org/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@Jack](https://forum.midibox.org/u/Jack)\
**Post date:** [February 15, 2009, 7:26pm UTC](https://forum.midibox.org/t/dog-lcds/11196/33 "2009-02-15T19:26:37Z")

</div>

Hi all,

I created some Eagle libraries:

[http://www.midibox.org/dokuwiki/doku.php?id=eagle\_midibox\_library](http://www.midibox.org/dokuwiki/doku.php?id=eagle_midibox_library)

I will create the related schematic and Eagle3D the next days.

Best Regards

Jack

---

<div class="post-metadata">

**Author:** ![Jack](https://forum.midibox.org/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@Jack](https://forum.midibox.org/u/Jack)\
**Post date:** [February 16, 2009, 9:44pm UTC](https://forum.midibox.org/t/dog-lcds/11196/34 "2009-02-16T21:44:37Z")

</div>

Hi all!

Have someone checked if one of this displays fits into Wilba’s Sequencer?

Best Regards

Jack

---

<div class="post-metadata">

**Author:** ![T.K](https://forum.midibox.org/user_avatar/forum.midibox.org/t.k/32/7_2.png) [@T.K](https://forum.midibox.org/u/T.K)\
**Post date:** [February 16, 2009, 10:39pm UTC](https://forum.midibox.org/t/dog-lcds/11196/35 "2009-02-16T22:39:45Z")

</div>

Hi Jack!!!

Yes, I check this: there are no 2x40 DOG LCDs available, but large displays which are properly aligned to the 16 GP encoders and buttons are essential for the ergonomic user interface.

Best Regards, Thorsten.

---

<div class="post-metadata">

**Author:** ![Jack](https://forum.midibox.org/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@Jack](https://forum.midibox.org/u/Jack)\
**Post date:** [February 16, 2009, 11:03pm UTC](https://forum.midibox.org/t/dog-lcds/11196/36 "2009-02-16T23:03:00Z")

</div>

Hi Thorsten,

> Yes, I check this: there are no 2x40 DOG LCDs available, but large displays which are properly aligned to the 16 GP encoders and buttons are essential for the ergonomic user interface.

I know.

Which distance have the encoder to each other?

Is there enough room to fit 6 displays (3 Encoders per display)?

Can you send me your Eagle schematic (mbhp\_lcd7\_dog.pdf)?

I want to use it for my Eagle library.

Best Regards

Jack

---

<div class="post-metadata">

**Author:** ![philetaylor](https://forum.midibox.org/user_avatar/forum.midibox.org/philetaylor/32/126_2.png) [@philetaylor](https://forum.midibox.org/u/philetaylor)\
**Post date:** [February 16, 2009, 11:07pm UTC](https://forum.midibox.org/t/dog-lcds/11196/37 "2009-02-16T23:07:33Z")

</div>

Yes I thought about this as well.

If you put 3 x DOG CLCD’s together, the viewable would be approx 165x15mm. For this you will get &nbsp;a 48x3 display. The viewable area is fairly close to a 40x2 size CLCD viewable area (152.5x16.5) I don’t know how big the slots on Wilba’s panel are but it could possibly be made to work.

I’m not sure how workable it would be and whether 48x3 is a usable size. The current SPI based DOG CLCD driver (that I have just committed) would support up to 8 of them so 6 could replace the 2 off 40x2 displays…

Cheers

Phil

---

<div class="post-metadata">

**Author:** ![Jack](https://forum.midibox.org/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@Jack](https://forum.midibox.org/u/Jack)\
**Post date:** [February 16, 2009, 11:14pm UTC](https://forum.midibox.org/t/dog-lcds/11196/38 "2009-02-16T23:14:38Z")

</div>

Hi Phil,

my idea was to use six DOGL128-6 (128x64 or 67,8mm x 48,26mm).&nbsp; &nbsp;:)

But I don’t know if it is a good idea.

Best Regards

Jack

---

<div class="post-metadata">

**Author:** ![T.K](https://forum.midibox.org/user_avatar/forum.midibox.org/t.k/32/7_2.png) [@T.K](https://forum.midibox.org/u/T.K)\
**Post date:** [February 16, 2009, 11:21pm UTC](https://forum.midibox.org/t/dog-lcds/11196/39 "2009-02-16T23:21:48Z")

</div>

So, you really want to overwork all [seq\_ui\*](http://svnmios.midibox.org/listing.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fsequencers%2Fmidibox_seq_v4%2Fcore%2F) files for a derivative which is probably only used by yourself, because it’s more expensive (and slower) than really required?

Best Regards, Thorsten.

---

<div class="post-metadata">

**Author:** ![philetaylor](https://forum.midibox.org/user_avatar/forum.midibox.org/philetaylor/32/126_2.png) [@philetaylor](https://forum.midibox.org/u/philetaylor)\
**Post date:** [February 16, 2009, 11:24pm UTC](https://forum.midibox.org/t/dog-lcds/11196/40 "2009-02-16T23:24:08Z")

</div>

Hi Jack.

That would give you a pretty big display, about 150x6 with the standard font 🙂

The ‘actual’ window size is about 34mm, 48.26 is the external dimension but still pretty big!

Not sure if it would fit though and as TK said you would have to redo all of the UI…

Phil

[Previous page](https://forum.midibox.org/t/dog-lcds/11196.md?page=1)

[Next page](https://forum.midibox.org/t/dog-lcds/11196.md?page=3)
