Hi there ![]()
Just got my Arduino Mega 2560 a few days ago (Yay!) and I found an old DISPLAYTECH 161A lying around that I want to use with my Mega.
Can anyone point me in the right direction of going about this? ![]()
Thanks!
Hi there ![]()
Just got my Arduino Mega 2560 a few days ago (Yay!) and I found an old DISPLAYTECH 161A lying around that I want to use with my Mega.
Can anyone point me in the right direction of going about this? ![]()
Thanks!
You really should post a link to the data sheet for your device. Did you try searching for it?
You have a 16x1 Character mode LCD which will work fine with the LiquidCrystal library. I suggest starting with the 'Hello World!' example sketch http://arduino.cc/en/Tutorial/LiquidCrystal as implemented in this tutorial: Arduino Tutorial - connecting a parallel LCD.
Your display will produce some strange results since it is configured differently. It is most likely set up internally as an 8x2 so when it is working properly it will display 'hello, w' on the left part of the display followed by the numerical count of seconds on the right.
Don
You're right. I should have ![]()
Here's the data-sheet: http://www.microcontroller-online.de/microcontroller/datenbl�tter/PDF/LCD161A.pdf
I should have said in the original post that I did try the example tutorial and got nothing but black blocks on the display :S
I will definitely try that implementation! Thank you very much ![]()
Is it possible to configure it 'correctly' or am I going to have to work around it?
I should have said in the original post that I did try the example tutorial and got nothing but black blocks on the display :S
Which tutorial? Were there 16 boxes or only 8? Did you adjust the contrast potentiometer and get the correct results? Did you connect pin 5 of the LCD to GND?
Don
Well I was trying the official LiquidDisplay tutorial from the Arduino documentation ![]()
Yes I did adjust it and only got 'squares'.
No sure on pin 5, will try again. Thanks!
I only saw 8 boxes/'squares' ![]()
I only saw 8 boxes/'squares'
Well your choices are essentially down to a bad sketch or bad wiring and we know that the sketch is good. If grounding pin 5 doesn't fix your problem then you should post a nice clear photograph of the connections between your LCD module and your Arduino.
Don
Okay, thanks
Will test later today!