Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lcd]

LCD stands for "Liquid Crystal Display" and is commonly known as a screen. The tag should be used for questions related to LCD display.

1
vote
1answer
134 views

Controlling TFT LCD with Arduino

I bought this LCD module. How many pins does this LCD module uses? They have written in the product description that this LCD module uses 8 bit communication, but the LCD module has 16 bit pinout (DB0-...
1
vote
2answers
82 views

Need help with calculator logic

I am trying to build a calculator with an Arduino, an LCD display, and a keypad. Getting inputs from the keypad is not the issue. Before I can add, subtract, multiply, or divide any two numbers, I ...
1
vote
2answers
106 views

What do I do with the potentiometer on Adafruit RGB LCD

So I just got my Adafruit RGB backlight positive LCD 16x2 + extras - black on RGB In this picture it shows a potentiometer beside the LCD. Anyone know where this is supposed to go? If it helps, I'm ...
1
vote
2answers
291 views

My button stays on high if I press it once, what did I do wrong?

If I press my button once, I get characters on all of the 32 character places and I get an infinite tone with my piezo. Can someone help me with this? #include <LiquidCrystal.h> const int ...
0
votes
0answers
64 views

my button won't work, why?

I have been trying to get the button to work properly for over a day, but it just won't, can you help me. The lcd display is for another part of this project, not important at the moment, but I can't ...
0
votes
0answers
76 views

Is this a good way to read from LCD1602 with TW? And how to start first char in first spot in the LCD1602?

OK, I did most operations with LCD1602, I just now want to read from the LCD either a command or data. I'm thinking now that it's connected with the DDRAM addresses and I have to develop a for loop ...
1
vote
0answers
476 views

LCDs interfere with Adafruit datalogger SD card function

I am using the Adafruit datalogger shield (Rev B) and a pair of cheap 20x4 LCD I2C displays. The displays have a small I2C I/O expansion module board on the back. The LCDs I am using are these; ...
1
vote
1answer
78 views

Can't send Data to LCD1602 with I2C

I've been doing fine with my LCD1602 I2C configuration but I discovered that command and data functions are the same even though I change the RS command/data bit, but the result is the same. This is ...
6
votes
1answer
421 views

Uno with LCD acting strangely - power issue?

I've got a Uno (Elegoo UNO R3) running with - Ethernet shield (Kuman K15), - 4 relay board (Elegoo 4 Channel DC 5V Relay Module with Optocoupler ) - Matrix Orbital 2041 LCD connected via I2C (11mA ...
-1
votes
1answer
10k views

NodeMCU with RFID RC522 and I2C interface LCD module together

I'm newbie in Arduino programming so I hope to get a clear answer. I have NodeMCU v1 12-E, I connected it with RFID RC522 as in attachment picture. Now my question: I need to connect I2C interface ...
0
votes
1answer
735 views

How to find the pin map for the LCD 1602 I2C adapter module?

I'm working with I2C to work with my LCD 1602 and the I2C adapter. This module has 16 pins and I don't know how to communicate with it. I2C sends 8-bit packets. What are the commands to deal with ...
1
vote
1answer
1k views

Fingerprint sensor code won't work correctly with LCD 16x2

I am doing a fingerprint sensor that works with a 16x2 LCD. The code works correctly for the fingerprint sensor, but when I enter LCD code, the LCD works but the fingerprint stops working. I am using ...
1
vote
1answer
232 views

LCD display and ultrasonic sensor not functioning

I am doing fish feeder project with level detection for the feeds but lcd display and ultrasonic sensor did not function. #include <LiquidCrystal.h> #define trigPin 12 // the trig ...
1
vote
2answers
401 views

Writing a custom character on an lcd

I am using a 16*2 lcd display as a dashboard computer. I want it to display a logo at the very beginning of the code, but some letters occupy the space of 4 characters, and are using both lines of ...
0
votes
1answer
2k views

Navigating menus using buttons on Arduino

I have made a very short version of my code. It has the basic problem I am facing. I explain my code and problem below. #include <Adafruit_RGBLCDShield.h> #include <utility/Adafruit_MCP23017....
1
vote
1answer
2k views

Moving cursor on LCD and changing highlighted value

I have the code shown below. The goal is to change the value of hours, minutes or seconds based on where the cursor is placed. #include <Adafruit_RGBLCDShield.h> #include <utility/...
0
votes
1answer
235 views

Liquid Crystal LCD Display Prints f in all rows and columns

The problem is that the Liquid Crystal LCD display only prints "f" on every row and every column. When I tell it to print something, then the display prints "f" on every square(row, column) for a ...
0
votes
2answers
246 views

Error trying to compile an example from newly added Arduino menu library

I added the ArduinoMenu library https://github.com/neu-rah/ArduinoMenu and when I try to compile one of the examples, I get following error. Using library LiquidCrystal at version 1.0.5 in folder: ...
1
vote
2answers
2k views

Arduino board is turning off when I connect to +5V

I am trying to set up an LCD screen without using a resistor or a potentiometer for an Arduino project. This is the LCD I am using: Basic 20x4 Character LCD. But when I connect to +5V on the Arduino ...
0
votes
1answer
106 views

Pin identification for a salvaged LCD

I salvaged an SPI interface LCD from an old CDMA telephone. It seems it uses SPI to display something on the screen. The pins marks are DATA, CS, SCLK, BL, VDD, GND, LED, A0, and RES. How do I wire it ...
3
votes
2answers
2k views

Why the command noDisplay() clear all LCD screen?

i want to preserve video information for long time without communicating with arduino on lcd 1602, i'm tryng to use the command of liquidCrystal library noDisplay() but when i use it,this clear all ...
1
vote
1answer
278 views

How to stop transmission i2c on LCD 16x4 i2c

i want to try to stop communicaton I2C between arduino and lcd I2C but i don't see any command to stop this communication. I try with Wire.endTransmission or Wire.end but the transmission to the LCD ...
2
votes
1answer
412 views

SSD1306 OLED LCD Library Errors

Recently i bought an "Serial 128X64 OLED LCD Display SSD1306". I searched for available libraries and tried to find the best one to use before actually experimenting with this device. I came across ...
0
votes
1answer
108 views

Serial LCD has like a “rolling shutter”

I've attached my LCD Display (AV1624YRB-SJ) to my Arduino Nano on the following pins: #define LCD_RS 7 #define LCD_ENABLE 8 #define LCD_D4 9 #define LCD_D5 10 #define LCD_D6 11 #define LCD_D7 12 #...
0
votes
1answer
1k views

Arduino LCD Display 2x16 custom char byte limit

Some years ago I stumble with a problem while using the 2x16 LCD. What happened was that there was a limit to how may byte arrays I could declare. So my project came to a halt because I needed to ...
0
votes
0answers
171 views

Weird probled with TFT LCD screen and DHT22 sensor

I'm doing a research project that uses three sensors (DHT22, HTU21D and TMP102) and two screens (a normal 16x2 LCD, and a TFT). I connected all the sensors and the LCD in my Arduino Uno and ...
-1
votes
1answer
205 views

LCD isn't working with if statement

#include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); #define trigpinyellow 10 #define echopingreen 9 #define Grove_Water_Sensor 8 void setup() { Serial.begin(9600); pinMode(...
1
vote
1answer
508 views

Hacking old car dvd monitors with arduino

I got this old junk LCD from my car. The DVD function stopped and the LCD holder on the top of the car broke, so I took it. Is there any documentation or advice I could use to get this working with ...
0
votes
0answers
349 views

white screen : 2.8" TFT LCD Screen Module: HY-280TFT

i have a problem with my new 2.8" TFT LCD Screen Module HY-280TFT.i connect it with an Arduino Uno board like this way: Connect HY-TFT280 to Arduino UNO LEDA -> 5V LEDK -> GND VCC -> 5V RD -> 3.3V ...
1
vote
1answer
261 views

Why does my LCD screen display white rectangles?

I recently got an Arduino LCD screen. I tried connecting it to the UNO with the 10k potentiometer and all the needed equipment but all I got were white rectangles instead of characters. I have ...
-1
votes
2answers
1k views

How should I initialize a RepRap Discount 12864 on u8glib?

I was taking the advantage of an existing piece of hardware (RepRapDiscount Full Graphic Smart Controller) for my present project. Here is a link for the RepRap wiki about the controller #define ...
1
vote
1answer
485 views

Weird characters at the end of LCD

I have written a simple sketch that displays temperature and humidity on a 16x2 LCD. Here's its output: Temp: 28▒▒ Humidity: 68▒▒ The library I used for DHT11 sensor is not from Adafruit. This is ...
0
votes
1answer
291 views

How to connect to pins when using I2C LCD shield?

How are pins used with this shield? The tutorial says that the header pins are inserted into the Arduino but the guide says they are not used for signals. Is there any way of using the other pins? ...
0
votes
2answers
607 views

I2C conflict with 2 Arduinos

I am having some trouble connecting my 2 Arduino Nanos with I2C. I have this configuration: SLAVE RECEIVER Nano with DS1037 and LCD 16x02 on I2C. MASTER SENDER Nano. After some time the Slave ...
0
votes
1answer
439 views

Wiring a potentiometer to control a 9V battery powering 2 LEDs in series

I am trying to build an array of LEDs where their brightness is controlled by a potentiometer. The LCD will display the percentage of brightness based on the potentiometer. I am able to successfully ...
0
votes
2answers
237 views

Why adding a LED between Pin 3 and Ground causes LCD display not to show text?

For a project of mine I am programming an Arduino UNO to show information I get from some sensors on an LCD display. As a first step I setup Arduino to show "Hello, world!" on the LCD, which worked. ...
1
vote
1answer
538 views

Arduino LCD is displaying gibberish, sometimes

Below is my code and a picture of the gibberish. It's different every time. If i pull out the temp sensor, i still get gibberish, sometimes. I'm at a loss as to what to even be looking at now. Any ...
0
votes
0answers
584 views

rc522 RFID reader will only accept first tag after power up

I have an interesting problem using the Mifare rc522 device similar to http://www.ebay.com/itm/201415107836 I have this device connected to an arduino uno and drawing power from the 5V supply. It ...
0
votes
2answers
1k views

MATLAB+Arduino+LCD

I am trying to send some integers to an LCD. But it is not working. I have tried in Proteus. Please help. I have uploaded MATLAB and Arduino code below. MATLAB code: clear all clc answer=1; % this ...
0
votes
0answers
1k views

Using a TFT LCD with an ESP32 Thing

So I've got an ESP32 Thing from SparkFun (https://www.sparkfun.com/products/13907) here, and for the life of me I can't figure out how to use my TFT LCD with it. I was hoping to make a desk clock or ...
2
votes
2answers
179 views

LCD5110 - How to make Direct Draw via 2D-array of boolean?

How to draw 2D-array directly on LCD 5110 (PCD8544)? I have tried libraries like AdaFruit and several others. But I need draw there via pixel 2D-array, something like this: bool picture[48][84] = { ...
0
votes
3answers
209 views

Arduino pins LCD and motor controller

I am using an L298N motor control. I want to use my 2*16 LCD. Can I use the code like this? // include the library code: #include <LiquidCrystal.h> // initialize the library with the numbers ...
0
votes
2answers
943 views

LCD from Arduino Starter Kit not displaying text

I've been tinkering with my new Arduino a bit and I was adding an LCD from the starter kit, using information from the eleventh project in the project book, "Crystal Ball." When I connect the Arduino ...
-1
votes
3answers
6k views

I keep on getting a stray '\302' in program error.How do I fix it.This is in arduino uno

#include <LiquidCrystal.h> int trigPin = 13; //sensor's trigger pin connected to pin 13 int echoPin = 7; //sensor's echo pin connected to pin 11 float pingTime; //time for the ping to hit ...
3
votes
2answers
238 views

LCD Shield and Arduino

I am trying to use a load cell (https://www.sparkfun.com/products/13331?_ga=1.55586472.2060096590.1479826091) and an HX711 chip with an arduino and LCD shield to display weight values on the LCD ...
1
vote
2answers
3k views

How to I press a button once to display text and again to remove it?

My code is displaying voltage and I want to have a button that when pressed it displays a text and when I pressed it again it would turn off the text. I put the word "YES" just for a test float vPow =...
1
vote
1answer
248 views

Debug soldered connections of LCD 1602A

I am moving my first steps into Arduino and electronics and I have tried to program an LCD 1602A display following this tutorial. I managed to complete the tutorial up to setting up the contrasts of ...
0
votes
1answer
72 views

Lcd display shield, no characters

So, I've been trying to make an Lcd display shield I got from ebay to work with arduino. Using this very simple code: #include <LiquidCrystal.h> #define RSPin 8 #define EnablePin 9 #define DS4 ...
-6
votes
1answer
102 views

No display on LCD

#include <Wire.h> #include <LiquidCrystal.h> #define sensor1 x = 9 #define sensor2 y = 8 #define colx 8 int sensor1, sensor2; LiquidCrystal lcd(7, 6, 5, 4, 3, 2); void setup() { ...
0
votes
2answers
139 views

Arduino calculator: I'm struggling to write a sketch which parses inputted characters [closed]

I am attempting to make a calculator with arduino using a 16x2 Text-LCD and a 4x4 keypad. I've already programmed the part where the arduino board gets input from the keypad and displays characters on ...