Arduino Uno-ga HM-10 bluetooth ulanishi mumkin emas

Men hamma narsani chindan ham sinab ko'rdim. HM-10 moduli (bluetooth) uning boshchiligiga ega va uning ilovasidan unga ulansangiz, milt-milt o'chib-yonib turadi va siz UUID iDevice.

UART dan dasturni ishga tushirishga harakat qiling va "AT" kodini yuborish uchun muammo paydo bo'ladi. Mac uchun).

Shunday qilib, ttl konverter yordamida tx/rx ni arduino uno ga ulashga harakat qildim va monitörden buyruq yubordim, ishlamadi.

than i was trying to connect it directly and used this link : How to use BLE Shield based on HM-10 bluetooth module?

ishlamadi ("AT" ga javob bermadi).

I have also tried this : http://www.seeedstudio.com/wiki/Bluetooth_V4.0_HM-11_BLE_Module

and this: http://www.instructables.com/id/Control-RGB-lights-from-Android-with-Arduino-Bluet/step1/Assemble-test-configure-your-Bluetooth-LE-module/

Hech qanday javob bermayapti. Moduldan hech qanday javob olmaysiz (modul rx arduino ustiga tx ga o'tadi)

Men ushbu modul bilan shartnoma nima ekanligini bilmayman, ehtimol uning buzilganligi (agar shunday bo'lsa, qanday qilib uni iPad'dan ulashim va UUIDni olishim mumkin?).

Men qila oladigan boshqa narsa bormi? Ba'zida uni javob berishga qodir emasligini ma'lum rejimda qo'yganim bormi?

5
Odatda modulni arduino rx/tx pinlariga ulashmaydi, chunki ular allaqachon kompyuterga ulanish uchun ishlatiladi, lekin o'zboshimchalik bilan raqamli uzatmalarga va dasturiy ta'minot ketma-ketidan foydalaniladi. Istisno leonardo tipli taxta bo'lishi mumkin. Boshqalar esa atmega328pni olib tashlash va arduino panelini faqat usb konverter sifatida ishlatish kerak, lekin keyin siz rx-rx va tx-tx ulashingiz kerak. Albatta, noto'g'ri bod tezligi yoki noto'g'ri tushunchasi har doim tashvishlidir.
qo'shib qo'ydi muallif Chris Stratton, manba
har qanday yechim topdingizmi? Xuddi shu muammo.
qo'shib qo'ydi muallif Shubham, manba

7 javoblar

Men qurilmamni topdim: BLE-CC41-A, HM-10 yiqilib

Buyruqlar bir-biriga o'xshash, biroq boshqacha, sizga yordam beradigan yaxshi buyruqlar:

AT + YoRDAM/CR/LF

Doc for the BLE-CC41-A: http://img.banggood.com/file/products/20150104013200BLE-CC41-A_AT%20Command.pdf

5
qo'shib qo'ydi

There is an app for iOS that makes using the HM-10 easy to use. It is for a single pin output. There is also a link the sketch for it. I used it with Arduino Nano, HM-10, a Relay, junction box, and an outlet to turn my room light off at night without getting out of my bed. The app is FatBeard HM10 here https://itunes.apple.com/us/app/fatbeard-hm10/id1198432512?mt=8

2
qo'shib qo'ydi

Baud stavkalari/parametrlarining mos kelishi BLE-CC41-A yoki HM-10 bilan bir xil emas, ikkinchi javobda keltirilgan BLE-CC41-A uchun Doc da yaxshi qayd etilgan. Boshqa farqlar ham bor.

1
qo'shib qo'ydi

Agar BT (HM-10 yoki CC41-A) nima ekanligini aniq bilmasangiz, Ehtimol siz buni sinab ko'rishingiz mumkin ..

https: //rydepier.wordpress. com/2015/10/22/hm10-va-ble-cc41a-bluetooth-ni solishtiring/

I bought one HM-10 but what i got is CC41-A I turn my BT as a master, and don't forget to use NEWLINE or BOTH NR & CL neither NO LINE ENDING

1
qo'shib qo'ydi

Make sure you've set the same baud rate in both Arduino sketch (Serial.begin(115200)) and in HM-10 module settings(AT+BAUD4). You can use https://github.com/4ntoine/mega-to-hm10 example. A part of Apploader app that allow to upload arduino sketches from iOS devices to Arduino: http://www.apploader.info

0
qo'shib qo'ydi

Arduino seriyali monitöründe, "Tashish Qaytish" ni o'chirishni unutdingizmi? HM-1X "AT" emas, "AT \ r"

0
qo'shib qo'ydi

Men soxta HM-10 (CC41-A) bilan bir necha kundan beri o'zimni o'ynayman. Ma'lumotlar sahifasidagi bodga mos kelmaganligini angladim. Shunday qilib, men barcha Armani chizmalarini bir necha marotaba qayta tekshirib chiqdim va barcha ATB buyrug'lariga javob berishni boshladim.

Men shuni qilishni taklif qilaman. CC ga ulanganingizdan so'ng barcha CC41-A ulanishidagi bod tezligini tekshiring.

Mine required 'Both NL & CR' on the Arduino SerialMonitors settings if I enter commands manuall, as well as an .println("AT"); instead of .print("AT");!

0
qo'shib qo'ydi