Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

LCD Shield Not working
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

LCD Shield Not working

by philippereira on Wed Apr 21, 2021 8:25 pm

I am having trouble with

RGB LCD Shield Kit w/ 16x2 Character Display - Only 2 pins used! - NEGATIVE DISPLAY
PRODUCT ID: 714

from your website. I am trying to run your "hello world" code from your libraries and nothing turns on.
Please let me know what I am doing wrong. I have attached images, hopefully they are clear. Thank you
Attachments
image3-min-zdxfcgvhbjnkml-min.jpeg
image3-min-zdxfcgvhbjnkml-min.jpeg (870.03 KiB) Viewed 311 times

philippereira
 
Posts: 8
Joined: Wed Apr 21, 2021 6:36 pm

Re: LCD Shield Not working

by philippereira on Wed Apr 21, 2021 8:26 pm

I know the A4 wire is not plugged in, this was just for the image. It should be next to A5

philippereira
 
Posts: 8
Joined: Wed Apr 21, 2021 6:36 pm

Re: LCD Shield Not working

by adafruit_support_bill on Wed Apr 21, 2021 8:43 pm

Your connections do not appear to be soldered. You need to have solid electrical connectivity to the shield.

adafruit_support_bill
 
Posts: 81312
Joined: Sat Feb 07, 2009 10:11 am

Re: LCD Shield Not working

by philippereira on Sat Apr 24, 2021 11:42 am

Hi, the LCD is soldered, and nothing turns on
Attachments
C55E5405-8246-49A1-80D1-E776B320F898-min.jpeg
C55E5405-8246-49A1-80D1-E776B320F898-min.jpeg (1018.51 KiB) Viewed 288 times

philippereira
 
Posts: 8
Joined: Wed Apr 21, 2021 6:36 pm

Re: LCD Shield Not working

by adafruit_support_bill on Sat Apr 24, 2021 1:21 pm

The solder in you joints has not flowed onto the solder pads, so they will not make reliable electrical contact.

Ideally your solder joints should have a cross section as in the diagram below. For tips on identifying and fixing common soldering problems, see this guide:
https://learn.adafruit.com/adafruit-gui ... n-problems
Image

adafruit_support_bill
 
Posts: 81312
Joined: Sat Feb 07, 2009 10:11 am

Re: LCD Shield Not working

by philippereira on Sat Apr 24, 2021 1:43 pm

Hi, thank you. The LCD turns on but now no text is displayed after running the hello world.
Attachments
8DD8A789-C809-4345-9E34-BC3EBFABE64B-min.jpeg
8DD8A789-C809-4345-9E34-BC3EBFABE64B-min.jpeg (617.24 KiB) Viewed 282 times

philippereira
 
Posts: 8
Joined: Wed Apr 21, 2021 6:36 pm

Re: LCD Shield Not working

by adafruit_support_bill on Sat Apr 24, 2021 1:50 pm

Please post a new photo of the back side of the board also.

adafruit_support_bill
 
Posts: 81312
Joined: Sat Feb 07, 2009 10:11 am

Re: LCD Shield Not working

by philippereira on Sat Apr 24, 2021 2:22 pm

Here you go
Attachments
262C92BC-0FF5-447C-A963-942EF354ADFF.jpeg
262C92BC-0FF5-447C-A963-942EF354ADFF.jpeg (850.84 KiB) Viewed 281 times

philippereira
 
Posts: 8
Joined: Wed Apr 21, 2021 6:36 pm

Re: LCD Shield Not working

by adafruit_support_bill on Sat Apr 24, 2021 2:28 pm

That is an improvement, but there are still quite a few solder joints that have not flowed substantially onto the solder pads. In particular, most of the display header pins need more work.

adafruit_support_bill
 
Posts: 81312
Joined: Sat Feb 07, 2009 10:11 am

Re: LCD Shield Not working

by philippereira on Sat Apr 24, 2021 2:29 pm

Do you think you can point out which ones in particular? By circling them or something? Thank you

philippereira
 
Posts: 8
Joined: Wed Apr 21, 2021 6:36 pm

Re: LCD Shield Not working

by adafruit_support_bill on Sat Apr 24, 2021 3:20 pm

Just about all of them:
Attachments
Screenshot 2021-04-24 151430.png
Screenshot 2021-04-24 151430.png (964.07 KiB) Viewed 279 times

adafruit_support_bill
 
Posts: 81312
Joined: Sat Feb 07, 2009 10:11 am

Re: LCD Shield Not working

by philippereira on Sat May 01, 2021 2:28 pm

Hi thanks for the response. The LCD backlight and text appear to work but the buttons do not work now. They were working at one point however. Do those solders need work? Thanks
Attachments
65976E85-17B5-412A-82B5-FD549BE50F2E.jpeg
65976E85-17B5-412A-82B5-FD549BE50F2E.jpeg (971.52 KiB) Viewed 231 times

philippereira
 
Posts: 8
Joined: Wed Apr 21, 2021 6:36 pm

Re: LCD Shield Not working

by adafruit_support_bill on Sat May 01, 2021 2:37 pm

Looks like some of those could use some re-work also. If you can see the gold color of the solder pad, that means the solder has not completely flowed onto it.

adafruit_support_bill
 
Posts: 81312
Joined: Sat Feb 07, 2009 10:11 am

Re: LCD Shield Not working

by philippereira on Wed May 05, 2021 4:56 pm

Hi. I have a few more questions.


I've been trying this code sent below. If I leave it in the void loop the display bugs out and the letters keep flashing but if I put it in the void set up the buttons don’t do anything. I think it’s because in the loop it is continuously checking if the buttons are pressed but that in the set up it only does it once so that I am technically “missing” the moment it checks and pushing the button after it’s already checked. It also seems that the hello world code works in the void loop but not the void setup. Can you explain what is happening. Thanks



Code: Select all | TOGGLE FULL SIZE
#include <Wire.h>
//#include <Adafruit_MCP23017.h>
#include <Adafruit_RGBLCDShield.h>

Adafruit_RGBLCDShield lcd = Adafruit_RGBLCDShield();

int LCD_1 = A5; //??
int LCD_2 = A4; //??

// These #defines make it easy to set the backlight color
#define OFF 0x0
#define RED 0x1
#define YELLOW 0x3
#define GREEN 0x2
#define TEAL 0x6
#define BLUE 0x4
#define VIOLET 0x5
#define WHITE 0x7


void setup() {
  // put your setup code here, to run once:


}

void loop() {
  // put your main code here, to run repeatedly:
lcd.begin(16, 2); //Sets the number of columns and rows on the lcd, this what the LCD is capable of
  //int Comp_Type = First;
  //int Test_Type = First;
lcd.setCursor(0, 0); //set cursor to first row
          lcd.print("Component Type?"); //prints on the first row
          lcd.setCursor(0, 1); //Set cursor to second row
          lcd.print("U:CVT L:DS R:GB"); //prints on the second row
          uint8_t buttons = lcd.readButtons();
          Serial.println("1");
  if (buttons) {
    //Now what type of test?
    if (buttons & BUTTON_UP) {
        //HERE COMPONENET IS CVT (1)
       // Comp_Type = 1;
        lcd.setCursor(0, 0);
        lcd.print("Select Test Type");
        lcd.setCursor(0, 1);
        lcd.print("U:TOP SPEED D:CYC.");
      }
      if (buttons & BUTTON_LEFT) {
        //HERE COMPONENT IS DRIVE SHAFT
        //Comp_Type = 2;
        lcd.setCursor(0, 0);
        lcd.print("Select Test Type");
        lcd.setCursor(0, 1);
        lcd.print("U:TOP SPEED D:CYC.");
      }
      if (buttons & BUTTON_RIGHT) {
        //HERE COMPONENT IS GEARBOX
        //Comp_Type = 3;
        lcd.setCursor(0, 0);
        lcd.print("Select Test Type");
        lcd.setCursor(0, 1);
        lcd.print("U:TOP SPEED D:CYC.");
      }
    } //END OF FIRST IF STATEMENT
}
Last edited by adafruit_support_bill on Thu May 06, 2021 6:56 am, edited 1 time in total.
Reason: Pleas use [code] tags when posting code to the forums

philippereira
 
Posts: 8
Joined: Wed Apr 21, 2021 6:36 pm

Re: LCD Shield Not working

by adafruit_support_bill on Thu May 06, 2021 7:03 am

I'm not sure what you intended the code to do. But the following lines of code probably belong in setup().

Code: Select all | TOGGLE FULL SIZE
  // put your main code here, to run repeatedly:
lcd.begin(16, 2); //Sets the number of columns and rows on the lcd, this what the LCD is capable of
  //int Comp_Type = First;
  //int Test_Type = First;
lcd.setCursor(0, 0); //set cursor to first row
          lcd.print("Component Type?"); //prints on the first row
          lcd.setCursor(0, 1); //Set cursor to second row
          lcd.print("U:CVT L:DS R:GB"); //prints on the second row


The lcd.begin() initializes the display. that only needs to be done once.
And the next few lines are will continually write the same thing to the display if they are in the loop.

adafruit_support_bill
 
Posts: 81312
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.