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.
553
questions
-1
votes
0
answers
23
views
Audio+Video sync project [closed]
I have an audio book with some pictures and I would like to make a project with an LCD display and audio module, but I would like the video to be synced with the audio. meaning, I want the visual to ...
-1
votes
0
answers
100
views
Newhaven NHD-320240WG-BxTFH-VZ# display does nothing
I am trying to get this display working on a Arduino Mega2560: https://newhavendisplay.com/content/specs/NHD-320240WG-BxTFH-VZ.pdf
Below how the display is supposed to be connected to an MPU (in my ...
1
vote
0
answers
45
views
Scrolling function for existing Arduino menu using 16x2 LCD [closed]
I am creating a menu system for my project. I have successfully finished my code to configure up to 2 menu items on my 16x2 LCD I2C. I would like to extend it and add up to 5 menu items in the code ...
3
votes
1
answer
73
views
Print text at any Y-value on SSD1306?
I'm attempting to print several rows of text, at certain Y-values, on an SSD1306 128x64 LCD display.
I'm using the ssd1306 library by Alexey Dynda. I initially wanted to use the more common LCD ...
2
votes
1
answer
90
views
LCD I2C connection problems
I am hoping there is a simple fix to this problem.
I am playing around with a 16x2 lcd with a I2C connector attached. I wired it up to an elegoo uno R3.
I started with some code I've used before and ...
0
votes
1
answer
133
views
Speedometer for car [closed]
I want to build a speedometer for a car using Arduino UNO.
For the display, I'm using an LCD screen that will be located behind the steering wheel.
For context, I'm building the speedometer for a ...
2
votes
0
answers
55
views
Arduino code intermittent
Have an alarm for "tea time", "lunch time" and "tea time". Works well at times but occasionally it gets stuck on the alarm not resetting, other times it does not trigger ...
2
votes
3
answers
418
views
Display images on Arduino LCD screen from PC
I am new to arduino and I am wondering if it is possible to store image data on my computer and send it to my arduino over the USB cable (which is also used for power) to display on a TFT LCD display ...
1
vote
0
answers
351
views
LiquidCrystal_I2C, lcd.begin() causes runtime error on Arduino Mega2560
I have tested the library and LCD with simple script and everything worked fine. Now I am trying to add the LCD functionality to my working program but the code reaches the lcd.begin(); function it ...
2
votes
0
answers
48
views
How to show repeated result on LCD while button is pressing
my results are here.
0 press--"a"
1st press--"b"
2nd press--"c"
3rd press-- still showing "c"
When button pressed 3rd time, It must be repeated to show "a&...
1
vote
0
answers
139
views
How can I display an image as a whole using ILI9488 and M0?
I'd like to display 4 random images out of 100 every day from the built in flash of my M0 microcontroller on my LCD (ILI9488).When I use DFRobot_GDL library "drawUDPicture" example, it only ...
1
vote
0
answers
560
views
Powering up a 16x2 LCD display with only a 9V battery
I'm using an Arduino (Nano 33 IoT) board for a project and apparently this board can only supply with 3.3 volts when a 9V battery is connected to it through Vin and GND pins. In other words, I'm ...
2
votes
0
answers
89
views
TFT Screen with Arduino UNO does not display as expected
I have a 3.5" TFT LCD communicating in parallel connected to Arduino UNO.
I expect it draws a white circle on a black background but all it does is to show a white screen.
How to fix this?
main.c
...
1
vote
0
answers
46
views
Why is my LCD not displaying?
my LCD is a 16x2 and I just testing cause I'm new
here's the setup
here is my code
#include <LiquidCrystal.h>
char myText1[]="Hello world";
char myText2[]="among us";
...
1
vote
1
answer
432
views
an lcd with I2C is not recognized by esp32
I have a NodeMCU esp32-s board and I'm trying to connect My 16x2 lcd with PCF8574T I2C bus to the esp32 , the problem is that the lcd doesn't show anything and the WireScan sketch can't recognize the ...
2
votes
0
answers
108
views
Grove LCD display not working with arduino rev 2 wifi (Unknown error at address 0x3E)
I am trying to connect Grove 16x2 LCD (White on Blue) to my Arduino uno rev 2 wifi.
So far, I've tried hd44780 library's ioClass examples, but nothing worked. I've then decided to scan ports and when ...
-1
votes
1
answer
214
views
variable 'LiquidCrystal_I2C lcd' has initializer but incomplete type
I have a problem with lcd, I have NUCLEO64 L746RG , I have Lcd Display and I2C connected to it.
When I verify code it gives me and long error and I can not find the solution or cause of this error:
...
-1
votes
1
answer
660
views
I need help with creating a menu using u8g2 library
I want to make a project with a (Nokia 5110) display using u8g2 library.
Here I have the code for my program:
#include <Arduino.h>
#include <U8g2lib.h>
#include <TM1637Display.h>
#...
0
votes
1
answer
706
views
No matching function for call to'DS3231 (const uint8_t &, const uint8_t &)
This was supposed to be the code for automatic pet feeder
Got it from here1
The problem is that I always got a "No matching function for call to'DS3231 (const uint8_t &, const uint8_t &)&...
1
vote
0
answers
369
views
Nokia 5110 LCD display doesn't work
Here is my circuit (all resistors are 10 kΩ, to lower the voltage, although I did try it without them with the same result):
The pinout on my display is (pin 1-8): RST, CE, DC, DIN, CLK, VCC, LIGHT, ...
0
votes
1
answer
101
views
How can I force an I2C module (for 1602 and 2004) to work with a 1601 LCD at my Arduino Micro
I'm new to Arduino and want to build a Button Box. When I buyed the parts I didn't watched out for the specifications of the I2C module. When I tried to print sth on the LCD nothing happened (in retro ...
2
votes
1
answer
63
views
How to configure 16x2 character LCD to work with 8bit?
I have the LiquidCrystal library installed but all the examples are for 4bit connection, I want to drive the LCD with 8bit.
In LiquidCrystal.cpp file it says;
When the display powers up, it is ...
-2
votes
2
answers
247
views
Problem with push button
I am making a project where if the push button is pressed, the LCD screen will show a message. But with many trial and errors, it doesn't give the right result.
Here is the circuit:
Here is the code:
...
-3
votes
1
answer
234
views
How can I use a LCD I2C and a RTC3231 on a Arduino Pro Mini?
On a small project, I have a DS3231 RTC module and a LCD I2C module that I'm trying to connect on a Arduino Pro Mini board. However, both the RTC and LCD require connecting the SDA and SCL to the pins ...
1
vote
0
answers
59
views
Why is my SD shield making my Arduino not power on?
I wanted to use an SD shield on an Arduino Elegoo to make a typewriter (for saving files).
I put the shield on the Arduino Elegoo, then connected an LCD screen, then tried to power on using USB to ...
1
vote
0
answers
162
views
Code question: LCD keypad Shield. How do I define the buttons?
I am trying to adapt a alarm clock sketch that used external buttons, but I would like to utilize a LCD Keypad Shield. The data sheet says all the buttons are on pin A0, so every button is "set ...
-1
votes
1
answer
65
views
What are these 18 extra ports on the adafruit-gfx 2.8"
I recently got the Adafruit gfx 2.8" display, which works fine.
It's quite obvious that it requires almost all of the pins on the UNO. However, I don't understand what are the 18 avaliable "...
0
votes
0
answers
137
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 ...
4
votes
2
answers
278
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 ...
2
votes
1
answer
2k
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 ...
0
votes
1
answer
2k
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 ...
-1
votes
1
answer
204
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,...
0
votes
1
answer
95
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);
...
0
votes
1
answer
161
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 ...
3
votes
2
answers
3k
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);
...
1
vote
1
answer
116
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 ...
-1
votes
1
answer
124
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 ...
1
vote
1
answer
166
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 ...
0
votes
1
answer
405
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 ...
1
vote
2
answers
114
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 ...
1
vote
2
answers
110
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 ...
1
vote
0
answers
112
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 ...
2
votes
2
answers
1k
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 ...
1
vote
0
answers
319
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....
2
votes
1
answer
1k
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 ...
1
vote
1
answer
75
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 ...
1
vote
1
answer
879
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 ...
1
vote
0
answers
55
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?
1
vote
0
answers
168
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, ...
1
vote
1
answer
60
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(...