Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #404460
| Subject | Re: HD 44780 display question |
|---|---|
| Newsgroups | sci.electronics.design |
| References | <1yAIy.182694$Ia.62645@fx08.iad> <XnsA5D5ED4912701petrusbitbytersid@194.109.6.166> |
| From | bitrex <bitrex@de.lete.earthlink.net> |
| Message-ID | <ebaJy.190468$Ia.160233@fx08.iad> (permalink) |
| Organization | frugalusenet - www.frugalusenet.com |
| Date | 2016-03-25 08:30 -0400 |
On 03/24/2016 06:19 PM, petrus bitbyter wrote: > bitrex <bitrex@de.lete.earthlink.net> wrote in news:1yAIy.182694$Ia.62645 > @fx08.iad: > >> >> I have a guy who wants me to replace the failing EL backlight on >> his synthesizer with an OLED display. >> >> So it would pretty much be a drop in replacement, except for the >> fact the microprocessor writes commands to the 44780 compatible >> display controller in two writes of 8, rather than one write of >> 16. Apparently someone hacked the firmware to get around >> this: >> >> http://wp.visuanetics.nl/oled-display-for-alpha-juno-2/ >> >> I'm wondering if there is any solution that would not involve a >> firmware hack. Feels like a lot of work. >> > > Ever had a problem with those displays so I digged out the datasheet to > find out what was going wrong. These displays can contain a 128 printable > characters though only 16 of them are visible. Like you, I found out where > they were stored and I wrote PIC-code to be able to handle both types. The > choice could be made by setting or removing a jumper. I even planned to > rewrite the code to make that jumper superfluous but I did not come so far. > > To handle the 2x8 display you need to keep track of the write cursor and > add that 40H to it when a character needs to be written between position 8 > and 15. (Off course back when you enter a new line.) The interface itself > can be used in 8 bits or 4 bits mode, not 16. > > You can build some circuit that catches the code sent to the display and > filter out that forth and backward moves of the cursor. Which requires some > knowlegde of the (display) chip and the implemantation of the hardware. You > also have to realize there can be cursor movements that should not be > suppressed. IMHO hacking the firmware is a more efficient way to go. > > Unless that firmware code is written very badly, there will be one routine > that sents characters to the display. That routine wil handle the sursor > movement and the only thing you need to do is changing the 40H to 0 in one > or two places. > > petrus bitbyter > > It's apparently written very badly. ; ) I think the author of the article in the link I posted notes there are "write" routines scattered all over the code.
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
HD 44780 display question bitrex <bitrex@de.lete.earthlink.net> - 2016-03-23 13:39 -0400
Re: HD 44780 display question Jeff Liebermann <jeffl@cruzio.com> - 2016-03-23 18:10 -0700
Re: HD 44780 display question "David Eather" <eather@tpg.com.au> - 2016-03-24 23:34 +1000
Re: HD 44780 display question bitrex <bitrex@de.lete.earthlink.net> - 2016-03-24 11:01 -0400
Re: HD 44780 display question bitrex <bitrex@de.lete.earthlink.net> - 2016-03-24 11:02 -0400
Re: HD 44780 display question "David Eather" <eather@tpg.com.au> - 2016-03-25 05:50 +1000
Re: HD 44780 display question petrus bitbyter <petrus.bitbyter@hotmail.com> - 2016-03-24 22:19 +0000
Re: HD 44780 display question bitrex <bitrex@de.lete.earthlink.net> - 2016-03-25 08:30 -0400
Re: HD 44780 display question Winfield Hill <hill@rowland.harvard.edu> - 2016-03-24 19:39 -0700
Re: HD 44780 display question bitrex <bitrex@de.lete.earthlink.net> - 2016-03-25 08:33 -0400
csiph-web