Sign in to follow this  
Followers 0
Entrax

Connect LCD Display over I²C

3 posts in this topic

Hello

I hope you can understand my english :)

I have a texas instruments tm4c123gxl with a SainSmart IIC/I2C/TWI Serial 2004 20x4 LCD Module.

I will connect this Display over I²C. For the 5V Supply voltage i have use the VBus on the tm4c...

For the SDA/SCL i have use the pin PA6 and PA7.

Does it work like this? or need a Logic Level Converter - Bi-Directional for the SDA/SCL Line? from 3,3V to 5V.

I have use a Pullup resistor for the Line SDA/SCL, how in the datasheet from the tm4c.

And i have use this Code:

#include <Wire.h>
#include <LiquidCrystal_I2C.h>


LiquidCrystal_I2C lcd(0x3F, 20, 4); // set the LCD address to 0x20 for a 16 chars and 2 line display

void setup()
{

  lcd.init();                      // initialize the lcd

  // Print a message to the LCD.
  lcd.backlight();
  lcd.print("Hello, world!");
}

void loop()
{
}

But my display show nothing only LED backlight.

 

Share this post


Link to post
Share on other sites

Perform a search on this forum, as the topic has been already asked and answered many times.

Yes, you need a logic level converter.

Share this post


Link to post
Share on other sites
15 hours ago, Rei Vilo said:

Perform a search on this forum, as the topic has been already asked and answered many times.

Yes, you need a logic level converter.

Ok, thanks for your information. Sorry, i will search in the Forum.

I will buy a logic level converter.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0