विषय-सूची
Led को Android phone की Bluetooth से control करें |
Control A Led using Android |
Hello Readers,Android mobile की Bluetooth का use कर Led Control कैसे करें इस Arduino Project में यही Led control system तैयार किया है इसके लिये मेने एक Android mobile app Devlope किया है यह Android app Arduino से Connect Bluetooth Module HC-06 से connect हो कर led control करेगा इसके लिए GUI Button होंगे जिनको press करने पर यह Arduino को One byte number send करेगा Bluetooth के ज़रिये जो Arduino पर recieve हो कर Arduino Programming से Output हम Led control on-off करने के लिए use करेंगे
(adsbygoogle = window.adsbygoogle || []).push({});
Android Proximity Sensor using with Arduino
इस Bluetooth control System के लिए Material
- Arduino uno
- Android mobile phone
- Bluetooth Hc-06
- Led
- jumper wire
- Breadbord
- Android app
(adsbygoogle = window.adsbygoogle || []).push({});
ये सब आप mechanic37.com की shop से खरीद सकते है-
Arduino से circuit बनाये
- Connect Led to Arduino’s digital pin 13 और Gnd pin से connect करें
- Bluetooth module Hc-06 की Rx-Tx दोनों पिनों को 10,11 से connect करें
- Hc-06 की Vcc pin को Arduino की 5v से connect करें
- Gnd को Arduino की Gnd से connect करें
Led Control App Apk Download करें
![]() |
Led Control Android app |
इसी android app से led control होगी Android app को मेने Arduino से connect bluetooth module hc-06 को Android mobile phone की bluetooth से connect करने के लिए बनाया है यह Android bluetooth का use कर Arduino की bluetooth को one byte number send करेगा और यह number 0,1 के form में होगा आप programming को read करें मेने उन्ही numbers को use किया है जब आप android app में led on के button पर click करेंगे तब bluetooth पर 1 send करेगा और इस प्रकार जब led off button पर click करेंगे तब 0 send करेगा
(adsbygoogle = window.adsbygoogle || []).push({});
How to pair with app
सबसे पहले नीचे की steps clear करें program upload करने के बाद hc-06 bluetooth module को Android app से connect करने के लिए bluetooth on करें और android app को launch करें और और connect पर click करें अब आपके सामने सभी search और pair की गई device आ जाएँगी जिनमे आप hc-06 को choose करें और password-1234 fill करें यह android से pair हो गयी होगी अब आप अपने led control कर सकते है
Arduino Led Programming for Android
![]() |
Arduino programming for android |
upload kese करते है इसको जानने के लिए इस post को read कर सकते है
(adsbygoogle = window.adsbygoogle || []).push({});
int bluetoothRx = 2; int bluetoothTx = 3;
SoftwareSerial bluetooth(bluetoothTx, bluetoothRx);
void setup()
{
pinMode(13, OUTPUT);
Serial.begin(9600);
//Setup Bluetooth serial connection to android
bluetooth.begin(9600);
}
void loop()
{
//Read from bluetooth and write to usb serial
if(bluetooth.available())
{
int num = bluetooth.read();
Serial.println(num);
if(num==1){
digitalWrite(13, HIGH);
}
if(num==0){
digitalWrite(13, LOW);
}
Android Proximity Sensor using with Arduino
(adsbygoogle = window.adsbygoogle || []).push({});
Can you send me the .aia project file OR Send me blocks image.
gvk556@gmail.com
Thanks
Please send me the blocks image or project file. Very Urgent.