I would rather not hack the board up at this point....
If I could get this all striaght in my haed I know I can get the LDC display working...
Lookint at the expander datasheet and the demo board schematic it looks like LCD Data Lines (DB0B7) are connected to the GPIO lines (GPB0:GPB7). LCD RD is on GPA7 and LCD E is on GPA6.
The Pic is connected to the expander like this:
PIC Expander
RC3 --> SCK
RC5 --> SI
RF6 --> Reset
Knowing that How do I cammand the expander to do what I want it to do?
Thanks for all you help so far... it has been GREAT!!
Last edited by Frozen001; - 8th August 2008 at 19:43.
Re-check post #8 and you might get a couple of good ideas there. It might be possible to do what is suggested there. Again, not 100% sure. Maybe when I get home, I'll pour over the schematics, see if the LCD connections and that port can be made to provide all the power/ground/control/data lines to run an LCD.
Does that LCD on the Microchip board unplug or is it hard soldered?
Well, then I guess I'd check around the microchip forums a bit and see if you can find any 'libraries' to handle the LCD for you on that board, that is if you don't want to write the code yourself.
Using the LCD as it sits on that board can be done...it's not impossible by any stretch. It's just that you'll have to do all the leg work.
First thing you've got to do is get your hands on the datasheets for the I/O expander and the LCD itself, which as I said before is most likely a Hitachi 44780 parallel input compatible LCD, almost any datasheet for an LCD with 14 or 16 pins on the inputs will most likely work just fine. Because without knowing how to run the I/O expander or the LCD, you'll be stuck.The Pic is connected to the expander like this:
PIC Expander
RC3 --> SCK
RC5 --> SI
RF6 --> Reset
Knowing that How do I cammand the expander to do what I want it to do?
But for now, maybe hang some LEDs off the I/O outputs of the expander. Once you can command that thing to do whatever you want, the LCD will be close behind...
Last edited by skimask; - 8th August 2008 at 20:08.
I wouldn't hack it up, I would set it aside until you catch up to it, You will have a much easier time learning if you use an PIC with a simpler architecture like 16F648A. I like that one because it is simple but not useless, nothing tough to get going and has 4k space. You can get an LCD for about $10 from this vendor. http://cgi.ebay.com/20x4-LCD-Module-...QQcmdZViewItem
I buy from him pretty regularly.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
I would forget about the on-board LCD for the time being and get some experience using one wired in parallel (which is well documented). When you have that knowledge under your belt then think about tackling the on-board one.
PICs offer so many functions and possibilities It is tempting to try to take on to much at once. If you do, you are likely to be frustrated and spend a lot of time getting nowhere. However, take everything one step at a time and you will progress rapidly.
Best of luck,
Pat. Pending
Bookmarks