Has anyone gotten these two (or a similar LPC processor) to work together? If so does anyone have any code or other advice?
I have had almost zero luck with this thing (I did get the display to turn on once, not sure how) and it is driving me mad.
I’m currently running the LPC2148 Olimex board with a custom break out (Olimex proto area to 0.100 header) wired into a bread board. Breadboard contains power supply, backlight, contrast, etc. Contrast is good–I set it during the brief period of success.
It is a while since I used a Text LCD module but two things spring to mind which may help.
The LCD modules are very slow and you have to wait very long times for the module to act on what you send it.
Most LCD modules a 5V devices and you may not have a 5V supply in your design. If you search around the Web you can find some that are 3.3V capable. I know a lot of people use 5V modules on 3.3V logic but the voltages are out of spec. for the LCD.
I have been trying very long times (seconds) in order to rule out my instructions being applied to quickly. No luck. I am assuming there is no maximum time requirement.
As for voltage levels, I am using a 5V supply for the display, and a 3.3V supply for the MCU. My MCU outputs are therefore 3.3V, but the specification for the display states that 2.2-5V is an acceptable range for input HIGH level so I feel this is met.
Is there anything preventing me from testing this module on a breadboard with only dip switches to set the instruction and a push button for the E line?
hokieengr:
Has anyone gotten these two (or a similar LPC processor) to work together? If so does anyone have any code or other advice?
I glommed together some for my LPC2106 board from Olimex. It’s a crude port of some of my PIC assembler code into C. I took someone elses example LCD code, added BUSY flag testing and scrolling routines to make it nicer. Yours if you want it. Asside from the header file changes, you will have to adjust the masks in a couple of the routines. I could help if necessary. Let me know if you want it.
Thank you very much for the offer, but I am proud to say I got the darn thing to work well last nite. The problem was in my brief search of the documentation–I only read the data sheets that came with the LCD module, not the Hitachi datasheet in it’s entirety. Buried deep in there was the initialization routine. There was still little explanation about why you need to initialize it they way you do, but at least it was documented. And once I implemented this, it was off to the races.
I will post the code here soon for any other poor souls that go down this same road…
"I will post the code here soon for any other poor souls that go down this same road… "
Hi!!! I am one of those poor souls trying to get one of those LCDs to work. IS there any code you had working, that you would feel like throwing my way!!!