learnelectronics7
Published © GPL3+

Controlling 16*2 LCD display via smartphone using arduino

Controlling 16*2 LCD display using a smarphone, arduino and a HC05 bluetooth module.

BeginnerShowcase (no instructions)585
Controlling 16*2 LCD display via smartphone using arduino

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1
Alphanumeric LCD, 16 x 2
Alphanumeric LCD, 16 x 2
×1

Software apps and online services

serial monitor for android

Story

Read more

Schematics

png image

Code

SerialDisplay.ino

C/C++
#include <LiquidCrystal.h>


const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);

void setup() {
  
  lcd.begin(16, 2);

  Serial.begin(9600);
}

void loop() {
 
  if (Serial.available()) {
    
    delay(100);

    lcd.clear();
    
    while (Serial.available() > 0) {
      
      lcd.write(Serial.read());
    }
  }
}

Credits

learnelectronics7

learnelectronics7

0 projects • 0 followers

Comments