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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
74 views

Why is there an extra pixel in the smiley for the Grove LCD RGB Backlight from Seeed Studio?

While testing the CustomCharacter.ino example for the Grove LCD RGB Backlight from Seeed Studio on an Arduino 101 card, there is an extra pixel that appears above an eye of the smiley and the smiley ...
user avatar
  • 11
4 votes
2 answers
48 views

I2C sensors not working when I connect to LCD 20X04

I am making a hydroponic nutrient monitoring system using Arduino Uno, Atlas Scientific EC sensor, pH sensor, and RTD (temperature) sensor in I2C mode. I also want to use LCD 20x04 to display the ...
user avatar
2 votes
1 answer
341 views

lcd.createChar() only allows for 8 custom characters

I have a teensy4.1, with a 16 by 2 LCD screen, and an I2C LCD interface. I was trying to write a bunch of custom characters to an LCD screen, to flip some text. my issue is that it works fine, but on ...
user avatar
  • 838
0 votes
1 answer
60 views

Flip text in LCD screen

Im using <LiquidCrystal.h> arduino library,on a 2x16 LCD screen, with an accelerometer. I'd like to flip the the text when my x value exceeds N value. I get how to output text. I tried straight ...
user avatar
  • 838
-1 votes
1 answer
45 views

Can I change the text on the LCD by rotating the potentiometer?

I am working on a project on my Arduino Uno in which I want to change the text on the LCD every time the potentiometer has been rotated. In order to do this, I have stored the angle values into an int,...
user avatar
  • 1
0 votes
1 answer
43 views

LiquidCrystal issue with HD44780 display

Here my sample code for an Arduino Leonardo-based custom board: #include <LiquidCrystal.h> const int rs = 3, en = 0, d4 = 4, d5 = 30, d6 = 12, d7 = 6; LiquidCrystal lcd(rs, en, d4, d5, d6, d7); ...
user avatar
  • 253
0 votes
1 answer
65 views

Wiring multiple LCD displays to Arduino

I have multiple LCD displays and one Arduino and I just want to show some text on each display separately. Is it possible to Wiring multiple LCD Displays for the single Arduino board? Or maximum how ...
user avatar
  • 101
2 votes
2 answers
295 views

How to limit backlight LED current in 16x2 LCD

I'm getting the error "Current through backlight led is 23.7 kA, while maximum is 20.0 mA". What am I doing wrong? #include <LiquidCrystal.h> LiquidCrystal lcd(1, 2, 4, 5, 6, 7); ...
user avatar
  • 121
1 vote
1 answer
47 views

I am trying to add a countdown to my Arduino code but it does 0 days, 04:09:36 instead of starting at 7 days

The code I use probably has a math problem since an Arduino can only count a 16 bit integer. This problem is with the WeekDelay() function. The project is for an Aerogarden. It pumps water into the ...
user avatar
-1 votes
1 answer
120 views

I have been having a lot of trouble adding a countdown to a piece of code [closed]

This is the code. The /// are where I added the countdown. Unfortunately the countdown only goes down 9 seconds. What I want it to do is go down the full 24 hours. I have been trying to fix this error ...
user avatar
1 vote
1 answer
70 views

LCD displays more digits than serial monitor

I am doing a BPM monitoring system. The serial monitor displays accurate BPM values ranging from 60 to 100+. But my LCD display is not accurate. Example, on the serial monitor, my bpm is about 67, but ...
user avatar
0 votes
1 answer
75 views

Arduino LiquidCrystal library code prevents ESP32 from running. For 16x2 character display

See bottom for solution. I am trying to run the Arduino LiquidCrystal library example HelloWorld.ino on an ESP32. It seems like it never even executes the Setup() loop. The ESP resets after eight ...
user avatar
  • 985
1 vote
2 answers
59 views

Help needed with I2C LCD + Arduino - DS-LCDD5

I am new to this forum and a relative beginner to Arduino (software wise) Have built many projects, but always just copy/paste/modify example code. I found a couple of these modules (a PIC18 daughter ...
user avatar
  • 31
1 vote
2 answers
62 views

LCD TFT 2.4"" changes the values of analog read of Arduino Mega

I have a Arduino Mega with LCD TFT 2.4"" with reading 5v signal on A8 pin (Arduino mega pin) from a raspberry pi (just to test). They are grounded together. When the Arduino is without the ...
user avatar
1 vote
0 answers
48 views

I2C 16x2 LCD - Will Initialize (sometimes) - Holds Up The Code

Basically I have a keypad, that when a certain code is entered, it will write either "Wrong code" or "Good code" on the LCD. At the same time a timer will count down until 0 is ...
user avatar
2 votes
2 answers
155 views

Connecting an LCD when Pins A4 and A5 are Occupied

Recently I've been working on an automatic dog feeder dispenser (that dispenses by turning a screw attached to a stepper motor). Currently I have a Nema 17 connected to an L298N stepper driver which ...
user avatar
  • 131
1 vote
0 answers
99 views

2.4" TFT LCD is only showing white screen, but the touch functions still work

Hi (Sorry for the long post). The other day I finally found a code that worked on my standard 2.8" TFT LCD by Simkeim, but then I pressed the bottom left corner too hard and the screen went white....
user avatar
2 votes
1 answer
571 views

Read serial with header and end marker

I am trying to use Topway display for HMI lcd with Arduino. This display using RS232C protocol at docs it has a "Communication Packet Structure" like this. So my query should start with AA ...
user avatar
  • 205
1 vote
1 answer
38 views

Quick noob question about connecting 16x2 LCD

In this tutorial the writer used digital pin 2-5 and pin 11 and 12, can I use other I/O pins if I define it in the library? const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; LiquidCrystal ...
user avatar
0 votes
1 answer
141 views

How to set 16x2 LCD I2C display backlight?

I have 16x2 LCD display with a I2C backpack. This is the library I am using https://drive.google.com/drive/folders/16_UqfwFm4VKWcdeJfDmHRV2Hj_IoaTai?usp=sharing So as given in the code below, by ...
user avatar
  • 452
1 vote
0 answers
43 views

Program an lcd display with 12 pins

I have a screen just like this (is the datasheet). My question is, Can I use it to an Arduino board?
user avatar
  • 21
1 vote
0 answers
46 views

DC motor and buzzer blink without delay code

So I am trying to put together a code for 4dc motors, buzzer, ultrasonic and lcd to work together,. they will together make up a small car. when the distance to the ultrasonic is smaller than 10cm, ...
user avatar
  • 21
1 vote
1 answer
46 views

LCD randomly goes one character further in the ascii table

Here's my code: #include <LiquidCrystal.h> int rs = 11; int rw = 10; int en = 9; int d0 = 1; int d1 = 2; int d2 = 3; int d3 = 4; int d4 = 5; int d5 = 6; int d6 = 7; int d7 = 8; LiquidCrystal lcd(...
user avatar
1 vote
1 answer
364 views

Potentiometer only display analog voltage value of 1023 in proteus

I connected arduino uno with lcd and potentiometer to display the analog value (this is the basic of my project). However the value displayed on the lcd remain 1023 eventhough i have vary the ...
user avatar
1 vote
0 answers
24 views

avrdude: stk500_recv(): programmer is not responding Arduino LCD_I2C Upload problem ( port not found and ...) [duplicate]

i have problem to upload the LCD I2c Example program to Arduino UNo. the code are shown below: //YWROBOT //Compatible with the Arduino IDE 1.0 //Library version:1.1 #include <Wire.h> #include &...
user avatar
1 vote
0 answers
33 views

How to edit this IR sensor code to COINSLOT sensor [duplicate]

The project is Like a secured PiggyBank but it will count the coins inside it. Im using a coin sensor at default it has 5v, then goes to zer if inserted with a coin. I have 2 codes The one was form my ...
user avatar
3 votes
3 answers
859 views

Request for help condensing code and saving memory

I'm building a final project for a class that involves playing an audio file of a wave shield every time I scan an amiibo with an RFID scanner. I'm a pretty new programmer, so I'm not very familiar ...
user avatar
1 vote
0 answers
102 views

Prevent flicker - Lcd with I2C module?

I have a 16x2 LCD with a I2C interface, and a Esp8266 based NodeMCU. I Have an issue where the second line of the LCD is flickering, but somehow the first line does not flicker. Why does this happen ...
user avatar
  • 452
1 vote
1 answer
740 views

Simple LCD countdown timer

I tried to modify the basic "hello-world" sketch for the LCD that is a part of the examples section in the IDE. I intended to make a countdown timer using the LCD. The original code simply ...
user avatar
  • 149
1 vote
0 answers
45 views

How do you know what to call the digital pin your using? changing the sensor pin your using

I downloaded a water flow sketch and got it working on a bread board using an Uno, and a LCD shield. I what to make it on perf board using a Nano, and an NOT I2C LCD. I soldered it all up, got "...
user avatar
0 votes
1 answer
117 views

How can i call lcd.begin() from several different code files in a proper way?

I have a project split into several files: //Loop.cpp #include "LiquidCrystal.h" void setup(){ LiquidCrystal lcd(12, 11, 5, 4, 3, 2); lcd.begin(16, 2); } void loop() { //Code } ...
user avatar
  • 215
1 vote
1 answer
102 views

Why is my liquid crystal display not showing any output?

UPDATE: The LCD will light up only when the all my components are located in the bottom right of the breadboard. Why am I not able to use the entire breadboard for my circuit? I am trying to display ...
user avatar
1 vote
0 answers
53 views

How to completely clear everything from an arduino and print something new?

I'm in progress of making a stickman rush game, Until I hit a bug that I have been stuck on. I want to make a if statement that states "If the stickman and the object are in the same place, clear ...
user avatar
1 vote
0 answers
34 views

Arduino Mega with Sensors and tftlcd 2.4 inch

I am working with tftlcd 2.4 inch with Arduino mega 2560 board. In this code I just want to show clock as my default or home screen. By clicking on clock at any point on screen user should get a new ...
user avatar
0 votes
1 answer
56 views

How to use LCD Screen and IR Remote to broadcast a countdown

I am trying to use an IR Remote to input date's and time's for a countdown, so then the LCD will display a countdown, like this: LCD: Enter Year Remote-Input: 2021 LCD: Enter Month Remote-Input: 08 ...
user avatar
1 vote
1 answer
54 views

I've been working on a project and I get an error compiling for board arduino uno. kindly help

##include <jm_LiquidCrystal_I2C.h> #include <LiquidCrystal.h> #include <Wire.h> // For I2C //Set the pins on the I2C chip used for LCD connections //ADDR,EN,R/W,RS,D4,D5,D6,D7 ...
user avatar
  • 17
1 vote
1 answer
162 views

lcd byte array display

when reading RFID(MIFARE) information using Arduino mega and display in serial monitor it works fine. But, when printing on 2004LCD only one information(Value) displays correctly. The other ...
user avatar
1 vote
0 answers
28 views

16 by 2 lcd display is not showing any character

I am trying to interface 16by2 lcd with msp432p401m controller but my 16 by 2 lcd is not showing any character. I have attached schematic and code for reference. By using same schematic and code 20 by ...
user avatar
  • 11
1 vote
1 answer
172 views

OSEPP 16x2 LCD Display Turns On But Does not Display any White Boxes

Circuit Wiring This is my first ever post on here and it is due to a recent personal project i started on a Mega 2560 board. (I was attempting to build a temp and humidity sensor for which i would ...
user avatar
1 vote
2 answers
148 views

Arduino Pico doesn't work with ST7735 screen

I am attempting to get the graphicstest example bundled with the Adafruit ST7735 library for the 0.96 inch LCD screen. The example runs fine and serial communication is up and running. However, ...
user avatar
  • 85
1 vote
0 answers
129 views

How to stop my 16*2 lcd blink?

Here I wrote code for my weighting scale measurement. In which I added an on/off switch for my LCD display. But in defined delay time my LCD is a blink and I do not want it. I want my LCD switch on/...
user avatar
1 vote
0 answers
128 views

LCD display interfaced with Arduino Uno not displaying values

I am a beginner on Arduino. I have a project that I will only be using: a heart rate sensor whose values I am displaying on an LCD display. The code compiles and uploads once I set my project up, but ...
user avatar
0 votes
1 answer
100 views

Cant find Sdl and Sca pins in lcd display

My project is of non contact temperature sensor.I am using RG1602A lcd display and mlx90164 temperature sensor. But the problem is, there's no sdl , sca pins in my lcd display. Is there any way, to ...
user avatar
1 vote
0 answers
56 views

Is this circuit connected right?

I want to create something similar to an article I read a few months ago about the effects of Dopamine. Dopamine is known as the feel-good neurotransmitter; the brain releases it when we eat food that ...
user avatar
0 votes
2 answers
49 views

How do I program an LCD screen and do I need an Arduino

I am trying to create a small device with a screen that tells the date and time. I am thinking of using a UCTRONICS 0.96 Inch OLED Module (type that on Amazon). I am very new at coding, and I know ...
user avatar
0 votes
1 answer
48 views

Weird char on a 20X4 LCD

I'm trying to make an RC controller. I have a problem with my LCD. I have already double-checked the wiring and the connections are great. I made a PCB with Kicad and order it to JLCPCB. I have some ...
user avatar
  • 103
1 vote
1 answer
481 views

How to connect an lcd i2c using only pins A0 and A1 (SDA, SCL, GND, and VCC are given)

I want to know how to connect an lcd i2c, with an led 8x8 matrix at the same time. The problem is, all the analog in pins are used, except A0 and A1. Using this tutorial: https://www.makerguides.com/...
user avatar
  • 127
1 vote
0 answers
48 views

Phantom reading

my project is to control led diode and dc motor, test shield buttons, and check system run time. Testing buttons and run time i have done. Deal is with led and dc motor control. I'm getting phantom ...
user avatar
  • 61
0 votes
1 answer
77 views

LCD 16x2 shows one line cut and the 7th column also cut

My 16x2 LCD shows one line cut and the 7th column also cut: Applying pressure:
user avatar
1 vote
0 answers
65 views

Arduino LCD only display image for few second and turn screen to white

I have a problem with my Arduino and LCD touch screen. I create a few functional button in my Arduino. One of the button is START button. Right now, I want the image is display when I touch START ...
user avatar
  • 11

1
2 3 4 5
11