Bluetooth Wireless LCD Data Transfer

About: Mechanical engineer, Entrepreneur, Maker, robotic systems expert and founder of Robimek and RobiBot

Intro: Bluetooth Wireless LCD Data Transfer

This application will tell us the data transfer via bluetooth to the LCD screen.

Arduino-based system has a temperature sensor LCD screen will project the other system. Data from the system we can track the status of the LCD screen instantly transferred to the system.

More information : lcd temperature bluetooth

Step 1: Materials:

  • 2 x Arduino
  • Hc-05 Bluetooth Module
  • Hc-06 Bluetooth Module
  • LM35 Temperature Sensor

In our project, you need to set the Bluetooth module AT commands will communicate primarily for two bluetooth module.

You can see how this is done from the link below.


http://www.robimek.com/hc-05-ile-hc-06-bluetooth-modullerin-haberlesmesi/

Step 2: Transmitter Circuit:

Step 3: Receiver Circuit:

Step 4: Receiver Software:

#include <SoftwareSerial.h>

#include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

#define BT_SERIAL_TX 6

#define BT_SERIAL_RX 7

SoftwareSerial BluetoothSerial(BT_SERIAL_TX, BT_SERIAL_RX);

char temp= ‘ ‘;

void setup()

{

Serial.begin(9600);

lcd.begin(16, 2);

lcd.print(“room temp:”);

BluetoothSerial.begin(9600);

}

void loop()

{

if (BluetoothSerial.available()>0)

{

temp= BluetoothSerial.read();

lcd.setCursor(0, 1);

lcd.print(temp);

lcd.print(” degree”);

delay(100);

}

}

Step 5: Transmitter Software:

#include

#define BT_SERIAL_TX 6

#define BT_SERIAL_RX 7

SoftwareSerial BluetoothSerial(BT_SERIAL_TX, BT_SERIAL_RX);

int tempsensor= 0;

int val;

int temp;

void setup()

{

Serial.begin(9600);

BluetoothSerial.begin(9600);

}

void loop()

{

val= analogRead(tempsensor);

temp= map(val, 0, 205, 0, 100);

BluetoothSerial.print(temp);

delay(100);

}


More information : lcd temperature bluetooth

Share

    Recommendations

    • Audio Contest 2018

      Audio Contest 2018
    • Optics Contest

      Optics Contest
    • Plastics Contest

      Plastics Contest

    2 Discussions

    0
    None
    Ruchirs

    2 years ago

    I wanna make wireless notice board. I m not able to receive data on lcd so please help me.kindly tell me my mistake in this program.thanks !!

    #include <LiquidCrystal.h>
    #include <SoftwareSerial.h>

    SoftwareSerial BTSerial(2,3);//rx,tx

    char cmd_arr[40];
    LiquidCrystal lcd(4,5,6,8,9,10);
    //*************************************************
    void serial_get_command()
    {
    int i;
    char inchar=0;
    int cmd_count=0;
    for(i=0;i<=31;i++){
    cmd_arr[i]=' ';
    }
    if(Serial.available() > 0)
    {
    inchar = Serial.read();

    if(inchar == '<')
    {
    cmd_count=0;
    while(inchar != '>' && cmd_count<33)
    {
    if(Serial.available() > 0)
    {
    inchar = Serial.read();
    cmd_arr[cmd_count++] = inchar;
    cmd_arr[cmd_count] = ' ';
    }
    }
    if(inchar == '>')
    {
    cmd_arr[cmd_count-1] = ' ';
    Serial.print("Cmd received : ");Serial.println(cmd_arr);
    Serial.print("OK");
    lcd.clear();
    lcd.setCursor(0, 0);
    for(i=0;i<=15;i++){
    lcd.print(cmd_arr[i]);
    }
    lcd.setCursor(0, 1);
    for(i=16;i<=31;i++){
    lcd.print(cmd_arr[i]);
    }
    //serial_process_command();
    }
    }
    }
    }
    //*************************************************
    void setup()
    {
    BTSerial.begin(9600);
    Serial.begin(9600);
    Serial.println("System Started!");
    lcd.begin(16, 2);
    lcd.print("Bluetooth Based ");
    lcd.setCursor(0, 1);
    lcd.print(" Notice Board");
    delay(2500);
    lcd.clear();

    }
    //*************************************************
    void loop()
    {
    serial_get_command();

    }
    //*************************************************

    0
    None
    HoangD8

    2 years ago

    thank for nice work

    i have a problem , i want to turn on a led on pin2 as the temperature received that is higher than 32 degee on arduino uno ( with hc-06) , but it not work , could you please give me some advices ?