LCD Trouble in Crystal Ball Project from Arduino Project Book


hello, i'm new arduino , arduino forum. need bit of lcd received arduino projects book. i'll best provide applicable information. appreciated.

my problem: i've wired lcd, tilt sensor, , pot , see no change in display. not appear powered on, , contrast doesn't change when turn pot. problem not code. i've used both code , example code provided in arduino ide. there's still no change.

at first thought problem occurring because pins on lcd have different names lcd's pins in book. e.g pin connect 5v called vdd not vss (which book calls for.) after research found names different placement of wiring should still same.

i'm wondering...is lcd faulty? or problem wiring? i've tried rewiring , rewiring repetition hasn't eliminated error. still there's no visible reaction lcd. has else had trouble lcd? becoming troubling , i'd resolve problem can move on project.

in attachments i've placed picture of both diagrams projects book picture of own wiring reference.
thank you!

quote
i've tried rewiring , rewiring repetition hasn't eliminated error.
try again.  disconnect , reconnect things step step.

(1) connect backlight circuitry (lcd pins 15 , 16) , working.

(2) connect power , contrast (lcd pins 1, 2, , 3).  should able adjust potentiometer until see single row of rectangles.  there's no sense going further if doesn't work.

(3) connect rest of lcd pins (pins 4, 5, 6, 11, 12, 13, , 14) , see if can display simple message.  make sure connect lcd pin 5 gnd

code: [select]
#include <liquidcrystal.h>

//liquidcrystal lcd(rs, e, d4, d5, d6, d7);
liquidcrystal lcd(7, 8, 9, 10, 11, 12);      // put arduino pin numbers here

void setup()
  {
  lcd.begin(16, 2);                          // put lcd parameters here
  lcd.print("hello, world!");
  lcd.setcursor(0,1);
  lcd.print("it works!");
  }

void loop()
  {
                                             // nothing in 'loop'
  }


(4) add rest of stuff , run crystal ball project.

don


Arduino Forum > Using Arduino > Displays > LCD Trouble in Crystal Ball Project from Arduino Project Book


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'