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
520 views

Print output on 16x2 LCD and Serial Monitor

I'm trying to print an int on both an LCD and the Serial Monitor, but its only being displayed on the LCD. The Serial Monitor is printing question marks. Here is my Arduino code: #include <...
2
votes
1answer
107 views

LCD prints weird characters when I place the print statement in setup after pinMode statements

#include "LiquidCrystal.h" const int rs = 7, en = 6, d4 = 5, d5 = 4, d6 = 3, d7 = 2; LiquidCrystal lcd(rs, en, d4, d5, d6, d7) void setup() { Serial.begin(9600); lcd.begin(16, 2); pinMode(22, ...
0
votes
1answer
49 views

LCD display not working properly + inconsistent results

I have soldered the pins to my 20x4 LCD display. The soldering is not very good, but this is the best i can do. I have measured the resistance between each of the pins of the LCD with my multimeter to ...
0
votes
0answers
22 views

My 1604 LCD is bright with USB power but not when powered through the jack

I'm making a bench PSU. The Arduino runs off the purple 5v standby. The Mega also powers 2 LEDs (normal 5mm clear). The thing is, when I upload the code and watch the screen go through the process, it'...
0
votes
1answer
56 views

Background “static” on side of TFT screen?

I recently bought an XC4629 128x128 TFT screen and noticed that failing to initialise a background for the screen produced this RBG static. A red line drawn on the screen without a background: The ...
1
vote
0answers
79 views

Why does I2C On Nano Fail with LiquidCrystal_I2C library unless Nano runs at 8Mhz?

I have an Arduino Nano (running by default at 16Mhz). I am connecting a 20x4 LCD screen via I2C (using A4 for SDA and A5 for SCL). Here's the very simple code (which was previously only showing black ...
0
votes
1answer
148 views

LiquidCrystal library and timers don't seem to be compatible

If I set timer2 to Compare Match mode, my LCD display stops working. If I use Overflow Interrupt it works fine. Here's my test code. I have a loop() function which does its thing, and a timer ...
0
votes
0answers
35 views

StepperLab3 library and Liquidcrystal

I want to control a stepper while displaying user menus on a freetronics style 16x2 LCD. I'm using liquidcrystal for my menus and in order to get non-blocking control of the stepper I've imported the ...
0
votes
2answers
40 views

String to equation problem

My project is to create a decimal adder via voice recognition. Its like a calculator that only does addition. I am using hc-06 bluetooth module to convert my voice to a string. Let's say for example, ...
0
votes
1answer
926 views

LCD display weird characters

Im a newbie. I have a problem with displaying text in LCD (16x2). It shows incorrect message in the lcd. Here is the code and the picture that gives the wrong output : Kindly help Thank you. #include ...
0
votes
0answers
781 views

Wiring parallel TFT with ESP32

I have this Parallel LCD TFT. I want to connect it with an ESP32 (NodeMCU). I am using the TFT_eSPI library. In the TFT_eSPI documentation, it says that the connection should be as following: // The ...
1
vote
1answer
53 views

Arduino program has suddenly stopped updating

I am writing a speedo/odometer program which was all working beautifully until I introduced an LCD screen and code for the LCD. The screen works on power up, displays the distance recorded on an SD ...
0
votes
1answer
83 views

16*2 LCD display doesn't display my result

I am working on a project to calculate line frequency meter by reciprocal counting with Arduino. I am trying to print the the result on a 16*2 LCD but it is not displaying anything. It just gets on ...
1
vote
1answer
913 views

Connecting LCD TFT shield to NodeMCU

I have the following screen: I want to connect it to a NodeMCU device: I read somewhere that it is not possible. However, I am not interested in the touch ability nor the SD card. I just want to ...
0
votes
1answer
60 views

making a LCD dice for catan

when I go to upload the code, I get Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino/Genuino Uno" C:\Users\taran\Documents\Arduino\dice in progress\dice in progress1\...
0
votes
0answers
59 views

How to connect to LCD and communicate via serial usb simultaneously? (UNO)

Pretty simple home automation project I am working on. I'm trying to hook my arduino which has a 16x2 LCD, DHT22 temp/humidity sensor to my Pi via usb. I want to be able to maintain the values on the ...
0
votes
1answer
25 views

Button isn't working properly

I am new in arduino trying to make race game. My problem is that my button (all buttons) is working sometimes and sometimes not. I am pretty sure that it's because of my code. Could you please help me ...
1
vote
1answer
213 views

Is it possible to use LCD (the 16 pins) without potentiometer?

look, I don't have any potentiometer lying around, and I don't have any variable resistor. So is it possible to instead use a fixed resistor for the LCD display ?
2
votes
3answers
807 views

Can I generate 5 sec delay within an interrupt program?

void buttonPressed() { if(ledOn) { ledOn = false; digitalWrite(13,LOW); }else { ledOn = true; digitalWrite(13,HIGH); } vout=analogRead(sensor); vout=(vout*500)/1023; ...
2
votes
1answer
34 views

Distance from Arduino UNO to LCD: How far?

How far from the UNO can I place an LCD (the typical 16x2)? Assuming that everything that is plugged into the LCD comes directly from the Arduino (power and data). I'd like to mount the LCD on the ...
0
votes
0answers
60 views

How to interface LCD?

I brought an ATmega328p chip today, which I bootloaded later on and I tried some basic circuit examples (like blink LED) with the chip (Minimizing the circuitry) and it worked perfectly fine. When I ...
0
votes
2answers
146 views

Can I use 1 clock module for multiple Arduinos?

I want to connect an RTC to a master Arduino, send the time data to a slave Arduino through I2C, then connect an LCD to the slave and print it out. can it be done? A think it would mean that the ...
0
votes
1answer
34 views

character on 16X2 LCD is not visible properly

i am using 16x2 LCD with arduino nano for my project. when i connect arduino nano with usb power supply from pc or any mobile changer adapter then all the character on LCD is visible properly. But ...
0
votes
3answers
949 views

Debouncing Multiple Buttons

I'm creating a binary calculator with my Arduino. This will take two different binary numbers and add them together. I am focusing right now on the Byte One Input screen. For this, I can use two ...
0
votes
1answer
193 views

Servo issue, won't go into negative range

I'm trying to create a small laser "turret" with x-axis control. The arduino receives input through IR sensor. I'm having a problem where my servo will preform my up and reset function(moves and ...
1
vote
1answer
51 views

LCD Weather Station - “Press To Start” Function

I've been trying to make a weather station using a I2C LCD Display and a DHT11, I know, the DHT11 is a bit low res and all that, but it came with the kit I ordered, so it's okay. However, I'm trying ...
1
vote
1answer
42 views

RGB Not displaying Red when using LCD

I was testing my RGB (common anode) on its own playing with colours and got the red, green to work as desired. However, when I connected my LCD board to my Arduino Uno as well as the RGB (using the ...
1
vote
0answers
42 views

Can I make my own TFT LCD shield? [duplicate]

I have a few TFT LCD displays lying around which I salvaged from old phones. I would really like to use them with my Arduino. I didn't get anything about making a shield on the net but only links to ...
-1
votes
3answers
54 views

What do I have to change to make this code functional?

I have a joystick, an I2C 16x2 character display, and an Arduino. I want to move the joystick and get an on-screen character (specifically, the letter h) to move in the direction that I pushed the ...
0
votes
1answer
365 views

DHT 11 sensors and i2c LCD to Wemos Wifi not Working

Its my first time make arduino project. I make wemos d1 project using DHT11 temperature sensor and LCD 20x4 with i2c. The temperature data will display in LCD and sending to the bot telegram. For ...
0
votes
2answers
415 views

Keypad password check issue

I am working on a school project, basically I have to create a lock system that opens a fictive gate when the correct code is entered. We have been asked to simulate our system before actually ...
0
votes
2answers
228 views

How to detect an read buttons pressure on touchscreen [closed]

I made simple 3 red buttons like this: #include <SPI.h> #include "Adafruit_GFX.h" #include "Adafruit_ILI9341.h" #include "URTouch.h" #define TFT_DC 9 #define ...
1
vote
1answer
224 views

When the TX and RX pins for Bluetooth are connected the LCD screen will not update. Why is that?

I have connected a Bluetooth shield and LCD screen to an Arduino Uno. I have two active low push buttons to increase or decrease the variable desiredTemp. This value is meant to be displayed on the ...
0
votes
0answers
250 views

concurrent display of BMP file and text on Arduino TFT LCD screen

I am using an Arduino TFT LCD screen (1.7'') on Arduino Due for displaying .bmp file of 80X60 pixels. Is it possible to display a .bmp image on the lcd screen and also display text/draw an object such ...
0
votes
1answer
65 views

LCD Lifespans Constantly Running

I am creating an arduino alarm clock/light sculpture, but I can't for the life of me find any information about the lifespans of LCDs that are running 24/7 for a very long time. If anyone has any ...
0
votes
0answers
138 views

Problems with ST7735

I have this Arduino display that looks very similar to an ST7735 SPI display. I found out that this is the pinout by testing the VCC, Ground and LED pins, but it is not the same one, it is supposed ...
1
vote
1answer
118 views

changed behaviour in I2C LCD

I reinstalled a previously working sketch to my UNO and now the behaviour of the lcd has changed. Previously this example worked perfectly: #include <Wire.h> #include <LiquidCrystal_I2C.h&...
0
votes
2answers
816 views

LCD not displaying text

I am working with an Arduino due and currently using the Arduino liquid crystal library to display data on an LCD screen (mc42004A6wk-bnmlw) which uses the Hitachi HD44780 controller. The LCD has been ...
-1
votes
1answer
153 views

I keep getting an error message and I don't know how to fix it

I am using an Arduino Genuino, this is what comes up Multiple libraries were found for "LiquidCrystal.h" Used: /home/user/Arduino/libraries/LiquidCrystal Not used: /opt/ArduinoIDE/libraries/...
6
votes
1answer
904 views

Hooking up LCD screens reclaimed from old camcorders to Arduino [closed]

Has anyone had any luck using LCD screens reclaimed from old electronics with Arduino, such as camcorders etc? My 8 yr old has an old sony handycam (dcr-trv103) in bits and now wants to use the LCD ...
1
vote
1answer
471 views

LCD Clock Millis Code Issue

I am trying to create a clock on an LCD when I upload the code below, all it displays is a very rapidly flashing 0:00 PM. Please help. This is my first time using Millis. #include <LiquidCrystal.h&...
0
votes
1answer
186 views

How do i run multiple functions simultaneously on a LCD screen?

I have little to no experience in programming and i'm very slowly and gradually getting the hang of it. My next project is that i'm making a clock, and wanted to use multiple functions for the hour:...
1
vote
2answers
69 views

When i press a button to subtract 1 from 5 it skips to 3

When i press a button to subtract 1 from 5 it skips to 3, it's the same when I add 1 to -5 it skips displaying - 4 and goes straight to -3. This is the code that i am using: //Testing the use of ...
-1
votes
1answer
1k views

Creating a simple menu for Arduino LCD button shield [closed]

I am trying to create a very simple menu to use with my lcd keypad shield, I have tried looking into how tutorials say to do this but I don’t really understand them. Would it be possible to do it by ...
1
vote
0answers
40 views

Why is my keypad requiring a double-click only on the first row to register?

I have a keypad that is connected to my Arduino and each time a key is pressed, the number should be outputted to an LCD screen. The issue is that after the screen is cleared, and a new ID is being ...
0
votes
0answers
59 views

What variable name does each button have on the LCD Keypad Shield?

I just bought the LCD keypad shield and wanted to have a cursor go to the left and right when you press the left or right button. But then the problem arose that i didn't know what variable name the ...
0
votes
2answers
634 views

Wemos: 16x2 display doesn't show anything

I connected a 16x2 LCD display to a Arduino Uno. Then I tested a "Hello, Word" code and it works perfect. Now I want to do the same with a Wemos D1 Mini but it doesn't work. Here the Wemos is not ...
3
votes
1answer
3k views

How do I control the buttons on an Arduino LCD keypad shield?

I have just bought a 16x2 LCD display with buttons. I can get the display to work and do various basic sketches included in the Arduino IDE. However, I cannot figure out how to control the buttons. ...
0
votes
2answers
352 views

Help connecting ILI9341 LCD SPI Display to arduino uno

I got this lcd with touchscreen from a store but i have no idea on how to connect it to the arduino uno. Any help is appreciated. This is where i bought it from. The display My Arduino
0
votes
2answers
2k views

How to connnect Arduino to Wemos D1 (send data)? [closed]

I made a project with an Arduino Uno, a 16x2 LCD display and a DS18B20 temperature sensor. It shows the temperature in the display: I want to connect it to Internet so I got a Wemos D1 Mini. It works ...