Bluetooth Wireless LCD Data Transfer

by sezgingul in Circuits > Arduino

5972 Views, 31 Favorites, 0 Comments

Bluetooth Wireless LCD Data Transfer

lcd bluetooth veri.png

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

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/

Transmitter Circuit:

lcd bluetooth verici.png

Receiver Circuit:

lcd bluetooth alıcı.png

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);

}

}

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