OOPs my bad posted what Dave did. It does use the LCDOUT syntax though . . .
OOPs my bad posted what Dave did. It does use the LCDOUT syntax though . . .
Last edited by Archangel; - 4th December 2011 at 10:30.
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.
Hey Mike K8LH,
Nice looking board... I have several of the 12F683 PIC's laying around and a couple of LCD's that they would go nicely with... I am amazed that you had enough pins to drive the LCD and receive serial data.
would you be willing to share your schematic and code??
Thanks in advance
Dwight
These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.
Hi Dwight,
I attached the schematic below but I'm afraid the interface in its present form is not very PBP friendly. It was the only way I knew of at the time to control six (6) pins on an LCD with only five (5) PIC output pins. That means you have to drive the display by sending two serial bytes for each LCD byte, each serial byte containing four data bits and an RS bit.
The new design that I'm working should be done soon. It uses full eight bit bytes and recognizes the $FE character (for toggling an RS flag).
Regards...
Thanks Mike,
That was quite innovative of you to use the incomming data to both talk to the PIC and control the RS line of the LCD!!
nice work.
So is your new design going to use a differend PIC with more I/O pins??
Dwight
Dwight
These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.
I'm upgrading the interface that uses the 8 pin PIC and actually studying another two slightly more advanced designs.So is your new design going to use a differend PIC with more I/O pins?
If you're interested, I've attached the source (assembler) for the 12F635 backpack as well as the source (also assembler) for the 16F1823 on that prototype board. This is the old software and, as I mentioned, probably not very useful for PBP users who are used to having all those wonderful LCD output formatting capabilities.
Happy Holidays! Mike
Hi Dwight (and gang),
If you're interested... I just finished testing the upgrade to the 8-pin PIC serial LCD interface and it works great. The mod involved adding an RC integrator/filter (10K + 330pF) between the GP0/D4 pin and the LCD RS pin. Now I can drive all six LCD control pins directly from the little 8-pin PIC which means I can collect serial data, analyze it, and write data to the LCD display any way I want. In short, you should be able to feed the serial interface using the DEBUG, SEROUT2 or HSEROUT commands with all of the same formatting parameters you're using now with the LCDOUT command. I'm pretty geeked (yes, I'm a nerd - LOL).
If anyone is interested, I'll start a new thread in the 'schematic' sub-forum after characterizing and testing the firmware. The only real advantages I can think of for this interface is its size (very small footprint on a project board when using the 2x5 header for a MikroE LCD Adapter board) and its ability to drive four lines of a switch matrix (one additional pin on the host can read four switches, an encoder, etc.).
Cheers, Happy Holidays, Mike
Last edited by Mike, K8LH; - 9th December 2011 at 19:47.
Drawing of the updated backpack hardware...
Bookmarks