DIGITAL WIRELESS NOTICE BOARD
VIDEO:
VIDEO LINK: https://youtu.be/6k2U68cVIWg
COMPONENTS REQUIRED:
1.ARDUINO NANO
2.16X2 LCD DISPLAY
3.BLUETOOTH MODULE
4.BREAD BOARD
5.JUMPER CABLES
CODE:
//Creative Pradeep//
//Simple App Controlled LCD Notice Board
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x3F,16,2); //Change the HEX address
#include <SoftwareSerial.h>
SoftwareSerial mySerial (2, 3); //(RX, TX);
String val = "No Data";
String oldval;
String newval = "No Data";
int i = 0;
void setup()
{
// put your setup code here, to run once:
lcd.init();
lcd.backlight();
mySerial.begin(9600);
Serial.begin(9600);
lcd.setCursor(0, 0);
lcd.print(" Digital ");
lcd.setCursor(0, 1);
lcd.print(" Notice Board ");
delay(3000);
lcd.clear();
}
void loop()
{
val = mySerial.readString();
val.trim();
Serial.println(val);
if(val != oldval)
{
newval = val;
}
val = oldval;
Serial.println(val);
lcd.clear();
lcd.setCursor(16, 1);
lcd.print(newval);
lcd.setCursor(16, 0);
lcd.print("Notice:");
for(int counter = 0; counter < 24; counter++)
{
lcd.scrollDisplayLeft();
delay(500);
}
}
APP LINK:
CIRCUIT DIAGRAM:
CHANNEL LINK : :www.youtube.com/c/CreativePradeep
Comments
Post a Comment