Send Text from Android to LCD display

0
1408

Send Text from Android to LCD display : Arduino Projects

Within what we can do with Arduino and as electronics enthusiasts, today it is important that our projects have a communication with mobile devices, whether tablets, smart phones and laptops ( Send Text from Android to LCD display) .

Now look how to send Text from Mobile Phone via Bluetooth to LCD

arduino bluetooth lcd, Arduino Projects

In this article we will perform, as always, a little test for you can to give a little more flexibility to your Arduino projects. we will conduct a communication through a Bluetooth module HC-06, between Arduino Mega 2560 and a smart phone and show the messages that are sent from the phone in a 2X16 LCD, connected to the Mega 2560.

 

[message_box title=”MESSAGE TITLE” color=”red”]

 // www.engineersgallery.com
#include <LiquidCrystal.h>
LiquidCrystal lcd(7,6, 5, 4, 3, 2);
int ledPin = 13;
String readString;
void setup() {
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
lcd.begin(16, 2);
lcd.clear();
lcd.noAutoscroll();
lcd.print(“Esperando SMS”);
delay( 200 );
}
void loop() {
while (Serial.available()) {
delay(3);
char c = Serial.read();
readString += c;
}
if (readString.length() >0) {
lcd.clear();
Serial.println(readString);
lcd.print(readString);
if (readString == “On”)
{
digitalWrite(ledPin, HIGH);
}
if (readString == “Off”)
{
digitalWrite(ledPin, LOW);
}
readString=””;
}
}

 

[/message_box]

Find out more Arduino Projects Ideas to following links.

Leave a Reply

Please Login to comment
  Subscribe  
Notify of