Project tutorial

Lcd Display in Real Time.

This project will show you how to make with Arduino and 16X2 LCD real time display from your computer.

  • 16,872 views
  • 5 comments
  • 36 respects

Components and supplies

Apps and online services

About this project

Step#1: Connect the lcd pins to the Arduino .

Step#2: The Arduino Code

Step#3: Sending data.

After uploading the code open the serial and enter the word or the phrase you want to write on the LCD .

If you want to make it better you can add a HC-05 Bluetooth module to the Arduino

and send data from your smartphone directly to the LCD.

The code with the Bluetooth coming soon.

Thanks for respecting the project.


Code

lcd_text_same_time.inoC/C++
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup(){
    // set up the LCD's number of columns and rows: 
  lcd.begin(16, 2);
  // initialize the serial communications:
  Serial.begin(9600);
}

void loop()
{
  // when characters arrive over the serial port...
  if (Serial.available()) {
    // wait a bit for the entire message to arrive
    delay(100);
    // clear the screen
    lcd.clear();
    // read all the available characters
    while (Serial.available() > 0) {
      // display each character to the LCD
      lcd.write(Serial.read());
    }
  }

{
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(0, 2);
  // print the number of seconds since reset:
  lcd.print(millis()/1000);

}}

Schematics

untitled.png
Untitled

Comments

Similar projects you might like

Arduino Atari Adaptor

Project tutorial by Dante Roumega

  • 6,725 views
  • 6 comments
  • 21 respects

Generating Audio with an Arduino and a Resistor Ladder DAC

Project showcase by 3 developers

  • 2,478 views
  • 5 comments
  • 7 respects

Humidity Measuring Molecule

Project showcase by KatjaNiggl

  • 1,220 views
  • 4 comments
  • 13 respects

Electroplating with Copper

Project tutorial by Ryan Gill

  • 6,567 views
  • 8 comments
  • 14 respects

I2C OLED Display Using Arduino/NodeMCU

by Tarantula3

  • 520 views
  • 2 comments
  • 9 respects

PWM Sound Synthesis

by 3 developers

  • 1,064 views
  • 2 comments
  • 3 respects
Add projectSign up / Login