LCD 16x4

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

Moderator: Benj

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

LCD 16x4

Post by JLeith »

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: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: LCD 16x4

Post by electron67 »

Hello, You go component search to LCD (GENERIC) and select LCD (Generic 20X4)

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: LCD 16x4

Post by electron67 »

Sorry, 16x4 not 20x4

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

Re: LCD 16x4

Post by JLeith »

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: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: LCD 16x4

Post by electron67 »

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

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

Re: LCD 16x4

Post by JLeith »

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: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: LCD 16x4

Post by electron67 »

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

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: LCD 16x4

Post by medelec35 »

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.
Martin

Post Reply