Jump to content

Arduino Uno does not load an LCD


Bountyhunter50

Recommended Posts

Hi gang,

If you're familiar with Arduino boards, care to help out a newbie?

I'm trying to go basic with a 16x2 LCD board, but all I can do is get it light up. I cannot get any text to display and I'm out of ideas.

here is my code along with my wiring. pardon the mess, this is after trying different wiring configuriations in an attempt to show myself I sucked at the solder job.



// include the library code:
#include <LiquidCrystal.h>

// 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("hello, world!");
}

void loop() {
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(0, 1);
  // print the number of seconds since reset:
  lcd.print(millis()/1000);
}
Link to comment
Share on other sites

You have loaded the module into the Uno? I don't have the sketchbook in front of me so I can't test the code; but as far as I can tell the code is fine.

Your twelve volt is giving power (just getting past the obvious).

I tried looking at your bread board... but I can't follow the lines (too early ;) )

I do notice a lack of resistors. You may need resistors for this.

ScrOOGLE "Lady Ada Arduino" and enjoy ;)

Link to comment
Share on other sites

Hmmm... could the potentiometer control the opacity of the text?

Can't load the arduino.cc site at the moment... but I will look into it when I get my board out.

Edited by Pwnd2Pwnr
Link to comment
Share on other sites

Hmmm... could the potentiometer control the opacity of the text?

Can't load the arduino.cc site at the moment... but I will look into it when I get my board out.

That's my next theory, I bought a 10k Potentiometer today so I'm gonna connect it in line and see what shakes loose. I'll keep you posted.

'Prechiate it Pwnd2Pwnr

*** UPDATE***

the 10k Potentiometer totally did the trick!!! Let me solder the final connections and I'll upload some photos shortly :D

Edited by Bountyhunter50
Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...