EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
You are here: Home / Topics / Arduino LCD Connection. LCD not displaying anything

Arduino LCD Connection. LCD not displaying anything

|

Microcontroller › Arduino › Arduino LCD Connection. LCD not displaying anything

  • This topic has 2 replies, 3 voices, and was last updated 6 years, 4 months ago by Ashutosh Bhatt.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 11, 2016 at 2:52 pm #4360
    Deepak
    Participant

    Used Pin Connection:

    LCD Pin to  Arduino Pin

    14 to Arduino 2 

    13 to Arduino 3

    12 to Arduino 4 

    11 to Arduino 5

    6 to Arduino 10 

    5 to Arduino 11

    4 to Arduino 12

    1 to Arduino GND

    2 to Arduino +5V

    Used the Code:

    // include the library code:

    #include // initialize the library with the numbers of the interface pins

    LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() { // set up the LCD's number of columns and rows: lcd.begin(16, 2); // Print a message to the LCD. lcd.print(" Chakk Do fatte"); lcd.setCursor(0, 1); lcd.print("Balle Balle"); } void loop() { //TO CHANGE the text of the display, find the following values : lcd.print(" **Text for line 1 of LCD**"); lcd.print(" **Text for line 2 of LCD**"); }

     

     

    The Problem is: Nothing is displaying!
    March 25, 2016 at 12:18 pm #13824
    m venugopal
    Participant

    Hi deepak,

    i haven't connect LCD 3rd pin to the 10K pot. to set contrast 10K is required at 3rd pin. and please connect 5th pin of LCD to the ground.

     

    if you want more information please check below link. 

    http://www.engineersgarage.com/embedded/arduino/how-to-interface-4-bit-lcd-with-arduino

    April 2, 2016 at 11:13 am #13848
    Ashutosh Bhatt
    Participant

    if you continuously displaying text in loop functions you will not get anything on display 

    remove two lines in loop() function

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • question about speaker crossover August 19, 2022
  • How does a transistor works as a switch? August 19, 2022
  • Designspark PCB V10.0 on Windows 11 - fails to start August 19, 2022
  • Pedestal fan August 19, 2022
  • Peltier control August 19, 2022

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools