Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Exactly what is 'some pixels' that you refer to in your first post?
This is a KS0108 controller so it does not have character ROM that you can call up.
This means that all characters have to be created by yourself!
I too have only started with GLCDs, here is a simple snippet of code that i used...
Possibly you have a slow LCD, call your delay routine between bsf and bcf of your enable line. Check your CS lines, in the beginning are you setting them both high? Mine was inverted, you may have to CLEAR both CS lines
The best route to follow is to buy a pickit2 and develop from mplab. Its not everyone's favourite but it works and has a good help system.
The alternative is to get a schematic for the pickit and build it yourself but if it fails to work you will not know where the problem lies.
Old programmers...
Re: Problem with interfacing 4 bit mode 16x2 LCD to PIC16F87
Tie your unused inputs D0~3 low.
Your first data sent should be 0x20 as a byte but of cause the LCD only actually 'sees' B'0010xxxx'
This means that the LCD is now in four bit mode and all following data EG 0x28 can NOW ONLY be sent...
It appears that you are calling your write command before setting up CS1 and CS2.
This display is in fact very similar to my own one from Truly, so be aware that the CS control lines may be inverted (active low).
My datasheet indicates that all data sent to the display is ignored till CS...
Hi everyone, hope someone can help out. I am trying to build the PIC based oscilloscope from semi-fluid.com but im having trouble compiling the GLCD-modified.c file. I have no C experience but have followed the steps given on the site on how to modify the original glcd.c file. When I try to...
betwixt thanks for the heads up about the possible wrong code numbers by multiple button pushes. the program does work and the keypad scanning sequence is sequential. ive looked into lookup tables but never really caught on to it. do you per chance know how to do multiple key reading, as in...
PIC programmer
a simple programmer like the JDM will work fine, but its not really laptop friendly because of the lower voltages available on a laptop's serial port. also i suspect that you now want to build a programmer after doing some research/learning about the device. if this is so, then...
a description and the source code for a 3x4 keypad with 16x2 LCD can be found here:http://www.piclist.com/techref/microchip/3x4Key-4bLCD-Lock.htm
it was a design for a code lock, not the best bit of software but it works
PIC Programmer
babinton the circuit is easily available on the internet, but you would have to buy the firmware from its designer. go with the pickit from microchip, its not too expensive, is fully compatible with mplab and is also usb
if you not sure how to translate to asm then check out a prog i wrote a while back for 3x4 keypad with lcd. its not the most elegant code but it works, maybe give you a clearer understanding hopefully
Added after 1 minutes:
sorry! forgot the link...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.