1000 Threads found on edaboard.com: 20x4 Lcd Code
I am currently doing a project using HD44780 20x4 lcd display and PIC18F252 to produce a simplistic Battery monitor. At the moment all I wish to achieve is taking a voltage from a shunt amplified to around 3v and the voltage from the battery reduced to 3v and display these on the lcd display. obviously the voltage acros the shunt is (...)
Microcontrollers :: 04-27-2009 06:37 :: richie244 :: Replies: 0 :: Views: 3070
How to interface lcd with PIC microcontroller. what is the functions to be used . i am using JHD204A 20x4 lcd display and PIC18f452.Thanks & Regardssivakumar
if you want to do under CCS C
please see the link below.
even otherwise , perhaps this software approximately guides you towards you
Embedded Systems and Real-Time OS :: 10-20-2010 10:08 :: mvs sarma :: Replies: 3 :: Views: 4033
Hello every one.
I am trying to read SIM 1st massage and display it in a 20x4 lcd
I am using PIC18F2550,20x4 lcd and wavecom-gsm-gprs-modem-q2303a.
When I send this command .The reply is as below?
.+CMGR: "REC READ","+8801678715550",,"13/12/05,18:54:31+24"
.Hello Love Loo.This is a test (...)
Microcontrollers :: 12-07-2013 22:01 :: Loosha :: Replies: 11 :: Views: 552
I am working on the project with ADuc7026 microcontroller. I would like to interface 20x4 lcd Display with controller. I have tried the initialisation of lcd display from the lcd library. Only First line and third line get initialised. I need some help to get out of this issue.
Microcontrollers :: 06-24-2014 13:01 :: Dinagar :: Replies: 2 :: Views: 315
plz, can anyone pls post a simple lcd code for me?
I just need to know how to show a word in a 2x16 lcd.
I'm using Microchip PIC16F877A at the same time i want get signal via RF modul
Preferably PIC C language!
I try the routine provided by them but still doesnt work.
Thanks for help
Microcontrollers :: 05-24-2007 06:35 :: kaarthic :: Replies: 4 :: Views: 1960
I'm new user of Microcontroller . And now I have a questions need your help and advise.
My tool is C for Keil and P89V51RD2 for this project.
1.> How to interface 20x4 lcd (SC2004) 8 Bit data bus to display below
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
LINE1 H E L L O W O R L D
Microcontrollers :: 05-26-2010 08:22 :: teradyn :: Replies: 2 :: Views: 1124
how to interface lpc2148 graphics lcd code to 4*4 keypad scanning base program ???
i needed help in this...
Microcontrollers :: 02-16-2011 13:28 :: annanita :: Replies: 0 :: Views: 642
I'm using keilc51 complier and 20x4 lcd display. In lcd, there is a function set command(1110xx) for display two lines.
I try for this but it did not display a character in two lines. Does anyone know the solution?
Besides, I wanna to make a clock (as below link) to display on lcd but I only have an idea which (...)
Microcontrollers :: 11-12-2011 07:01 :: andy40185 :: Replies: 0 :: Views: 836
This project was not working.
Fixed project is
Microcontrollers :: 05-08-2013 06:43 :: jayanth.devarayanadurga :: Replies: 3 :: Views: 448
I wana display user defined functions on Alphanumeric lcd(20x4). For this, i have to use CGRAM of lcd.
I think CGRAM address starts from 0x40 to 0x7f. So i have to store the user defined characters in these locations, then to display at lcd..
When I wrote a code and stored a user (...)
Professional Hardware and Electronics Design :: 11-27-2009 10:13 :: Naveed Ahmed :: Replies: 4 :: Views: 1911
I'm challange to FPGA designer.
Can anyone write the simple VHDL code to display text on 16character 2line Text lcd for me?
I studied VHDL and recieved spartanII from my friend.
I want to implement and learn FPGA.
Thank you in advance.
PLD, SPLD, GAL, CPLD, FPGA Design :: 11-04-2006 00:20 :: lupineye :: Replies: 28 :: Views: 50205
i've written a driver for a graphic lcd using there any simulator to test if the code works correctly on the lcd?i mean a simulation environment with lcd.
i've already test the code in Quartus and there is no error.
PLD, SPLD, GAL, CPLD, FPGA Design :: 11-24-2006 16:25 :: aria62 :: Replies: 11 :: Views: 2490
Hi, can anyone please post a simple lcd code for me?
I just need to know how to show a word in a 2x16 lcd. I'm using ATmega16 and
IAR Workbench for AVR compiletor need C code
Microcontrollers :: 01-20-2007 05:10 :: brolija2dekan :: Replies: 11 :: Views: 4422
I need some lcd codes for 8051 and AVR microcontrollers in C. The code should be very portable, and the delays should also be independent of oscillator frequency to ensure portability. and the library should have all standard C functions like printf, puts, gotoxy, as well as additional functions like cursor on . . .
N.B. I actually (...)
Microcontrollers :: 02-10-2007 11:59 :: RollingEEE :: Replies: 7 :: Views: 3954
i am interfacing the VARITRONIX 20x4 lcd the part number is MDLS20464-LV-LED04 with 8051 based controller
i previously interfaced HD44780 20x4lcd no problem but when i am using same program with this lcd it is not working
i think program is working fine there is any problem in Contrast voltage (...)
Microcontrollers :: 06-06-2007 03:56 :: ashad :: Replies: 3 :: Views: 2394
I am using CDM16216B lcd to interface with 16f72.But i didnt get anything on lcd.Please kindly reply me,my code is here.
list p=16f72 ;PIC16f72 is the target processor
; PORTA control bits
Microcontrollers :: 12-06-2008 10:31 :: kvrajasekar :: Replies: 8 :: Views: 1726
I am need of your help guys... I posted my coding here for 16*2 lcd display.. also am using LPC2148 Microcontroller....
We can display anything in that lcd display....
Please give some ideas.. so that i can rework my code here....
Microcontrollers :: 01-02-2009 09:22 :: harshita :: Replies: 1 :: Views: 4911
I wrote this simple code. the codeVision compiles it without error but it can't make it:
void main (void)
Microcontrollers :: 01-15-2009 17:08 :: Navid T :: Replies: 1 :: Views: 2704
From what I see there is nothing wrong with this code. It is for a hd44780 lcd, and this should initialize for 4 bit mode and then turn on the display/cursor. I get a bunch of warning for parameters without init value having a constant value of zero or something. Aren't initial values for register types always zero?
I would appreciate
PLD, SPLD, GAL, CPLD, FPGA Design :: 04-26-2009 14:48 :: mahdiy :: Replies: 3 :: Views: 2191
hi, i have problem in changing 4 bit lcd module to 8 bit lcd module.
i have source code of temperature sensor using ds1820 which display temperature on 4 bit lcd module.
however, my lcd can only run on 8 bit module.
can anybody show me how to change it?
i am using ccs c compiler.
i attach here with (...)
Microcontrollers :: 06-15-2009 23:47 :: evaang2003 :: Replies: 2 :: Views: 3575
i have a project and i need assembly code that displays on an lcd.
Please note that i am using the program MPLAB.
thank u in advance
Microcontrollers :: 05-08-2010 06:21 :: eliekhalifeh :: Replies: 3 :: Views: 778
i've got a code for my 20 X 4 lcd for my project using LPC2368 microcontroller.and it is working fine but the below portion is not clear to me...please give some light on it..
void lcdInit (void)
lcd_IO_init(); //pin configuration
DelayMs(15) ; (...)
Microcontrollers :: 03-07-2011 06:05 :: bikashh :: Replies: 6 :: Views: 826
Hi, can anyone pls post a simple lcd code for me? I just need to know how to show a word in a 2x16 lcd.
BTW, I'm using Microchip PIC18F452!
My Data Pins go to PortB and the command ports of Enable (E) and Register Select (RS) goes to PortD
E = RD7
Rs = RD6
Preferably in Hi-tech PIC C language!
I try the routine provided by (...)
PLD, SPLD, GAL, CPLD, FPGA Design :: 03-11-2011 08:41 :: siddhesh19 :: Replies: 4 :: Views: 5845
my first post, im having issues with lcd on pic 18f1320, have ported the code from 16f84 sample and can place the cursor on the lcd with ease, but just cant get a character to appear.
my code is below, any help would be greatly appreciated
; lcd routine, testing delay routines for 5ms (...)
Microcontrollers :: 06-15-2011 05:02 :: mgbglasgow :: Replies: 10 :: Views: 1129
Please check the following HiTech C code for 16x2 lcd interfacing.
The 1st line of lcd shows blocks.The code is taken from the Samples and only the connection bits are changed.
But,its not working.
However,if I write similar code in microC,it the connections are right.
Thank You. (...)
Microcontrollers :: 07-31-2011 11:01 :: nitsakh :: Replies: 2 :: Views: 1238
I'm very new with FPGA and now I'm trying to display any thing on lcd ,I have spartan -3AN kit .
please let me to say thank you to help me with this code ,this code is correctly working but there are some details in it I can'nt understand it like the delay for( stCharDelay) is about(integer=65536(2^16),and why the counter (...)
PLD, SPLD, GAL, CPLD, FPGA Design :: 09-27-2011 15:16 :: lotus_w :: Replies: 0 :: Views: 469
Hi, I'm trying to display a word on the lcd (Spartan 3E VHDL) depends on the condition inputted by the user through switch. Sample if I press 011 on the switch, I will display the word BLINK, can anyone guide me on whats wrong with the code below.
PLD, SPLD, GAL, CPLD, FPGA Design :: 09-28-2011 03:20 :: come512l :: Replies: 1 :: Views: 1210
Please has any one the code or program that can be used in a standard 16 x 1 or 16 x 2 display, only displaying V_Bat, Curr, V_out and volt and also
Microcontrollers :: 12-25-2011 07:27 :: anybisi :: Replies: 2 :: Views: 358
im using a pic development board..with a 20mhz using pic16f877a and mikroC compiler and a top 2005 universal programmer... wrote a code to display a string on 16x2 lcd ...but nothing is being displayed........the development board is fine...thers some prob either in my code or m missing something while creating the hex file.....i read
Microcontrollers :: 04-14-2012 09:15 :: sushant_181 :: Replies: 0 :: Views: 736
I am working on 20x4 lcd interfacing with LPC2368.
I already work on 16x2 lcd.
Is both display initialization same?
how to write data on different line
I mean what is line address?
does any one have experience on 20x4
Microcontrollers :: 06-12-2012 05:24 :: shashank07 :: Replies: 11 :: Views: 1126
Jestin_cubetech, please send the all code of your 3 Wire serial lcd !!!
Microcontrollers :: 06-02-2013 11:34 :: nagkiller :: Replies: 2 :: Views: 1608
how can i send text to the lcd in the mikroc
i use mikroc pro
// lcd module connections
sbit lcd_RS at RB0_bit;
sbit lcd_EN at RB1_bit;
sbit lcd_D4 at RB2_bit;
sbit lcd_D5 at RB3_bit;
sbit lcd_D6 at RB4_bit;
sbit lcd_D7 at RB5_bit;
Microcontrollers :: 10-21-2012 06:20 :: eng_msa_8_8 :: Replies: 14 :: Views: 688
I am getting a logic contention detected error on proteus i am writing simple program using driver flexlcd16x4
Microcontrollers :: 02-02-2013 10:38 :: armghan11 :: Replies: 7 :: Views: 1339
i want to interface PIC24F16KA102 AND LCM-S01602DTR M.
The code runs on proteus simulation but not on hardware.
i want to use port b for 8 bit data and control pins. what is the correct way of writing data and control signals on same 16 bit port.
Microcontrollers :: 02-17-2013 05:02 :: adnan012 :: Replies: 0 :: Views: 558
So I have this code which I use for lcd initializations and as I go through them I realize that I actually do not understand what each subroutine does!
Obviously I see the function name is lcd_INIT which will no doubt initialize the lcd but I still do not understand why these certain ports need to be (...)
Microcontrollers :: 03-07-2013 16:19 :: bubble_d :: Replies: 1 :: Views: 714
#define _XTAL_FREQ 20000000
#define lcd_RS RC0
#define lcd_EN RC1
#define lcd_D4 RB7
#define lcd_D5 RC6
#define lcd_D6 RD0
#define lcd_D7 RD7
#define _lcd_FIRST_ROW 0x80 //Move cursor to the 1st row
Microcontrollers :: 05-07-2013 06:14 :: Jestin_cubetech :: Replies: 20 :: Views: 1424
I am sharing a code for driving 16x2 lcd. The MCU Uses only two pins for lcd. Full code, Hex file and Proteus simulation are attached. I got it from internet but i made small changes for better operation. CD4094 Shift register will plays the main roll..Hope it will help you...:-)
Microcontrollers :: 06-05-2014 09:11 :: ronexg :: Replies: 1 :: Views: 210
I connected my 4x20 lcd to pic18f4550..But it not even displaying a character.....i used a 10k pot for contrast....The Backlight is working fine....i used 4 lcd pin for data (D4-D7) , Remaining data pins (D0-D3) are left alone...I dont know why it is not working ....
Plz Help me Guys.............
Microcontrollers :: 09-11-2014 11:57 :: Praveen Kumar P S :: Replies: 10 :: Views: 300
I need some help to fix code issues on lcd 16X2 which I have implemented for MSP430F5132 controller.(see the attachment ) . And it is seem to be working only while debugging, i.e it is displaying characters while debugging not after coming out from debugging.
I guess the issue is related to either the clock or with delays in the program.
Microcontrollers :: 11-03-2014 05:41 :: anand003 :: Replies: 5 :: Views: 838
'display message on the 4 X 20 character lcd using pic16f84a and DS1820
DEFINE lcd_DREG PORTA 'lcd data port
DEFINE lcd_DBIT 0 'lcd data starting bit 0 or 4
DEFINE lcd_RSREG PORTA 'lcd register select port
Microcontrollers :: 02-06-2005 15:47 :: jojokatada :: Replies: 1 :: Views: 2321
pls help me how to send a backspace command in 20x4 lcd.
i my designed system if the user press "*" then the lcd will shift to the left one character and then ready to input again.
Microcontrollers :: 09-08-2005 20:49 :: juncarl143 :: Replies: 1 :: Views: 1339
i am doing a project using 89c51,adc0804,lm35d and 16x1 lcd
now my problem is that how can i convert the hexadecimal value from the adc to ascii code so that i can display that on the reads from 0'c to 150'c.i made te connection in such a way that i will get the exat value,ie.for 30'c i will get the output as 00011110 (1Eh) = the h
Microcontrollers :: 03-04-2006 06:59 :: microlab :: Replies: 1 :: Views: 2795
Hey!! I have some problem conneting my ATMEL 8051 kit to an lcd.. The lcd seems to be workin well but the program i write does not seem to get transferred.. I mean i have checked the program and it seems to be perfect but I am not gettin any output in the lcd.. Do we need to initialise it separately or something?? The lcd we (...)
Hobby Circuits and Small Projects Problems :: 03-21-2006 10:54 :: pradyu77 :: Replies: 2 :: Views: 1005
I'm migrating my PIC18F452 code to a PIC18F4620 and I'm stuck with the lcd code. What was working fine in the 452 now is not in the 4620.
Does anybody encountered with this sort of problems.
It is prety much important for me to make this thing work so any kind of help would be appreciated.
Thank you all. :cry::cry::cry:
Microcontrollers :: 07-28-2006 16:09 :: mariale442 :: Replies: 1 :: Views: 2189
how to interface lcd with 8051? Which lcd is suitable for it ?
I don?t know even the abc of lcd
Microcontrollers :: 08-10-2006 14:21 :: hameeds01 :: Replies: 5 :: Views: 1503
I am using 16x2 lcd module (HY-1602F6 printed on lcd MODULE PCB) with PIC16F876A.I am using connection is as follows:
EN -> RB3
RS -> RB2
R/W - > gnd(i want only write operation)
DB7......DB4(lcd data pin 11 to 14) -> PB7...PB4
Other lcd pins are as usual.
Crystal : 20MHz
After executing (...)
Microcontrollers :: 12-27-2007 03:20 :: arup :: Replies: 3 :: Views: 6045
i was playing with ks0108 lcd on proteus using 89c51. i am able to write data,fonts and images to lcd . but i cant read data from display RAM.
here is code for reading data from lcd
Microcontrollers :: 01-14-2008 19:00 :: abbas1707 :: Replies: 2 :: Views: 1985
this is my entity of program....
entity UT16 is
Port ( INA : in std_logic_vector(15 downto 0);
INB : in std_logic_vector(15 downto 0);
OUTPUT : out std_logic_vector(31 downto 0));
can anyone help me to display these output on lcd , SPARTAN 3E KIT or provide me the lcd code for these in (...)
PLD, SPLD, GAL, CPLD, FPGA Design :: 04-22-2008 04:36 :: abhi_459 :: Replies: 1 :: Views: 3084
I have written a c code
for atmel 89c52.....
i just wanted to see if my lcd
is working fine.....
this is just a test code
to display "a" on the lcd
but its not working.... please help me out........
#define lcd_data P1
#define lcd_busy P1_7
Microcontrollers :: 06-19-2008 23:53 :: aditya2806 :: Replies: 5 :: Views: 2838
I am having the PIC dem 2 plus board. The lcd is Ocular make OM16214 and connected in 4-bit mode.
Can any provide me the datasheet of the lcd or the interface code/technique, as i have tried a lot but not successful.
Microcontrollers :: 09-18-2008 08:27 :: csr1981 :: Replies: 1 :: Views: 4497