Show Posts
Pages: 1 2 [3] 4 5 ... 275
31  Using Arduino / Displays / Re: LCD with Sensor Shield v5.0 on: March 30, 2014, 07:12:54 pm
Your LCD appears to have an I2C adapter.  This means that you cannot use the regular LiquidCrystal library that comes with the Arduino IDE.

Have you considered trying the example code on the Sainsmart web page?


Don
32  Using Arduino / Displays / Re: Menu Example Sketch on: March 30, 2014, 01:54:47 pm
Quote
If you could point me in the direction of a good basic example of a menu for an lcd/keypad I'd really appreciate it, or a tutorial on how to write one from scratch would be great too.
The 'Phi-menu' at this site --> http://liudr.wordpress.com/libraries/phi-menu/ is specifically designed for the shield that its author sells.  You may get some ideas by looking at his library or you may just decide to replace your Sainsmart LCD keypad shield with his.

Don
33  Using Arduino / Displays / Re: wiring VFD to Arduino Duemilanove on: March 30, 2014, 01:49:07 pm
Quote
Please, can someone help me with wiring this VFD to Arduino Duemilanove ?
Wiring the display to your Arduino is the least of your problems.

You really should be asking if anyone can give you help with locating some software to actually control the display with your Arduino.


Don
34  Using Arduino / Displays / Re: PROBLEM WITH MY LCD on: March 30, 2014, 11:23:34 am
Quote
The problem was the pin 3, i didn't connect it to ground. The problem is resolved.
You can probably get a better display by hooking up the recommended potentiometer.

Don
35  Using Arduino / Displays / Re: PROBLEM WITH MY LCD on: March 30, 2014, 08:41:16 am
Quote
Hi, i have a problem. I plug my LCD PC1602AR-HWA-A (there is a attached picture and the datasheet) with jumpers to Arduino Mega 2560 but it not works.
The display may not be doing what you expect but you haven't told is what it is doing. 
Do you see anything on the display?
Does the contrast potentiometer have any effect?

By the way you haven't mentioned the contrast pin (LCD pin 3) in your connection list. 
If you leave that pin unconnected then the display will always be blank.
If you haven't got a potentiometer then connect LCD pin 3 to GND and you may get a useable display.


Don
36  Using Arduino / Displays / Re: Base Program Language on: March 29, 2014, 03:56:23 pm
C++
37  Using Arduino / Displays / Re: Strange Character on LCD when using bash to send over serial on: March 28, 2014, 05:36:31 pm
I had the same strange character   and it was the serial monitor
must be set to   "  no line ending  "
His problem was with the LCD display not the serial monitor and the answer in reply #2 is still the correct one.

Don
38  Using Arduino / Displays / Re: Help with Adafruit SPI LCD display code. on: March 28, 2014, 05:33:12 pm
Quote
Does anyone have a begginers / idiots guide to getting this thing working
Have you tried the guide in the tutorial tab on the page you linked to?

Don
39  Using Arduino / Displays / Re: Using I2C 16x2 LCD with Arduino on: March 27, 2014, 04:59:53 pm
Quote
Am I even using the right library?
Yes.

Quote
If so, then what am I doing wrong?
You need to use the correct 'constructor' to match your hardware.  The I2C LCD guesser program will help you with that:
I2CLCDGUESSER --> http://forum.arduino.cc/index.php?action=dlattach;topic=157817.0;attach=67523


Don
40  Using Arduino / Displays / Re: LCD Keypad Shield v2.0 only displaying on first left 8 caracters on: March 27, 2014, 04:53:25 pm
Quote
Any idea what could be wrong ?
Have you looked through the other recent threads in this section of the forum?

Here are a few to check out:

http://forum.arduino.cc/index.php?topic=226853.0
http://forum.arduino.cc/index.php?topic=227598.0
http://forum.arduino.cc/index.php?topic=227289.0

Don




41  Using Arduino / Displays / Re: Help. LCD Stopped working when DC Motor is connected on: March 26, 2014, 09:49:06 pm
Quote
Because the backlight of the LCD remains on even though the display goes blank.
The backlight is a completely separate system from the LCD.

Don
42  Using Arduino / Displays / Re: LCD display burns on: March 26, 2014, 04:01:01 pm
Quote
These photographs show an LCD that is functioning correctly but is improperly initialized.
I guess that is a bit confusing.  I meant "these photographs show an LCD that is not defective but is improperly initialized".  The photograph in the original post showed a defective display.

Don
43  Using Arduino / Displays / Re: LiquidCrystal demo problem on: March 26, 2014, 12:07:33 pm
Quote
However as soon as I connect the 10k potentiometer in order to adjust the contrast, the whole screen goes blank. Any ideas?!
The ends of the potentiometer go to pins 1 and 2, the center goes to pin 3.  You should be able to adjust the voltage at pin 3 from 0 to 5 volts.  The proper setting is typically around 0.5 volts.

If you connect pin 3 to GND you will typically have a bit too much contrast.  The characters will be very dark and the dots that are supposed to be blank will probably show a bit up thus making the characters less distinct.

You could try connecting a 1K resistor between pins 1 and 3 and a 10K resistor between pins 2 and 3.  You can use other nearby values as long as the ratio is about 1:10.


Don
44  Using Arduino / Displays / Re: LiquidCrystal demo problem on: March 26, 2014, 08:49:37 am
Quote
Is there any progressive troubleshooting method I can use to identify the problem?

Here is my generic step by step approach that should work:

(1) If the module has a backlight then get it working properly.  This involves only pins 15 and 16 on most LCD modules.  Make sure to use a current limiting resistor if there is none on the LCD module.

(2) Get the power and contrast working properly.  This involves only pins 1, 2, and 3 on most LCD modules.  You should be able to just barely see blocks on one row of a two row display and on two rows of a four row display. 

NOTE:  The Arduino has not been used yet, except as a possible source for the power needed for the first two steps.  Do not try to go any further until this is working.  If you don't see the blocks then no amount of program code will help.

(3) Connect the LCD R/W pin (pin 5) to GND.

(4) Connect the six control and data wires between your LCD module and your Arduino.

(5) Upload your sketch and it should work.


Troubleshooting:

If you have a 16x1 display and there are blocks only on the left half of the row in step 2 then use lcd.begin(8, 2); in your sketch.

If you still don't get a display then make sure that your wiring matches the numbers in the descriptor (or vice versa).


Code:
//LiquidCrystal lcd(RS, E, D4, D5, D6, D7);
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);      // put your pin numbers here

If you get a display but it is garbled or has some other problems then try again with a 'static' sketch, one that displays a simple message on the top row of the display and then stops.  All of your code should be in setup() and loop() should be empty between the brackets.

Code:
#include <LiquidCrystal.h>

//LiquidCrystal lcd(RS, E, D4, D5, D6, D7);
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);      // put your pin numbers here

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

void loop()
  {
  }

If you are still having problems then we need to see a photograph of your setup that clearly and unambiguously shows all of the connections between your Arduino and your LCD module.  We also need a copy/paste version of the code that you are actually using, not a link to the code that you think you are using.

Don
45  Using Arduino / Displays / Re: LCD display burns on: March 26, 2014, 08:46:02 am
Quote
Hi again, Andoni here with the same problem this time in another LCD
This is not the same problem as in the original post.

These photographs show an LCD that is functioning correctly but is improperly initialized.

This is a result of a problem with the connections with the programming or with both.  

Your contrast appears to be set properly.

Since all of your wires are the same color it is hard to do much troubleshooting of the connections using the photographs.  I don't see any connection to pin 5 of the LCD so please verify that this pin is connected to GND.  It also looks like you may be using the wrong data pins on your LCD.  You should be using LCD pins 11, 12, 13, and 14.

Are you sure that your constructor (LiquidCrystal lcd(RS, E, D4, D5, D6, D7);) matches your actual connections?


Don

Pages: 1 2 [3] 4 5 ... 275