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
-1 votes
0 answers
11 views

Adding LCD + Button Shield to Arduino Mega 2560 with W5100 Ethernet Shiled

I bought the W5100 Shield for my Arduino Mega 2560 (https://www.amazon.com/dp/B00HG82V1A?psc=1&ref=ppx_yo2ov_dt_b_product_details). I am using the K3NG Rotator Controller program to make a Ham ...
George Blake's user avatar
-1 votes
1 answer
56 views

1602 16×2 LCD display is not lighting up for my Automatic watering system project

I'm working on a project to create an automatic watering system using an Arduino Uno R3 board, a 16x2 LCD display, a water pump, and a soil moisture sensor. However, I've hit a roadblock and could ...
Not_Lucky000's user avatar
0 votes
2 answers
93 views

Why does my Arduino show weird characters with my code?

When I had the code run just the LCD it worked perfectly fine, but when I added an HC-SR04 without changing the text it showed weird characters. All I had the code do with the HC-SR04 was print it in ...
zachlikestech's user avatar
1 vote
0 answers
75 views

LCD Wiki screen (ILI9341) works on Mega. How to get it working on the Due?

I have this exact LCD shield: http://www.lcdwiki.com/2.8inch_Arduino_Display SKU: MAR2808 Driver IC: ILI9341 It works on an Arduino Mega 2560 using the old libraries the manufacturer (I assume) ...
Daniel's user avatar
  • 11
3 votes
1 answer
151 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 ...
Runsva's user avatar
  • 173
2 votes
1 answer
194 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 ...
Andrew Staroscik's user avatar
0 votes
1 answer
183 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 ...
cool bean's user avatar
2 votes
0 answers
69 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 ...
Nic Kemp's user avatar
2 votes
3 answers
633 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 ...
Clinterpottrmus's user avatar
1 vote
0 answers
581 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 ...
Jesus Soto 's user avatar
2 votes
0 answers
59 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&...
hfsrg's user avatar
  • 39
1 vote
0 answers
217 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 ...
SMG's user avatar
  • 11
1 vote
0 answers
935 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 ...
Yosor Shishakli's user avatar
2 votes
0 answers
118 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 ...
ar2015's user avatar
  • 173
1 vote
1 answer
809 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 ...
kamal MKA's user avatar
3 votes
0 answers
151 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 ...
MelaNChoLy's user avatar
-1 votes
1 answer
277 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: ...
kristian311's user avatar
-1 votes
1 answer
925 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> #...
kshysztof's user avatar
0 votes
1 answer
890 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 &)&...
AEZAKMI 12's user avatar
1 vote
0 answers
459 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, ...
Randomdud3's user avatar
0 votes
1 answer
122 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 ...
Chritzeltopf's user avatar
2 votes
1 answer
74 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 ...
ElectronSurf's user avatar
-2 votes
2 answers
316 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: ...
James's user avatar
  • 9
-3 votes
1 answer
291 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 ...
Yanick Rochon's user avatar
1 vote
0 answers
61 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 ...
dragonitebrian1024's user avatar
1 vote
0 answers
197 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 ...
SV Savannah's user avatar
-1 votes
1 answer
72 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 "...
Cohen's user avatar
  • 101
0 votes
0 answers
143 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 ...
Olivier's user avatar
  • 111
4 votes
2 answers
365 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 ...
Angela Radityatama's user avatar
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 ...
j0h's user avatar
  • 892
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 ...
j0h's user avatar
  • 892
-1 votes
1 answer
283 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,...
Ana's user avatar
  • 1
0 votes
1 answer
120 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); ...
Mark's user avatar
  • 393
0 votes
1 answer
181 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 ...
vito's user avatar
  • 101
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); ...
YD8877's user avatar
  • 131
1 vote
1 answer
124 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 ...
alexlikesallthegamez's user avatar
-1 votes
1 answer
126 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 ...
alexlikesallthegamez's user avatar
1 vote
1 answer
186 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 ...
AccelLim's user avatar
0 votes
1 answer
587 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 ...
Rudy's user avatar
  • 993
1 vote
2 answers
123 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 ...
Jdev99's user avatar
  • 31
1 vote
2 answers
134 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 ...
Gabriel Lincoln's user avatar
1 vote
0 answers
134 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 ...
GeorgeWTrump's user avatar
2 votes
2 answers
2k 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 ...
Carter's user avatar
  • 131
1 vote
0 answers
351 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....
Renier Jr.'s user avatar
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 ...
mehmet's user avatar
  • 287
1 vote
1 answer
81 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 ...
ElectronSurf's user avatar
1 vote
1 answer
1k 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 ...
Coder9390's user avatar
  • 472
1 vote
0 answers
57 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?
Wolffyx's user avatar
  • 21
1 vote
0 answers
195 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, ...
mmmmhe's user avatar
  • 21
1 vote
1 answer
68 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(...
user4521's user avatar

1
2 3 4 5
12