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
3answers
203 views

Use TFT LCD with Uno and Wi-Fi shield

I need to work with Arduino Uno, LCD and Wi-Fi shield. I was wondering whether I can use the LCD in the link, 2.2" TFT Display - Test the Display with the Uno and Wi-Fi shield - and how to search ...
3
votes
1answer
4k views

How do I change the I2C address on the LCD backpack?

The 20 x 4 LCD comes with a I2C backpack. I know it has A0, A1, A2 to set the address, as shown at the bottom here: https://tronixlabs.com.au/news/tutorial-serial-i2c-backpack-for-hd44780compatible-...
2
votes
1answer
2k views

How to add toggle button for LCD display text and backlight?

I have set up a BMP180 and a DHT11 to display data on an HD44780 20x4 LCD. I want to be able to toggle the altitude from meters to feet, the temperature from Celsius to Fahrenheit, and the pressure ...
0
votes
1answer
566 views

20x4 LCD will write but then won't update

I am controlling a solar tracker, and it needs to be reset every 10 minutes or it loses its mind. My program works fine, controlling power relays, so I have added I2C&Power to be able to see the ...
0
votes
2answers
974 views

Controling pump while displaying moisture value on a LCD at the same time with soil moisture sensor?

I'm new with Arduino (and I'm not very good at English). Recently with Arduino Nano I have tested: Control water pump based on soil moisture (using relay) (1) Display soil moiture (in percent) on a ...
2
votes
2answers
362 views

Use interrupts with analog pins in arduino or another possible solution?

I have a very simple circuit, but my program is some what complicated. Here is the circuit diagram: Here is the code: /* 01 - GND -------- GND 02 - +5V -------- 5V 03 - V0 -------- ...
1
vote
1answer
92 views

lcd has no contrast pin

i just bought this lcd. I connected all pins as discripted on this datasheet (Page 8). However i noticed that there is no pin to control the contrast. I also didin't get the display to run yet. Might ...
1
vote
1answer
122 views

LCD not doing anything

I just bought an LCD. I connected everything as explained in this sheet. This is the code I am using: #define RST 3 #define CE 2 #define DC 4 #define DIN 6 #define CLK 5 void LcdWriteCmd(byte cmd) {...
0
votes
1answer
167 views

VLcd pin to ground?

I just bought an ERC12864-655 LCD screen. On the datasheet it says that I need to connect the vlcd pin to GND. However in this (page 8) datasheet it says that vlcd is the main power supply. As far ...
-3
votes
1answer
245 views

What is LCD bias voltage and where do I have to connect it?

I noticed that I have VB0+, VB0-, VB1+ and VB1- pins on my LCD. In the datasheet it says they are for the "LCD Bias Voltage". I have never heard about that. So what is it? Where do I have to connect ...
0
votes
1answer
1k views

Arduino Text Scrolling on 16x02 I2c on NodeMcu (ESP8266-12)

I have managed to get my 1602 I2C LCD working on a NodeMCU devkit. I can display text parsed from the web but I am not sure how to set it to autroscroll if message is greater than 16 characters. I ...
-3
votes
1answer
302 views

Where can I get high-quality LCD's for projects [closed]

So I've recently started learning about LCD communication with arduino but I have one question: Devices like PC's and smartphones use very high quality LCD's and if I wanted to use one (not ...
1
vote
1answer
1k views

Arduino Uno with Camera and LCD

I would like to ask you if I can display real time view from Camera in Arduino Uno with LCD. I have that components: Camera OV7670 VGA 0.3 MPX LCD TFT 2.4 SPI ILI9341 Arduino Uno R3 On a website: ...
4
votes
2answers
4k views

ATTiny85 I2C LCD

My setup is as follows: Arduino IDE 1.6.11 Arduino Pro Mini as ISP ATTiny85 1602A LCD with I2C board The libraries I use are: TinyWireM (source: https://github.com/adafruit/TinyWireM) ...
1
vote
3answers
434 views

FreqMeasure.h uncompatible with my code problem

I have written code to read temperatures on a motor which also has pulse feedback to see speed, (one hall sensor) and my previous version of the code does work fine, however when i add example ...
3
votes
2answers
1k views

LCD 16x2 Blank Display

I am using the following wiring diagram from a tutorial. I need to follow this configuration because later tutorials build on this example. I have looked at other solutions, but they follow a ...
-1
votes
1answer
91 views

DIY Arduino technical difficulties

I followed this ArduinoToBreadboard and I just added a 5V regulator just to be on the safe side. So my questions are: When I connect a Nokia LCD 5110 to the DIY arduino, nothing really happens but ...
2
votes
2answers
539 views

Arduino Wire.h send double to lcd

I'd like the double number 200.00 shown as 200.00 on my LCD screen. For instance, when I pass just a number (int) like 40 to the LCD, it uses it as an ASCII code to show a character on the display. ...
1
vote
1answer
184 views

Sending LCD commands to a slave micro

I need to split up code which I've already developed for one micro into two different Arduinos connected by serial. The "remote" micro is directly connected to a 20x4 character LCD and the main micro ...
1
vote
3answers
639 views

Arduino Wire.h library: how to communicate with an LCD?

I am having an Arduino Uno and a C2042A LCD with I2C shield on it. Because the VirtualWire library does not work for me. I tried only the wire library but it's still not working: My code: #include &...
4
votes
6answers
2k views

Why do my temperature sensor values become inconsistent when additional hardware is added to the board?

I have this strange problem. My TMP 36 sensor works fine when it is the only thing connected to my Arduino Uno board. The voltage measurements, and thus the temperature, are accurate and consistent. ...
0
votes
1answer
102 views

Arduino Mega LCD

I am interfacing an LCD with an Arduino. Sometimes it shows nothing after uploading the program. What should I do?
0
votes
1answer
382 views

Arduino which library for led 4x20

I am having an Arduino Uno and I want to add a LCD to it. My LCD is a C2042A with I2C shield on it. I tried the LiquidCrystal_I2C library but it doesnt work. I am not getting any errors the LCD is ...
0
votes
2answers
956 views

Can't display text on LCD 1602

Today I tried to display some text with my Arduino UNO and a LCD 1602A screen. I did find some schemas online, but I cannot get any character or "black boxes" on the display. I connect wires like ...
1
vote
1answer
2k views

Connecting multiple TFT panels to Arduino Uno via SPI?

Is it possible to connect more than one TFT screen (like this one or similar: https://www.adafruit.com/products/1651) to an Arduino Uno? I'm wanting to connect and control two color screens at once; ...
1
vote
1answer
62 views

Who makes this cool Arduino display shield, and what model is it?

Anyone recognize Mfgr/model of this display that reads: "Wireless Internet Of Things". The Arduino board is a WIOT. I've been looking and looking for a source for Arduino display like this, but ...
0
votes
3answers
1k views

Adding Date and Time to existing sketch

I am currently trying to add a clock functionality to my current sketch for a peristaltic pump [run by NEMA 23]. The current sketch waits for a button on my breadboard to be pressed, it then runs ...
1
vote
2answers
119 views

Arduino LCD Screen

I am newer to arduinos, and could use some help. I have a LCD screen hooked up to an arduino uno. I can get it to display whatever I type in, which is great. But, what i want it to display is a value ...
0
votes
1answer
680 views

Code: Switch case and loop problem [closed]

Please am working on this automatic drink dispenser, i got a sample code as am still an amature. I seem to be stuck and i please need assistance. Components: I2C, keypad, LCD peristaltic pump. ...
1
vote
1answer
526 views

Why doesn't my 1602A LCD display text with this code?

#include <SPI.h> #include <MFRC522.h> #include <LiquidCrystal.h> #include <Servo.h> #define RST_PIN 9 // Configurable, see typical pin layout above #define SS_PIN 10 // ...
2
votes
1answer
225 views

Why does my lcd screen work fine and then display random characters?

It works as expected for a few seconds and then random letters appear on the second row. The wiring and the programming should be correct. I wired it according to an Arduino Starter Kit Book and coded ...
2
votes
1answer
14k views

Why do I get “invalid operands of types 'const char*'” error?

I am making an Arduino alarm. This is the error: exit status 1 invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+' Here is the code that triggers it: lcd.print("0"+...
0
votes
1answer
1k views

Button Relay Control

How can I fix this sketch to make it so that once the button is pressed, it performs some action for a certain amount of time and then returns back to a low state until it is pressed again. For ...
5
votes
1answer
560 views

RFID/NFC Tag get data from wordpress MySQL

I have a local workshop for students to teach them 3D printing/woodworking I want to know if its possible to create RFID/NFC tags using wordpress data from MySQL or HTTP/HTTPS. Web Scenario : I ...
1
vote
1answer
256 views

Trouble using lcd.readButtons() in RGBLCDShield library

I am trying to create a state machine that loops in whatever state it's in until a button is pressed. I am using the Adafruit_RGBLCDShield library along with the LCD shield and 16x2 display. For ...
1
vote
2answers
691 views

Trying to print text on LCD display from Arduino trinket

I'm trying to simply program an Arduino trinket to display some text on an LCD display. I'm basically trying to follow this, except connect it to a Trinket rather than an Arduino Uno. The background ...
0
votes
1answer
196 views

Need Help with Switch Case commands/receiver and lcd screen project?

I am doing a project with a receiver and transmitter and i am trying to get a message to print onto the screen. If anybody has any experience with this could you please help! I am trying to use a ...
0
votes
1answer
378 views

How to sleep a whole circuit?

I have just completed my first project, a clone of the Simon game of the eighties. The main parts of the circuit are an ATMega328, a 1602 2x16 LCD, and a small joystick. It is powered directly from ...
1
vote
1answer
339 views

Working on a reaction test for the Arduino Uno using an led and an lcd shield

The situation involves some Asm inline practice and a basic circuit. The program turns an LED on after a somewhat random period of time then waits until the button is pressed to report back how many ...
0
votes
1answer
3k views

ESP8266 Arduino 2.2inch ILI9341 TFT library

I recently got one TFT LCD from aliexpress which supports SPI and uses ILI9341. This is the one.TFT LCD I have the ESP8266 EspressoLite 1 board, and I am using ESP8266 Arduino. (https://github.com/...
0
votes
2answers
1k views

Error on Arduino Code (unknown type name 'LiquidCrystal')

I am using Arduino IDE 1.6.8 and I am trying to compile the following code Wheatstone Bridge. I have currently a really weird error: unknown type name 'LiquidCrystal' This error seems to come from ...
1
vote
1answer
611 views

arduino mega overheat when connected to TFT 7" and TFT shield

I have bought a 7" LCD (TFT01-7) and a shield to make it work with arduino mega (http://www.elecfreaks.com/store/lcd-tft01-mega-shield-v10-p-214.html), but when I upload my code to the arduino and ...
1
vote
2answers
423 views

Draw polygon on LCD from GPS latitude and longitude

I'm working on a personal project (a usefully tool based on ublox GPS and Arduino Mega that can measure distance between 2 points, compute area, speed, save data on SD card) Now I want to add new ...
1
vote
1answer
414 views

Help! Interfacing LCD with Arduino using 8255A Intel peripherals

I'm new to all this stuff and for the past two days, I have been trying to interface a 16x2 LCD to an Arduino Uno using an Intel 8255A component without any luck. The problem is, how can I attach or ...
1
vote
0answers
1k views

How do I display serial monitor on LCD keypad shield?

I want to be able to display what I am seeing on the serial monitor onto the LCD keypad shield I have connected to my Arduino UNO. Can someone possibly write the the code ontop of this for me? I'm ...
5
votes
1answer
485 views

Library LiquidCrystal_I2C don't work in other class (Composition)

Good afternoon, I'm trying to use a class to streamline the writing on the LCD. In this class I have an private attribute (it's a pointer, do not know how I call him) called LiquidCrystal_I2C* _lcd, ...
0
votes
1answer
863 views

Arduino: pins still active after entering sleep mode

I'm writing an Arduino sketch to control a display with my Arduino Nano. I have wired it up as explained here, but used pin 3-7 instead of pin 2-6 listed in the example. The reason I did so is that I ...
0
votes
1answer
334 views

Use object of LiquidCrystal class within another class

I am quite new to C++ and hope that I don't bore you too much with my question. I want to use an object of LiquidCrystal Class in another class called "Display_ManagerClass". I followed the ...
0
votes
1answer
118 views

Did I fry a Sainsmart 1602LCD (not shield, just LCD), HD44780 compatible

Each new circuit I build, I seem to make every possible mistake, including inverting 5V and ground. I did that precise mistake on this 2x16 Sainsmart LCD. The backlight definitely works, but is the ...
-1
votes
1answer
43 views

Regarding use of software serial two times

Can we configure two digital pins as serial pins using software serial library?