Mundarija:

Arduino Bluetooth boshqaruvidagi LED: 3 qadam
Arduino Bluetooth boshqaruvidagi LED: 3 qadam

Video: Arduino Bluetooth boshqaruvidagi LED: 3 qadam

Video: Arduino Bluetooth boshqaruvidagi LED: 3 qadam
Video: Подключение и настройка nRF24L01 к Arduino (модуль беспроводной связи) 2024, Noyabr
Anonim
Arduino Bluetooth boshqaruvidagi LED
Arduino Bluetooth boshqaruvidagi LED

Bu ko'rsatma sizga Android qurilmasidagi ilova orqali Bluetooth yordamida LEDni boshqarishni o'rgatadi. Kerakli materiallar: Arduino Uno Board, LED, Android qurilmasi, Arduino Bluetooth ilovasi, Arduino Bluetooth moduli.

1 -qadam: LEDni Arduino va Bluetooth -ga ulang

LEDni Arduino va Bluetooth -ga ulang
LEDni Arduino va Bluetooth -ga ulang

Birinchidan, siz nazorat qilmoqchi bo'lgan LED bilan non paneli sxemasini o'rnating. Arduino -dagi RX (0 -pin) ni Bluetooth modulidagi TX -ga ulang. Keyin, Arduino -dagi TX (1 -pin) Bluetooth modulidagi RX -ga. Keyin 5V VCC -ga Arduino -dan Bluetooth moduligacha. Nihoyat, Arduino va Bluetooth modulida GND dan GNDgacha. Keyin LEDning salbiy tomonini Arduino GND ga va ijobiy tomonini 13 -pinli rezistorga (220Ω - 1KΩ) ulang.

2 -qadam: Bluetooth ilovasini yuklab oling va o'rnating

Bluetooth ilovasini yuklab oling va sozlang
Bluetooth ilovasini yuklab oling va sozlang
Bluetooth ilovasini yuklab oling va sozlang
Bluetooth ilovasini yuklab oling va sozlang

Keyin, Android qurilmasidagi Google Play do'konidan "Arduino Bluetooth Controller" ilovasini yuklab oling. Ushbu dasturni o'rnatganingizdan so'ng, uni oching va ilovada ko'rsatilgan barcha ko'rsatmalarga amal qiling. Shundan so'ng, Bluetooth o'rnatildi va ulanish paytida 1234 yoki 0000 parolini kiritish orqali Bluetooth moduliga (HC-06) ulanish kifoya.

Tavsiya: