Guys I need help on my 16x2 lcd

Guys i have a lcd i recently got shipped to. And i think i couldnt find help for it.

I have attached the image of the lcd and its config image as mentioned in th lcd itself .

I want to know is E =en, VEE = VO and VCC = VDD as we normally know a lcd. What is the LED+ and LED- and what is VSS

Also is there any editing i should do in my code

BTW im doing it without potentiometer

thanks to @xfpd @arduinojanuary @UKHeliBob for helping me in my last post.
link to last post

link to a Arduino interfacing with LCD

heres my code

#include <LiquidCrystal.h>
#include <dht.h>

#define dht_apin A0
dht DHT;

const int rs =12, en = 11, d4 = 5,d5 = 4,d6 = 3,d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);

const int sense_pin = A1;

int relay = 8;
int pump = 0;


void setup() {
  pinMode(relay, OUTPUT);
  Serial.begin(9600);
  delay(1000);
  Serial.println("Welcome to Plant Temperature reader");
  lcd.begin(16,2);
  delay(1000);
  lcd.clear();
}

void loop() {
  DHT.read22(dht_apin);

  
  int moist;
  int sense_apin;
  sense_apin = analogRead(sense_pin);
  moist = (100-((sense_apin/1023) * 100));

  Serial.print("Current temperature=");
    Serial.print(DHT.temperature);
    Serial.print("°C\n\n");
    Serial.print("Current Humidity=");
    Serial.print(DHT.humidity);
    Serial.print("%\n\n");
    Serial.print("Current Soil moisture=");
    Serial.print(moist);
    Serial.print("%\n\n");
    delay(1000);

  if(moist<15){

    digitalWrite(relay,HIGH);
    pump = 1;

  }
  else{

    digitalWrite(relay, HIGH);
    pump = 0;

  }
  
  
  
  if(DHT.temperature<60 || DHT.temperature>-30 && DHT.humidity>0){

    lcd.setCursor(0,0);
    lcd.print("Temper..=");
    lcd.setCursor(15,0);
    lcd.print("C");
    lcd.setCursor(0,1);
    lcd.print("Humidity=");
    lcd.setCursor(15,1);
    lcd.print("%");

    lcd.setCursor(9,0);
    lcd.print(DHT.temperature);

    lcd.setCursor(9,1);
    lcd.print(DHT.humidity);

    delay(2000);

    lcd.clear();

    lcd.setCursor(0,0);
    lcd.print("Soil moist=");
    lcd.setCursor(12,0);
    lcd.print(moist);
    lcd.setCursor(15,0);
    lcd.print("%");
    lcd.setCursor(0,1);
    lcd.print("Water pump");

    if(pump==0){

      lcd.setCursor(11,1);
      lcd.print("OFF");

    }

    else{

      lcd.setCursor(11,1);
      lcd.print("ON");

    }

    delay(2000);
    
  }

  if(DHT.temperature>60 || DHT.temperature<-30 || DHT.humidity==0){
    lcd.clear();
    lcd.setCursor(0,0);
    lcd.print("Maybe an error");
    lcd.setCursor(0,1);
    lcd.print(" has occured!");
    delay(2000);
  }

  
}

this sounds like a typical LCD 1602 (see LCD 16x2 Interfacing With Arduino Uno | Arduino)

The VSS pin on the LCD1602 is the ground pin

Anode and Cathode of the backlight


side note

VSS stands for "Voltage Source Substrate" or "Voltage Supply Source," and it typically refers to the ground (GND) or the negative voltage supply in an electronic circuit.

VCC stands for "Voltage at the Common Collector" or "Voltage Common Collector," referring to the positive power supply voltage for the circuit. It powers the electronic components.

VEE stands for "Voltage Emitter Emitter," often used in circuits requiring a negative voltage supply or to reference the voltage source for specific components, such as biasing the contrast control in an LCD like the LCD1602

@J-M-L Is it also known A an K

You might see VDD... treat it like VCC

no i have vcc only

@xfpd @J-M-L is E and EN have equal meaning?

Yes. E is EN.

1 Like

@xfpd You also gave me solution but cant tag two for solution

Everyone thanks a lot

Dont forget to connect W/R to negative.

1 Like

@xfpd @mikedb @J-M-L What is VO, IS it VEE Also what is RS

VO is VEE.
RS = Register Select.

what does RS mean

Register Select = RS on TFT screen its DC , Data or Command.

When you write to the LCD the pin is in DATA mode.

When you set the cursor the pin is in Command mode.

The Library will set this pin HIGH or LOW Selecting the right Register.

Use all the information you picked up on this topic and find it in this datasheet:

When you have questions about hardware, first read the datasheet (look for the answers to your question... maybe one paragraph out of 40 pages). Some questions will not be answered by the datasheet.

Look at the picture I posted

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.