Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 28th May 2009, 03:01 PM   #1
Default pic16f877 lcd project

hi, i m a beginner in pic.
currently, i have a project which to display text in lcd screen using pic16f877.
i need to build the hardware as well as the soft ware.

however, i don't really know how to write the source code using c language.

can someone give some guidance?

thanks!
eva is offline  
Old 28th May 2009, 03:12 PM   #2
Default

Can't help you in C, but my tutorials show you how to do it in assembler, complete with circuits.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 28th May 2009, 03:41 PM   #3
Default

what LCD is it?
AtomSoft is offline  
Old 28th May 2009, 04:10 PM   #4
Default

i havent receive the lcd yet.
the project given haven specify yet.

can u give me example how to write it ? i m using CSS c compiler.
eva is offline  
Old 28th May 2009, 04:15 PM   #5
Default

i dont use that compiler. I use C18 but most C compilers are similar and require little changes if the code is well.

You need to know what type of LCD it is. The Pins it has and the controller it uses to write code for it and to wire it.

Otherwise its like being blind and someone asking you is the light red?

Last edited by AtomSoft; 28th May 2009 at 04:16 PM.
AtomSoft is offline  
Old 28th May 2009, 04:24 PM   #6
Default

if the lcd given is VI302DP display?
eva is offline  
Old 28th May 2009, 04:54 PM   #7
Default

Took me some time to find this:
http://www.kitsrus.com/pdf/vi302_dp.pdf
AtomSoft is offline  
Old 28th May 2009, 04:57 PM   #8
Default

even better:
http://www.digchip.com/datasheets/do...302-DP-FC-S-LV

Converted it for easy view ability:
Attached Thumbnails
pic16f877 lcd project-vi-302-dp.png  

Last edited by AtomSoft; 28th May 2009 at 05:01 PM.
AtomSoft is offline  
Old 28th May 2009, 05:13 PM   #9
Default

Don't use the 16F877 to drive that kind of display, use the 16F917 as it can control that type of LCD.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 28th May 2009, 06:07 PM   #10
Default

Quote:
Originally Posted by blueroomelectronics View Post
Don't use the 16F877 to drive that kind of display, use the 16F917 as it can control that type of LCD.
Or even better, stick with the 877 and use an LCD text module, rather than just the glass LCD.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 29th May 2009, 01:42 AM   #11
Default

thanks everybody, i now proceed on my project
eva is offline  
Old 29th May 2009, 05:06 AM   #12
Default

hi, i received lcd for my project already.
it is HD44780A00.
i need the datasheet of it.
can anybody show me where i can get in?
eva is offline  
Old 29th May 2009, 09:13 AM   #13
Default

Google for HD44780, it's EVERYWHERE - most (all?) of the details you need are listed in my tutorial.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 29th May 2009, 09:48 AM   #14
Default

well, i google already.
what i download is not the datasheet of HD44780A00 but
HD44780UA00
eva is offline  
Old 29th May 2009, 10:13 AM   #15
Default

Quote:
Originally Posted by eva View Post
well, i google already.
what i download is not the datasheet of HD44780A00 but
HD44780UA00
Google for the number I posted above, it wasn't a random choice.

And again, check my tutorials, paying particular attention to the mention of the EPE LCD articles.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Tags
lcd, pic, project

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
FFT for a PIC16F877 alifred Micro Controllers 6 14th April 2009 01:03 PM
PIC16F877 Project maxster03 Electronic Projects Design/Ideas/Reviews 3 25th January 2009 11:21 AM
Regarding PIC16F877 praveen_kw Micro Controllers 5 9th May 2005 07:27 PM
PIC16F877 HELP!! dandiz Micro Controllers 3 9th November 2004 08:08 AM
PIC16F877 Celestie84 Micro Controllers 17 17th July 2004 09:26 PM



All times are GMT. The time now is 06:21 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker