Here is a simple Android Bluetooth Remote Control Project for 2 Relays / Device using 89c2051 Micro-controller and HC-05 Bluetooth Module.
You can download circuit and hex file here http://www.hobbyprojects.com/bluetooth-device-control/
App Instructions:
1. First make sure your HC-05 Bluetooth Module is paired with your mobile. The default password for pairing is "1234" or "0000". Check the manual of Bluetooth module.
2. When you press ON button for Device 1 it sends the data "A" to Bluetooth Module connected with a circuit. Microcontroller turns ON the Device 1 relay when it detects "A".
3. When you press OFF button for Device 1 it sends the data "a" to Bluetooth Module connected with a circuit. Microcontroller turns OFF the Device 1 relay when it detects "a".
4. When you press ON button for Device 2 it sends the data "B" to Bluetooth Module connected with a circuit. Microcontroller turns ON the Device 2 relay when it detects "B".
5. When you press OFF button for Device 2 it sends the data "b" to Bluetooth Module connected with a circuit. Microcontroller turns OFF the Device 2 relay when it detects "b".
هنا هو مشروع التحكم عن بعد بسيط الروبوت بلوتوث لل2 التبديلات / جهاز باستخدام 89c2051 مايكرو وحدة تحكم وHC-05 وحدة بلوتوث.
يمكنك تحميل الدوائر وملف عرافة هنا http://www.hobbyprojects.com/bluetooth-device-control/
تعليمات التطبيق:
1. أولا تأكد من المقترنة HC-05 مع وحدة بلوتوث هاتفك النقال. كلمة المرور الافتراضية لالاقتران هو "1234" أو "0000". دليل للتحقق من وحدة بلوتوث.
2. عندما تضغط على زر لجهاز 1 يرسل البيانات "A" إلى وحدة بلوتوث اتصال مع الدائرة. متحكم يتحول ON تتابع الأجهزة 1 عندما يكشف "A".
3. عند الضغط على زر OFF للجهاز 1 يرسل البيانات "أ" إلى وحدة بلوتوث اتصال مع الدائرة. متحكم يتحول OFF تتابع الأجهزة 1 عندما يكشف "أ".
4. عندما تضغط على زر لجهاز 2 يرسل البيانات "B" إلى وحدة بلوتوث اتصال مع الدائرة. متحكم يتحول ON تتابع الأجهزة 2 عندما يكشف "B".
5. عند الضغط على زر OFF للجهاز 2 يرسل البيانات "ب" إلى وحدة بلوتوث اتصال مع الدائرة. متحكم يتحول OFF تتابع الأجهزة 2 عندما يكشف "ب".