Regarding LCD

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

 Hi 

   

Today i connected to use char LCD (16*2 HD44780 )  with my FreeSoC,But nothing works,

   

I connected my

   

RS -pin to P5.0

   

R/W- P5.1

   

E-P5.2

   

D4-P5.3

   

D5-P5.4

   

D6-P5.5

   

D7-P5.6

   

 

   

and 1,3rd st pin of LCD gnd,2 nd pin 5V 

   

but it does n't shows anything.

   

Pls help me to print the chracter in LCD

0 Likes
18 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You made your hardware-connections on Port5[0..6], but in your project you have assigned the LCD-pins to Port2[0..6]

   

So change your connections or re-assign the pins and it should work.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

hi bob,

I want to connect char lcd as per following pin configuration

D4 - 2.7

   

D5 -      2.6

   

D6 -      2.5

   

D7 -      2.4

   

Rs -      2.2

   

R/W -    2.1

   

Enable- 2.0

Please help me.

Regards,

Santosh pawar

0 Likes

I am sure you need to connect D4 as well. The Character LCD component needs 7 bits on one port to work.

Bob

0 Likes
Anonymous
Not applicable

Hi bob ,

I have connected D4 to 2.7pin there are 7 pins

Regards,

Santosh pawar

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

 Sorry look at this

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

 Sorry look at this

0 Likes
lock attach
Attachments are accessible only for community members.
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Look at schematic picture, the connections seem to be different from yours:

   

 

   

Bob

0 Likes
Anonymous
Not applicable

 Hi

   

Now i connected as

   

D4 - 5.0

   

D5-5.1

   

D6-5.2

   

D7-5.3

   

Rs-5.5

   

R/W-5.4

   

E-5.6

   

Now also it doesn't works

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

I think you have the control signals miswired.

   

 

   

   

 

   

Also dont forget the contrast pin connected to pot, set pot at mid range for initial setting.

   

 

   

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 Pls look at program

   

i think some error is there

0 Likes
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

 for the first project CY8C5868AXI-LP035 you connect the port P2.x
for the second project CY8C3866AXI-040  you connect the port P5.x

   
    Maybe you forget to change port  and  do Set As Active Progect   
0 Likes
lock attach
Attachments are accessible only for community members.
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Attached project works and verified:

   

Built for PSoC5

   

Uses Port 2

   

Change settings to your need.

   

 

   

Bob

0 Likes
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

You should use this program it works and has a new Component so you can use any pin on the PSOC. It also includes a schematic for the LCD!!!

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

This is for the LP 5 part but you can change it to a normal Psoc 5 by selecting the correct device in device selection.

0 Likes
Anonymous
Not applicable

 hi all

   

now it works(example)

   

hearty Thanks to everyone

0 Likes
Anonymous
Not applicable

 How to scroll the LCD ,suppose i want scrolling text for "salaideva"

   

I tested using LCD_DISPLAY_SCRL_LEFT();

   

but it showing error how to do this function. 

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Probably would be better to manually (programatically) shift the output-string. Will be a good practice to get acquainted to C-strings, pointers and all that stuff.

   

 

   

Bob

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Is this an LCD display? if so you have to write all the instructions twice to the device.  Check the Data Sheet.

0 Likes