Go Down

Topic: Help with parallax serial LCD and arduino uno (Read 4 times) previous topic - next topic

TinselKoala

#5
Dec 13, 2012, 08:17 am Last Edit: Dec 13, 2012, 08:23 am by TinselKoala Reason: 1
Oh it hurts to read these non-responsive replies. I sure hope I get better "help" when I need it.

YES, the Parallax LCD, 2 lines x 16 characters with backlight and speaker, three pins on the back, is EASY TO USE WITH ARDUINO.
And there is ABSOLUTELY NO SOLDERING REQUIRED.

Sorry to shout but it seems that the s/n ratio here is really poor.  :~

Here is some signal for you: the Parallax LCD requires only three wires, +5V, Ground, and Signal. The signal pin is assigned in the program sketch. You need the Arduino IDE, you need the ParallaxLCD library from here:

https://github.com/iamthechad/parallax_lcd

You can use the speaker to play tunes or beeps, you can make your own special characters, and you can use all of the library functions in the ParallaxLCD library with your Arduino, very easily.

Here is the example code from the library that shows how easy it is to use the Parallax LCD with your Arduino.

Is it common on this forum to get a whole page of non-answers and actual  _wrong_  information (lots of soldering?  :smiley-yell:  )  before someone actually addresses the question asked?

Code: [Select]


/*
NOTE: you must: #include <SoftwareSerial.h>
BEFORE including the ParallaxLCD.h header
*/

#include <SoftwareSerial.h>
#include <ParallaxLCD.h>

#define ROWS 2
#define COLS 16

ParallaxLCD lcd(2,2,16); // desired pin, rows, cols

/**
* Initialize the 2-dimensional custom character byte array.
* Even though each 'byte' is 0-255, only the lowest 5 bytes are used. So only
*  0-31 are valid values.
*/
byte customCharacters[8][8] = {0, 4, 14, 31, 14, 4, 0, 0,   // Diamond
                              0, 10, 14, 31, 31, 14, 4, 0, // Heart
                              0, 4, 14, 31, 14, 4, 14, 0,  // Spade
                              4, 14, 4, 10, 31, 10, 4, 14, // Club (sorta...)
                              4, 14, 21, 4, 4, 4, 4, 4,    // Up
                              4, 4, 4, 4, 4, 21, 14, 4,    // Down
                              27, 22, 13, 27, 22, 13, 27, 22, // Stipple pattern #1
                              29, 14, 23, 27, 29, 14, 23, 27  // Stipple pattern #2
                            };
void setup () {

 lcd.setup();
 delay(1000);
 lcd.backLightOn();
 lcd.at(1,4,"Milliseconds\0");
 delay(1000);
 lcd.off();
 delay(1000);
 lcd.on();
 lcd.pos(0,1);
 lcd.at(0,1,"m:\0");
 for (int b=0; b<101; b+=5) {
   lcd.at(0,3,millis());
   delay(500);
 }
 lcd.empty();
 lcd.print("Line Feed\0");
 for (int b=0; b<51; b+=5) {
   lcd.lf();
   delay(500);
 }
 lcd.empty();
 lcd.print("Chr Return\0");
 delay(1000);
 for (int b=0; b<51; b+=5) {
   lcd.pos(0,11);
   delay(500);
   lcd.cr();
   delay(500);
 }

 lcd.cursorBlock();
 lcd.empty();
 lcd.print("Block Cursor\0");
 for (int x=1; x<16; x++) {
   lcd.pos(1,x);
   delay(500);
 }
 lcd.empty();
 lcd.print("Underline Cursor\0");
 lcd.cursorUnderline();
 for (int x=1; x<16; x++) {

   lcd.pos(1,x);
   delay(500);
 }
 lcd.backLightOff();
 lcd.cursorOff();
 
 // Clear the screen and enjoy a brief interlude.
 lcd.empty();
 lcd.print("Music Maestro!\0");
 lcd.playTone(213, 216, 223);
 lcd.playTone(213, 216, 223);
 lcd.playTone(214, 216, 227);
 lcd.playTone(210, 217, 220);
 lcd.playTone(210, 217, 222);
 lcd.playTone(210, 217, 224);
 lcd.playTone(210, 217, 226);
 delay(3000);
 
 /**
  * Initialize the custom character slots on the LCD with the predefined values.
  */
 int i;
 for(i=0; i < 8; i++) {
   lcd.setCustomCharacter(i, customCharacters[i]);
 }
 lcd.empty();
 lcd.backLightOn();
 // Now display them for 2 seconds each.
 for(i=0; i < 8; i++) {
   lcd.at((i%ROWS),1, "Custom Char \0");
   lcd.at((i%ROWS),13, i);
   lcd.printCustomCharacter(i);
   lcd.cr();
   delay(2000);
 }
}

void loop () {
 lcd.at(2,9,millis());
}


There are lots of videos on YT showing the Parallax LCD with Arduino. My current project is a SousVide crockpot PID temperature controller, using the Parallax LCD for data readout, settings, beeps, alarms, etc. Here's my video showing some of the calibration.

http://www.youtube.com/watch?v=ZsEE-QRNfPs

Cheers--
--TK

Nick Gammon


Oh it hurts to read these non-responsive replies. I sure hope I get better "help" when I need it.


For a minute there I thought you were the original poster. We asked him for a link to his LCD so we could help him better. Is that so unreasonable?

Quote
Is it common on this forum to get a whole page of non-answers and actual  _wrong_  information (lots of soldering?  smiley-yell  )  before someone actually addresses the question asked?


Not at all. However it is quite common for people to ramble on through about 6 or 7 posts without providing a link to their hardware, a copy of their code, a photo of their setup, a description of the exact problem, and what happened compared to what they expect.

I suggest you moderate your tone. I note this is your first post here. Taking the opportunity to attack forum members who are trying to help is not a good start.

Groove

Quote
Oh it hurts to read these non-responsive replies. I sure hope I get better "help" when I need it.

With that attitude, I somehow doubt it.

'Koala' suggests the Antipodes - you're not related to TyTower or April, by any chance, are you?
Per Arduino ad Astra

TinselKoala



Oh it hurts to read these non-responsive replies. I sure hope I get better "help" when I need it.


For a minute there I thought you were the original poster. We asked him for a link to his LCD so we could help him better. Is that so unreasonable?

Quote
Is it common on this forum to get a whole page of non-answers and actual  _wrong_  information (lots of soldering?  smiley-yell  )  before someone actually addresses the question asked?


Not at all. However it is quite common for people to ramble on through about 6 or 7 posts without providing a link to their hardware, a copy of their code, a photo of their setup, a description of the exact problem, and what happened compared to what they expect.

I suggest you moderate your tone. I note this is your first post here. Taking the opportunity to attack forum members who are trying to help is not a good start.

So I post a copy of the example code, a video showing my Parallax LCD working with Arduino, a link to the ParallaxLCD Arduino library, on my first post..... I suppose I should have rambled on for six or seven posts then.

I came here looking for help with a problem I am having. I found this thread and the "non replies" to a simple question that could have been easily and quickly answered by the next poster. But I find some very disparaging comments and untruths about the Parallax LCD, like "lots of soldering needed" and "put it away in a drawer" and  "googling I find.....blah blah blah."  Well, googling  "parallax LCD",  look what comes up at the top of the list (image attached).

I am not attacking "forum members who are trying to help". There is no attempt to help,  before my post. Just comments knocking the choice of displays (the easiest one by far to use, with a speaker and backlight to boot) and comments about other displays and misstatements of fact. The only help that the OP got is from me.

So you attack ME for my tone. That is typical.

Me coming here for help with a problem of my own, and finding this thread as the one most closely related to my issue..... is indeed not a good start. A more appropriate response from YOU would be to thank me for my troubles and for actually answering and helping the OP with his or her issue, rather than attacking the choice of displays in the first place, and secondly attacking ME when I post the answers sought.



TinselKoala


Quote
Oh it hurts to read these non-responsive replies. I sure hope I get better "help" when I need it.

With that attitude, I somehow doubt it.

'Koala' suggests the Antipodes - you're not related to TyTower or April, by any chance, are you?


No I am not. I live in San Antonio, Texas, USA, rather far from any podes, anti or otherwise, and my nick is an anagram of my mother's maiden name, Kate Allison.

(among other anagrams)

Now.... you can view me as a resource, and put up with me calling a "spade" a spade, or you can ignore me, ban me, whatever.
I will continue to write code and use Arduinos in my projects nevertheless. But apparently I have more answers than you do.

Here is the further development of my TK SousDuino PID slow cooker, using the Parallax LCD display with an Uno clone .... with its three wires, no soldering required for hookup, and easily programmable functionality including speaker and backlight. The program sketch is linked in the video description on YT. Take it... or leave it.
http://www.youtube.com/watch?v=QuaCp4dc9EM

Go Up