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.

1
vote
1answer
12k views

Use object of other class within class

I am writing a class for a project which will take care of handling any LCD updates for my project. The way I want to handle this is to initialize the LCD object in my main file, and then pass the LCD ...
0
votes
1answer
175 views

Can I control a cellphone's lcd (+touch screen)?

I had an Xperia txt pro just laying around and tried to revive it. I burned it like an idiot using 5v in the battery pins by accident :/ So I decided to read it apart and got to the lcd, can I use my ...
9
votes
4answers
27k views

2.4" TFT LCD Shield isn't working on Arduino Mega

Even on ebay's website it is mentioned that I can't use 2.4" TFT LCD Shield display on attach to Arduino Mega. The problem is that I bought this shield by mistake. I want to put this shield onto ...
1
vote
1answer
1k views

What could make an LCD stop working permanently after being connected for 5 seconds to Arduino?

I was using a 20x4 LCD connected to Arduino Uno via a common I2C adapter board. Everything was working perfectly, including the LCD. I had it running like this for a couple of days without any ...
-1
votes
3answers
6k views

I keep on getting a stray '\302' in program error.How do I fix it.This is in arduino uno

#include <LiquidCrystal.h> int trigPin = 13; //sensor's trigger pin connected to pin 13 int echoPin = 7; //sensor's echo pin connected to pin 11 float pingTime; //time for the ping to hit ...
4
votes
3answers
4k views

How do I use two I2C LCDs with 4 pins?

I have two I2C LCD screens: one with 2 lines one with 4 lines. Both have 4 pins each: GND, VCC, SDA, SDL. I connect SDA and SDL to A4 and A5 respectively, and I display text on each one of them with:...
4
votes
3answers
14k views

Sending a value from one arduino to another

I wonder if it is possible to send a value from one arduino to another. Basically, I have one arduino measuring let's say weight, but I want to display that value using an lcd in another arduino. ...
3
votes
4answers
20k views

3.5" TFT LCD Display is not working with Arduino Mega 2560 R3

Even I can't do similarly with my 2.4" TFT LCD in here still: 2.4" TFT LCD Shield isn't working on Arduino Mega Now, I have bought 3.5" TFT LCD display for my Arduino Mega 2560 R3 to try ...
6
votes
3answers
57k views

Why is my LCD 16*2 is not displaying any characters, although all the wiring is correct?

Recently I have linked up a typical 16*2 LCD (Liquid Crystal Display) display to my Arduino Uno and have linked all the pins up. Here is my connection:(LCD pin first) 1=GND, 2=+5v, 4=11, 6=12, 11=5, ...
0
votes
1answer
654 views

How would i capture and split serial data?

How would i capture the following serial data, and split it into parts? <Alarm,MPos:0.000,0.000,0.000,WPos:0.000,0.000,0.000> the parts i need from this is Alarm - This is a state. i.e Alarm, ...
5
votes
1answer
344 views

Can I link another device to the Uno's clock?

I'm trying to use an unusual 16x2 LCD display with my Uno. As far as I know, it's an EA-X16027AR. It doesn't seem to be compatible with the HD44780 driver, which is typically used for Arduino LCD's. ...
4
votes
2answers
194 views

OLED display crashes when connecting USB

I got an 16x2 OLED Display (DEP 16201-Y , compatible to the HD44780 controller) for my Arduino Uno and I got it to work in 4-bit Mode, but just if the USB isn't connected and it is powered by a 9V ...
1
vote
1answer
43 views

Data loging while browsing a menu on LCD shield

I'm new in arduino and not particularly awaken when it comes to code ;) . I'm developing a device SD logging Temperatures from 2 thermocouple . Hardware works well and I'm now trying to refine use of ...
1
vote
1answer
478 views

Arduino LCD is displaying gibberish, sometimes

Below is my code and a picture of the gibberish. It's different every time. If i pull out the temp sensor, i still get gibberish, sometimes. I'm at a loss as to what to even be looking at now. Any ...
1
vote
0answers
155 views

Arduino LCD changing contrast only makes black boxes less readable i.e. less in contrast

I have seen similar issues posted here but none match my problem exactly. I have a starter kit and a 16x2 LCD screen that only shows black boxes in the top row using the following code: #include <...
1
vote
0answers
1k views

Arduino is freezing after 10-15 minutes

I am having a problem with my Arduino freezing after a small amount of time. I'm using an RTC DS1307 breakout to keep track of the time and display the time on an LCD. It displays hours, minutes and ...
1
vote
4answers
574 views

Determining contrast on LCD

So I am using this code here and I do get text written on my LCD screen. Problem is that text is almost invisible. I tried with background light on or off and it did not help. LCD is connected to 5v ...
0
votes
1answer
269 views

LCD library and timer2 CTC interrupt not working together

I want to set up real time counter along with lcd functions from LiquidCrystal library. But they don't work together. However, they work fine separately. The code is working by itself, but by ...
0
votes
0answers
56 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
2answers
119 views

Bad LCD? Bad microcontroller? Or what?

So I recently bought an Arduino along with an LCD module and two extra ATmega328P-PU ICs. Yesterday it was working just fine then I disconnected everything and reconnected it and this happened. What ...
-1
votes
1answer
977 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 ...