Stack Exchange Network

Stack Exchange network consists of 174 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.

-2
votes
0answers
28 views

How to open the LCD tft for thermal camera? [on hold]

I have a thermal camera connected to TFT LCD, I want the LCD to show what the camera capture from 3m to 7m.
0
votes
1answer
41 views

Random characters generated by LCD during serial.read()

I am using the following codes to print characters on LCD display.... #include <LiquidCrystal.h> const int rs = 8, en = 9, d0 = 4, d1 = 5, d2 = 6, d3 = 7; LiquidCrystal lcd(rs, en, d0, d1, d2, ...
0
votes
1answer
25 views

D1 Robot… lights up but nothing

I have the Arduino shield described here, I have run the example code compiled to the device, both v1 and 1.1 example, and it shows nothing whatsoever on the screen. https://www.dfrobot.com/wiki/...
0
votes
0answers
33 views

Arduino with 3 load cells cannot display on LCD

I have a problem right here, I cannot display measurement for load cell 2 and 3. When I run the program below. It only displays for load A and left the other 2 load B and C blanked on LCD as it didn'...
0
votes
1answer
25 views

Are hardware interrupts used while controlling an LCD screen using the LiquidCrystal library?

I'm working on a tone generator project that uses Mozzi to make sound (sine waves mainly). As I understand, Mozzi can glitch if used along with hardware interrupts. The plan is to use the classic ...
0
votes
0answers
9 views

Arduino lcd game problems, endless runner code not working

i have a game i have downloaded and built, have a file here, (file is too large to put on here), i am posting the whole thing because i dot know why the code wont work. that file is the original (from ...
0
votes
1answer
26 views

Arduino LCD Brightness

I've made this small device that uses a ultrasonic sensor to tell how far away an object is and display it on a 16x2 display. Here's the code: #include <LiquidCrystal.h> int Contrast=100; ...
0
votes
1answer
31 views

How to create objects with their own variables? [closed]

So i created a class and when i created objects and use them, they seem to share their variables between each other ( the currentReading, previousReading and the time variable). how can i create ...
0
votes
1answer
43 views

Why does attaching Nokia 5110 LCD make my otherwise fine MKR1000 disconnect USB after 15 secs?

This problem just started after 3 days of working on a project. I am using Arduino IDE in Windows 10. When I go to upload "Blink," everything works fine. I connect the USB (sometimes I have to ...
0
votes
1answer
36 views

LDC paired with Arduino locks up and freezes. Out of SPRAM?

I am making an alarm clock using a 4x20 lcd display, rtc, and Arduino Pro Mini 3.3v. I have implemented a menu system for setting the time/date that blinks the text on the lcd display to indicate that ...
0
votes
1answer
82 views

How to read data directly from lcd display

Referring to post: LCD data read and show on computer It was not clear what the final code is. Could you post the code and schema again, and if possible, an explanation of how it works? My problem: ...
0
votes
1answer
34 views

My brand new LCD screen doesn't display anything, even though there is no code errors?

I have a LCD screen, and I wanted to use it with a Simon Says game that I am making. I tried the tutorial on the Arduino website, but it doesn't work. Then I tried another tutorial on Adafruit. On ...
0
votes
2answers
35 views

Arduino Force sensitive Resistor with an lcd

So we were asked to do something with a force sensitive resistor so naturally i thought of a project which takes the name of the main component which is force and applies it ,mine works by as you ...
0
votes
1answer
22 views

LCD Identification FPC-JG00467-01B SR36 [closed]

I salvaged an old LCD from a calculator (Texas Instruments) and I want to interface it with a microcontroller (preferably an Arduino). I‘ve searched the whole internet but I simply can‘t find any ...
-1
votes
1answer
55 views

How to connect 2 Arduino Unos when one has a TFT LCD display attached to it? [duplicate]

I have to make a school project involving an Arduino Uno with a 2.8" TFT LCD touch screen display. in my project, i have to connect it such that the display is linked to a LED push button that receive ...
0
votes
3answers
93 views

Using delay(1000); without influence on analogWrite?

So, I'm trying to read the voltage on analog pin A0 and make a "regulation", where if the voltage will be lower than 2.5V (analog value 512), then it should be output pin 9 used as PWM with duty cycle ...
0
votes
1answer
137 views

Using Waveshare Raspberry Pi TFT LCD with Arduino Uno

I have a 3.5 inch Waveshare Raspberry Pi TFT LCD which uses the XPT2046 Touch Controller. I want to use this LCD screen with my Arduino Uno. I originally believed something like this was impossible, ...
0
votes
0answers
50 views

Sending data with SoftI2CMaster causes LCD to turn off

I am currently trying to use the library SoftI2CMaster to send data to an I2C LCD screen from my arduino nano using pins D2 and D4. The SoftI2CMaster scanner program detects my display, but whenever I ...
0
votes
0answers
55 views

Refreshing LCD with different frequency than output

I have a problem, where I want to use a digital output of Arduino at range of 1kHz, but refresh the LCD with 1 Hz. I don't know how to refresh LCD slower, without effecting the frequency of output ...
0
votes
1answer
27 views

How to Create a reference to an External Print object

Right now I have an object: class Dog { public: Dog(uint8_t I2c, Stream& feedback); void Speak(); private: uint8_t _I2c; Stream& _output; }; Dog::Dog(uint8_t I2c, Stream&...
0
votes
1answer
32 views

Stabilitiy Problem for Interrupts Code related to Flow sensor

There is a problem with code related in link Interrupts Problem with Flow sensor. Code is working but when I stop the pumps, flow value on lcd is frozen until I reset the arduino. And when I start the ...
0
votes
1answer
54 views

Extra “zero” displayed on LCD when integer sent from PC to Arduino through serial port

Every time I send an integer from computer to Arduino an extra zero is displayed on the LCD connected to Arduino. I don't know the reason. Why? Here is the code: #include <LiquidCrystal.h> ...
0
votes
1answer
101 views

Reading text from sd card is returning weird characters?

I have an ebook which is converted to a .txt file saved on an sd card which is connected to the arduino. I'm trying to display the words from the book on a 16x2 lcd display on word at a time. It works ...
1
vote
2answers
41 views

Writing to serial LCD seems to interfere with servos

I have an OBD-based Arduino project (OBD adapter link below) which uses two servos and a serial LCD from Sparkfun (link below). My problem: writing to the LCD seems to interfere with the servos. ...
3
votes
2answers
76 views

Resistors on LCD - does a small difference matter?

I recently have tried to connect an LCD to my Arduino Uno. The tutorial tells me I need a 220 Ohm resistor, but the only ones I have are 330 Ohm. Does it matter? Here's the Fritzing diagram by the ...
0
votes
0answers
650 views

Nextion Dual State Button

I am having an issue with my Nextion display. I have uploaded the following code via Arduino IDE to my Arduino MEGA 2560. My Nextion Editor shows the button as ID:9 on page0 named floor. I am not ...
1
vote
1answer
325 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
98 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
38 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
0answers
312 views

How to display a text or graphics without flicker on the TFT LCD

I'm building a new device with 1.44" TFT LCD and ATMEGA328. I'm using the Arduino library. There are several features like a logo, a button image, and a graph. But I have an issue when text or line ...
0
votes
1answer
32 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
53 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
69 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
32 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
0answers
54 views

Arduino with LCD i2c adapter (Error receiving data)

Good day! I'm currently working on a device with Arduino UNO, NFC/RFID Module v3, esp8266 and LCD with i2c adapter. The process is TAP card, read card data then send via wifi. Here's the scenario, ...
0
votes
2answers
37 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
611 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
427 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
52 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
59 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
529 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
50 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
43 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
85 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
626 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
55 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
89 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 ...