LCD 16x4

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

User avatar
JLeith
Posts: 521
Joined: Wed Nov 14, 2012 7:49 pm
Location: British Columbia Canada
Has thanked: 143 times
Been thanked: 26 times
Contact:

LCD 16x4

Postby JLeith » Thu Apr 04, 2019 6:56 pm

Hello All

Is there a way to use a 16x4 in flowcode 6 LCD

I see the 16x2 but not a 16x4

John

electron67
Posts: 289
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 103 times
Been thanked: 45 times
Contact:

Re: LCD 16x4

Postby electron67 » Thu Apr 04, 2019 7:04 pm

Hello, You go component search to LCD (GENERIC) and select LCD (Generic 20X4)
These users thanked the author electron67 for the post:
JLeith (Thu Apr 04, 2019 7:10 pm)
Rating: 5.26%
 

electron67
Posts: 289
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 103 times
Been thanked: 45 times
Contact:

Re: LCD 16x4

Postby electron67 » Thu Apr 04, 2019 7:07 pm

Sorry, 16x4 not 20x4

User avatar
JLeith
Posts: 521
Joined: Wed Nov 14, 2012 7:49 pm
Location: British Columbia Canada
Has thanked: 143 times
Been thanked: 26 times
Contact:

Re: LCD 16x4

Postby JLeith » Thu Apr 04, 2019 7:10 pm

Thank you electron67

Never thought to look in Search I was looking in the drop down "Outputs"

Off to design a 16x4 or maybe a 20x4

All the best

electron67
Posts: 289
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 103 times
Been thanked: 45 times
Contact:

Re: LCD 16x4

Postby electron67 » Thu Apr 04, 2019 7:12 pm

But if you have the option to select the number of columns and rows

User avatar
JLeith
Posts: 521
Joined: Wed Nov 14, 2012 7:49 pm
Location: British Columbia Canada
Has thanked: 143 times
Been thanked: 26 times
Contact:

Re: LCD 16x4

Postby JLeith » Fri Apr 05, 2019 4:51 am

Hello electron67

I tried to find a 16x4 LCD for a reasonable price

So I purchased a 20x4 and will give that a go.

Have you worked with the 20x4 ?

I see there is 2 ways to send info.
1. Parallel
2. Serial ?

John

electron67
Posts: 289
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 103 times
Been thanked: 45 times
Contact:

Re: LCD 16x4

Postby electron67 » Fri Apr 05, 2019 5:54 am

Hello John,

if you do not have enough pin of the PIC, you can use an I2C adapter or send data with the same configuration that you use a 16x2 LCD you simply adapt the column or raw where you need to accommodate the data with the cursor (x, y).

Enrique

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8485
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2441 times
Been thanked: 3500 times
Contact:

Re: LCD 16x4

Postby medelec35 » Fri Apr 05, 2019 7:20 am

Hi John,
the 20x4 is wired exactly the same as 16x2.
The pins to use can be found on this datasheet on page 7.

LCD's can be wired in 4 bit (using a total of 6 MCU pins) or 8bit (using a total of 10 MCU pins)
The standard way for flowcode is to use 4bit mode.
These users thanked the author medelec35 for the post:
JLeith (Tue Apr 23, 2019 11:40 pm)
Rating: 5.26%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.