CY8CKIT-042-BLE: Character LCD module

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.
FaRe_3083706
Level 1
Level 1

Hello, I'd like to write an LCD 2x16 (I'm working with LCD Keypad Shield, picture attached). It seems that LCD_Position() is not working.. when I print a string I just see the last character on first position (fw attached). Do you know what is the problem or an example with Psoc4 BLE + LCD?

Thank you.

Fabri

0 Likes
1 Solution
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Hello Fabri,

I programmed the CY8CKIT-042 BLE with your code without making any changes. It worked for me. Can you check if you have wired the board properly?

IMG-20180906-WA0004.jpg

Pin connections:

P1.0 - D0 - LCD_Pin11

P1.1 - D1 - LCD_Pin12

P1.2 - D2 - LCD_Pin13

P1.3 - D3 - LCD_Pin14

P1.4 - Enable - LCD_Pin6

P1.5 - RS - LCD_Pin4 

P1.6 - RW - LCD_Pin5

You may have gone wrong in the highlighted pin connections, please check.

Regards,

Dheeraj

View solution in original post

0 Likes
3 Replies
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Hello Fabri,

I programmed the CY8CKIT-042 BLE with your code without making any changes. It worked for me. Can you check if you have wired the board properly?

IMG-20180906-WA0004.jpg

Pin connections:

P1.0 - D0 - LCD_Pin11

P1.1 - D1 - LCD_Pin12

P1.2 - D2 - LCD_Pin13

P1.3 - D3 - LCD_Pin14

P1.4 - Enable - LCD_Pin6

P1.5 - RS - LCD_Pin4 

P1.6 - RW - LCD_Pin5

You may have gone wrong in the highlighted pin connections, please check.

Regards,

Dheeraj

0 Likes

Hello Dheeraj,

thank you for your support. The connections were ok, so I found a single

display (without arduino shield, like you did) and It works! It seems that

the shield is connecting RW directly to GND.. this works for Arduino

library but not with Cypress library. Problem solved! Thanks again.

Regards,

Fabri

Il giorno gio 6 set 2018 alle ore 10:45 ddka <community-manager@cypress.com>

ha scritto:

<http://www.cypress.com>

Cypress Developer Community

<https://community.cypress.com/?et=watches.email.thread>

CY8CKIT-042-BLE: Character LCD module

reply from ddka

<https://community.cypress.com/people/ddka?et=watches.email.thread> in *PSoC

4 MCU Community* - View the full discussion

<https://community.cypress.com/message/168455?et=watches.email.thread#168455>

0 Likes

Oh glad to know it worked. Great!

Regards,

Dheeraj

0 Likes