LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

myrio lcd i2c

Good morning, good afternoon, good evening.
I'm learning LabView, I am using this powerful new tool,
I Myrio and I am doing a project which need to display data (temperature) on a 16x2 LCD
I acquired I2C module for the screen, but I did not succeed in connecting the screen with the Myrio.
please, I would like to give me a help, because it is my pyoecto grade .. hize proof by example that comes in the guideMyRIO
I would be very grateful.
Attached is a picture and I saw my project.
  Thank you.
20160131192945.jpg

0 Kudos
Message 1 of 9
(6,500 Views)

Several points to check here:

1. Check if the pins are properly connected and in order (some of these backpacks might have a different pin configuration. I purchased a couple from different vendors and found different pin configurations.

2. Check if the I2C address that you are writing to is responding

3. Try the latest code for the backpack that I uploaded here which is based on an original upload by cyotani

4. Don't duplicate post

 

Best Luck and hope that the above will help you in your endeavor

Message 2 of 9
(6,423 Views)

Thank you so much
for the help-
I have a little problem. The file is in LabVIEW 2015 and 2014 I have.
Sorry to bother you, but will be able to send it to me in 2014?
Please, I am just learning to program in Labview.
and again thank you very much for the help.

0 Kudos
Message 3 of 9
(6,409 Views)

Here is the file in LV14 format.

If you encounter a missing VI error you will have to install the OpenG toolkit from VIPM.

Message 4 of 9
(6,400 Views)

Thank you..  Li
informs you when you are successful in running the screen ..
Really thank you very much.

0 Kudos
Message 5 of 9
(6,391 Views)

Hello how are you doing?
I'm sorry to bother you again.
I inform you that I did not succeed in operating the LCD screen
like you said, I saw all the connections and the screen and the I2C module.
Ticket change, and had no results.
attempt to modify your code, but I had no success.
the screen just flashes, and sometimes shows me only "0" in a single line
some do not understand is when you put the bytes in the entry into init.vi
3-3-3-2-40-1-6-12-3. that configuration is for a 20x4, right screen?
as serious for 16x 2 screen?
I hope you can help me with my problem, I just need the display shows me data, only that I need, I attached my model and display module.
Thank you.
I await your quick reply

1.jpg

PCF8574t

 

1.jpg1.jpg

0 Kudos
Message 6 of 9
(6,359 Views)

Hi. The initialization command is described below and adopted from the LCD IC datasheet. It will work for 2 and 4 lines and you should see the data the you are writing to even on the screen if everything is working properly.

Are you getting an error if you probe it in the loop? did you check your LCD-backpack address and if it matches the one in the code that I sent you? And one final thing to check is whether the backpack is mounted in the reversed order to the screen. Good Luck.

 

3 RESET
3 RESET
3 RESET
2 ENTRY MODE: 4BIT MODE
40 FUNCTION SET: 4 BIT MODE - 2 LINES - 5X8 MODE
1 CLEAR DISPLAY
6 ENTRY MODE SET: INCREMENT - NO SHIFT
12 DISPLAY CONTROL: DISPLAY ON - CURSOR OFF - BLINKING OFF
3 CLEAR DISPLAY - RETURN HOME

0 Kudos
Message 7 of 9
(6,279 Views)

Hello how are you doing?
Sorry to bother you again.
I did not succeed to connect the screen to Myrio
like you said, well check the module address I2C, and 0x27.
talbien set me on the settings screen, and does not give me results.
medi multimeter with continuity of the integrated circuit, and the pins are correct.
I could lend another Myrio of a classmate, because I thought mine was damaged, but also has the same problem of the screen.
acquired a mega arduino, and attach it as I made the first time, and I got the screen.
What advice can you give me? or will be wrong?
you think is the LCD screen?
Thank you so much.
I hope you can help me
fffff.JPG

0 Kudos
Message 8 of 9
(6,212 Views)

Hi

Are you sure that you are using the proper I2C port and pins?

One last thing: double check the arduino code parameters that you have with the LabVIEW code if the above was properly connected.

 

GL

0 Kudos
Message 9 of 9
(6,177 Views)