I2C 20x4 LCD with HD44780 - Proteus

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

Moderator: Benj

Post Reply
Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

I2C 20x4 LCD with HD44780 - Proteus

Post by Monie Jacobsen »

Hi, using HD44780 I2C LCD 4 x 20.
When I try to run the .hex in Proteus V4.8.7 using LM044l display it doesnt works.
What can I do?

Diagram with Arduino mega 2560 R3
Diagram.JPG
Diagram.JPG (68.15 KiB) Viewed 15416 times
Has here attached:
Flow Code V6:
I2c DispTest.fcfx
(6.18 KiB) Downloaded 1046 times
Hex file:
I2c DispTest.hex
(11.34 KiB) Downloaded 916 times

Best Regard
Monie
Last edited by Monie Jacobsen on Tue Jun 28, 2016 7:43 am, edited 2 times in total.
Best Regard
Monie

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: I2C 20x4 LCD with HD44780 - Proteus

Post by Monie Jacobsen »

continued:
Proteus V4.8.7 File: Can not attached Proteus file!
Best Regard
Monie

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: I2C 20x4 LCD with HD44780 - Proteus

Post by Monie Jacobsen »

Monie Jacobsen wrote:continued:
Proteus V4.8.7 File: Can not attached Proteus file!
Best Regard
Monie

Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 493 times
Been thanked: 187 times

Re: I2C 20x4 LCD with HD44780 - Proteus

Post by Rudi »

Monie Jacobsen wrote:continued:
Proteus V4.8.7 File: Can not attached Proteus file!
hi monie

append at end of file name simple with .zip
example:
orig file: test.zzz
append: test.zzz.zip

then you can upload the file
and give the info, that is only append and not compressed

hope this helps
best wishes
rudi ;-)

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: I2C 20x4 LCD with HD44780 - Proteus

Post by Monie Jacobsen »

Thank You Rudy
Ok with upload via zip
Last edited by Monie Jacobsen on Tue Jun 28, 2016 11:43 am, edited 1 time in total.
Best Regard
Monie

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: I2C 20x4 LCD with HD44780 - Proteus

Post by Monie Jacobsen »

Here is attached Proteus file:
Eletronik.zip
(23.83 KiB) Downloaded 1116 times
Best Regard
Monie

User avatar
Dan81
Valued Contributor
Valued Contributor
Posts: 268
Joined: Sun Jan 15, 2006 4:07 pm
Location: Albi France
Been thanked: 60 times
Contact:

Re: I2C 20x4 LCD with HD44780 - Proteus

Post by Dan81 »

Hello Monie

I've made a test with my own schematic (Proteus 8.2) .

The flowvchart works fine if I choose "I2C hardware" (channel1) .
I don't see your pull up resistors (SCL ,SDA) .

Daniel
LCD_I2C.jpg
(312.91 KiB) Downloaded 1052 times

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: I2C 20x4 LCD with HD44780 - Proteus

Post by Monie Jacobsen »

Hello Dan81
Thanks for your reply.

But do not be able to get I2C to operate so it can be anything in the display.
Tried to correct but can not get I2C for Display to work!
Hope you will be helpful for a solution to the problem
Has attached the edited diagram:
Diagram-002.JPG
Diagram-002.JPG (71.21 KiB) Viewed 15308 times
And attached coderne to Proteus:
I2C_LCD_Display-003.zip
(20.61 KiB) Downloaded 1132 times
From my Proteus Library Mega 2560:
Arduino-Library-for-Proteus.rar
(17.3 KiB) Downloaded 779 times
Bedst Regard
Last edited by Monie Jacobsen on Tue Jun 28, 2016 8:00 pm, edited 1 time in total.
Best Regard
Monie

User avatar
Dan81
Valued Contributor
Valued Contributor
Posts: 268
Joined: Sun Jan 15, 2006 4:07 pm
Location: Albi France
Been thanked: 60 times
Contact:

Re: I2C 20x4 LCD with HD44780 - Proteus

Post by Dan81 »

Hello Monie

I can't open your file (Proteus v8.5) .

here my project (v8.2).

Daniel
Attachments
test_lcdi2c.zip
(16.99 KiB) Downloaded 735 times

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: I2C 20x4 LCD with HD44780 - Proteus

Post by Monie Jacobsen »

Hello Dan 81
Thank you very much.
Trying to work with your coder;-)
Best Regard
Monie

Post Reply