Hi guys,
I've already had a HD44870 XiamenOcular 2x16 LCD before, but because of faulty wiring (ouch) i got fried.
Today I bought a bigger 4x16 LCD for 50 ? (I know, it's really expensive, but there's nothing on the Dutch eBay) from a local store, and was hoping to do this:
- Make it parallel
- Wire up the backlight
- Make a nice case with pots
- Not fry it
I was thinking, could I do something more, like connect some switches to it or make it serial through my PIC (16F84)?
Already drooling about the Winamp spectrum analyser,
megabyte,
Den Haag, Netherlands
Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
HD44780 Compatible - suggestions
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351, hydrolisk1792
-
- Posts: 7
- Joined: August 8th, 2006, 3:30 pm
-
- Forum Supporter
- Posts: 590
- Joined: March 8th, 2006, 1:58 pm
- Location: Scotland
PIC16F627/628 is the one to go for (Jay and I used it). PIC16F84 doesn't have a serial port built in so it's not so good for this project.
I have buttons on my LCD that can be used to control Winamp or whatever. Photos and info in this thread.
I used C for my project. I am lucky to have occasional use of the HiTech PICC compiler which is pretty powerful (and very expensive, unfortunately). There's a free "lite" version which supports a few PICs including 16F627, 16F84A and 16F877. My code (download here could be ported to other compilers with a bit of work.
You could try programming your PIC with Jay's or my code just to see how it all works, then try to develop your own code.
I have buttons on my LCD that can be used to control Winamp or whatever. Photos and info in this thread.
I used C for my project. I am lucky to have occasional use of the HiTech PICC compiler which is pretty powerful (and very expensive, unfortunately). There's a free "lite" version which supports a few PICs including 16F627, 16F84A and 16F877. My code (download here could be ported to other compilers with a bit of work.
You could try programming your PIC with Jay's or my code just to see how it all works, then try to develop your own code.
-
- Hardware Genie - Plugin Author
- Posts: 374
- Joined: February 16th, 2005, 10:24 pm
- Location: Michigan
-
- Forum Supporter
- Posts: 590
- Joined: March 8th, 2006, 1:58 pm
- Location: Scotland
Yeah, there's only 1K words of program memory in the 16F627, which is a bit on the small side for a full implementation of the LCD commands. Other than that I think they are identical.
I'm pretty sure my code is under the 1K mark, but probably not by much, and I have only implemented the main common commands.
I'm pretty sure my code is under the 1K mark, but probably not by much, and I have only implemented the main common commands.
-
- Posts: 7
- Joined: August 8th, 2006, 3:30 pm
Thanks for suggestions.
I am a bit more familiar with Basic Stamps, because I have a quite good interface board for it. Is there any program availible for it? If not, do you think I would be able to port the C source to the Basic language? I'm quite good at both.
Also, I've got two additional pins on my LCD named A and K, which I think are supposed to be the backlight power source. Am I right.?
I am a bit more familiar with Basic Stamps, because I have a quite good interface board for it. Is there any program availible for it? If not, do you think I would be able to port the C source to the Basic language? I'm quite good at both.
Also, I've got two additional pins on my LCD named A and K, which I think are supposed to be the backlight power source. Am I right.?
-
- Hardware Genie - Plugin Author
- Posts: 374
- Joined: February 16th, 2005, 10:24 pm
- Location: Michigan
There are no BS firmware that I know of. There is another thread in the Discussion topics similar to this. My code is written in Basic. I can send it to you if you want to take a look at it. A and K are anode and cathode. They are power for the LED but be careful. You may need a current limiting resistor attached to the backlight or it can burnout.
J
J