Displaying information from mobile/Bluetooth enabled device
THIS ARTICLE COVERS:
- What is Notice Board?
- Equipment Required?
- Connections needed to be made.
- Coding the micro-controller.
- Application required to control.
- Working/implementation video.
2.Equipment Required:
1. Arduino mega 2560.
2. LCD 16*2 display
(For datasheet of display unit: https://www.sparkfun.com/datasheets/LCD/ADM1602K-NSW-FBS-3.3v.pdf)
3. HC05 Bluetooth module
(For datasheet of display unit: http://www.electronica60norte.com/mwfls/pdf/newBluetooth.pdf)
3. Connections to be made:
Follow the connections shown in the below image.
RED Wire - Power supply
BLACK Wire - Ground
Additional equipments: 1. POT - 10K
2. Resistor - 1K
Circuit connections illustrating demo image
Real circuit image
4. Coding the micro-controller(arduino code):
**** Download Arduino programmer from www.arduino.cc website ****
**** Upload the code to the specified board indicated in TOOLS after compiling through USB****
#include <LiquidCrystal.h>
#include <SoftwareSerial.h>
char s;//[64];
int i = 0;
int j,k,l;
LiquidCrystal linu(2, 3, 4, 5, 6, 7);
SoftwareSerial linus(10, 11);
void setup() {
// put your setup code here, to run once:
linus.begin(9600);
linu.begin(16, 2);
linus.println("enter your data");
linus.println("press '!' for clearing all data");
}
void loop() {
if(linus.available())
{
s = linus.read();
if(s == '!')
{
linu.clear();
}
else
{
linu.print(s);
}
}
else
{
delay(300);
linu.scrollDisplayLeft();
}
}
5. Application Required to control:
1. For Android devices download " BlueTerm+ " app from playstore.
(pair the device first to device and then go to app and connect device there)
2. For Laptop with bluetooth or pc's with bluetooth enabled use the "Tera Term" software.
(use the link :
)
6. Working/implementation video:
0 comments:
Post a Comment