For fast transaction call 0916.457.0748
DIY Mobile Setting Daily Quote with Arduino and Bluetooth

DIY Mobile Setting Daily Quote with Arduino and Bluetooth

Inspirational quotes maybe of some forms make our day more on a pleasant one. That you can start your day with a smile; or whenever your feeling down, all you needs are motivational messages that we can read on an LCD which we are going to create today, with our favorite Arduino and Bluetooth.

Here are the things that we need:

  • Arduino Uno
  • Bluetooth HC-05
  • 1602 LCD with I2C
  • Connecting Wires
  • Android Phone

Circuit and Connection:

Arduino to Bluetooth

Digital Pin 2 to TXD
Digital Pin 3 to RXD
5V to Vcc

Gnd to Gnd

Arduino to 1602 LCD

Analog Pin A4 to SDA
Analog Pin A5 to SCL
5V to VCC

Gnd to Gnd

Arduino Code:

First download the necessary library and add it in your Arduino Application (download zip file and do not extract).

#include <Wire.h>

#include <LiquidCrystal_I2C.h>

#include <SoftwareSerial.h>

SoftwareSerial mySerial(2, 3); // RX, TX

LiquidCrystal_I2C lcd(0x3f, 16, 2);

int intervalTime = 1000; //the value of delay time

int screenWidth = 16;

int screenHeight = 2;

String title = "Quote of the Day:";

String Qoute = "\"Always Smile.\"";

String inputString;

// just some reference flags

int stringStart, stringStop = 0;

int scrollCursor = screenWidth;

void setup()




   Serial.println("Starting Communication.");





void loop() {

   if (mySerial.available()) {




         char inputChar =;

         inputString += inputChar;



      mySerial.println("I received..");

      Qoute = "\""+inputString + "\"";

      stringStart = stringStop = 0;

      scrollCursor = 16;



   inputString = "";

   lcd.setCursor(0, 0);


   lcd.setCursor(scrollCursor, 1);




   if(stringStart == 0 && scrollCursor > 0){

      scrollCursor--; //0

      stringStop++; //16

   }   else if (stringStart == stringStop){

     stringStart = stringStop = 0;

     scrollCursor = screenWidth;


   else if (stringStop >= Qoute.length()+screenWidth) {

      stringStart = stringStop = 0;

      scrollCursor = screenWidth;

   } else {






Upload this code to your Arduino after you finish the hardware part. Make sure that you already included the required library for this project.
To add a library go to Sketch >> Include Library >> Add .ZIP Library and navigate to your downloaded file, select.

Now for your Android phone Download Connected Devices on Play Store and install.


Make sure that the Arduino Bluetooth is already paired so that it will appear in the app.

and your Done!


Happy Coding!



Leave a comment

Please note, comments must be approved before they are published

Payment Methods

Facebook Rewards Program