3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

LCD 4X20 ADM2004D-FL-YBS y ARDUINO. Doesnt work!!!!! HELPPP!!!!?


hola, soy nueva en esto de los LCD y estoy tratando se obtener un "hello world!" con el lcd adm200d-fl-ybs conectandolo a Arduino UNO. ES IMPOSIBLE, lo maximo que obtengo es 2 filas con cuadrados negros.
He probado las libreria lcd.h, lyquidCrystal.h,LCD4bit.h...........He cargado varios programas , conectado pines y no hay forma. Porfavor, ayuda o tiro a la basura el LCD y compre otro que me aconsejeis. SOS..........SOS...........SOS
GRACIAAAAAS

THIS CODE DOESNT WORK:
#include <LiquidCrystal.h>

LiquidCrystal lcd(7,6,5,4,3,2);

void setup()
{
Serial.begin(9600);
// Print a message to the LCD.
Serial.println("setup");
// set up the LCD's number of rows and columns:
lcd.begin(20, 4);
// Print a message to the LCD.
// lcd.setCursor(0, 3);
lcd.setCursor(0, 3);
lcd.print("hello, world!");

}

void loop()
{

}

IMG059.jpg
4 answers
May 9, 2011. 5:49 AMsteveastrouk says:
Well, also retest ALL your wiring. Protoboards are NOT to be trusted for reliable wiring.

Steve
May 5, 2011. 6:23 PMniji says:
try turning it off then turn it on again :) it just might work :)
Apr 29, 2011. 5:50 AMsteveastrouk says:
And if its in 4 bit mode, ground the unused pins on the data bus
Apr 29, 2011. 2:01 AMfrollard says:
Is the lcd set up to use 4 bit or 8 bit parallel driving?

http://arduino.cc/en/Tutorial/LiquidCrystal

suggests using 12 11 5 4 3 2
Did you try with that setup?

Try outputing something in the void loop() function
eg
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);
}

Lastly, make sure the contrast is correct- or you might see junk.


(google translate) :
¿Es la pantalla LCD configurado para utilizar 4 bits u 8 bits en paralelo de conducción?

http://arduino.cc/en/Tutorial/LiquidCrystal

sugiere utilizar 12 11 5 4 3 2
¿Probaste con que la instalación?

Intente algo outputing en el circuito de vacío () la función
por ejemplo,
void loop () {
/ / colocar el cursor en la columna 0, la línea 1
/ / (nota: la línea 1 es la segunda fila, ya que cuenta comienza con 0):
lcd.setCursor (0, 1);
/ / imprimir el número de segundos desde que se restableció:
lcd.print (Millis () / 1000);
}

Por último, asegúrese de que el cambio es correcto o es posible que vea basura.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!