I2C LCD NEWHAVEN

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.
jepaz
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

Hi All,

   

I managed to configure all the settings for a 4x20 character LCD I just cant figure out why some words or numbers are not completely written to the LCD, 

   

for instance in the example the string text was "Cypress", I got Cyrss, if I send number 2015 I got 205, I cant figure out what is going on

   

Please help me out

   

I appreciate your help

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

You did not tell which board you use: Own pcb? Cypress kit?? Which one ???

   

Depending on the board there are already I2C pullups mounted.

   

Your device is set (in system resources) to 5V, your LCD is powered with 3.3V, does that match? How is your PSoC powered?

   

You may reduce (as a test) the I2C speed to 50kHz.

   

 

   

Bob

View solution in original post

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

You did not tell which board you use: Own pcb? Cypress kit?? Which one ???

   

Depending on the board there are already I2C pullups mounted.

   

Your device is set (in system resources) to 5V, your LCD is powered with 3.3V, does that match? How is your PSoC powered?

   

You may reduce (as a test) the I2C speed to 50kHz.

   

 

   

Bob

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

Juanes: Spec for the NewHaven display says 5.0 volts and your design says 3.3v I would fix that issue.  Also the Spec says that it takes 1ms for writes so you may need to change your delays. If you are using a pioneer board it already has pullup resistors. So with yours you are reducing the pullup value due to the resistors in  parallel .

0 Likes
jepaz
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

Thank You Bob and Bob Goar, Im new to I2C thanks for your help!!

0 Likes