Go Down

Topic: BLE 4.0 HM-10 problems (Read 6610 times) previous topic - next topic

DreyMex

I assembled a project based on the codes from this website : http://arduinofy.blogspot.com/2013/05/attiny-bluetooth.html

Try to send serial data using putty but there is no COM for the BLE under the Ports (COM and LPT) instead the BLE is listed under Bluetooth section in the Device Manager.

I'm using an Acer Aspire V Nitro Black Edition with Windows 8.1 64bit.

Anyone knows how to solve this problem?

Also,anyone knows about any applications that can send serial data to the BLE 4.0 using an iPhone/Android phone?

Nick_Pyner

I don't know anything about an Acer of any colour but the only thing that counts is that it has bluetooth, and it is properly installed and running. It might be best to test this with a phone. Further to that, I think it is usually easier to use a phone to connect with Arduino anyway.

The link you allude to is using an HC-05 bluetooth, but I don't think that is relevant, as one serial device should look like another to Arduino.

You might find the following background notes useful. They also are about the HC-0x family but should be relevant to the BLE.

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino


DreyMex

#2
Mar 26, 2015, 02:14 pm Last Edit: Mar 26, 2015, 02:34 pm by DreyMex
I don't know anything about an Acer of any colour but the only thing that counts is that it has bluetooth, and it is properly installed and running. It might be best to test this with a phone. Further to that, I think it is usually easier to use a phone to connect with Arduino anyway.

The link you allude to is using an HC-05 bluetooth, but I don't think that is relevant, as one serial device should look like another to Arduino.

You might find the following background notes useful. They also are about the HC-0x family but should be relevant to the BLE.

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino


I managed to connect it with a phone apparently (Galaxy Note 2) but the damn phone just kept saying the passcodes are wrong and when i just jammed 00000000000 (the correct passcode is 0000), it already paired. LOL but still unfunctional because the connection is not stable.

*EDIT
sorry, the unfunctional was not only because of unstable connection, but also because of the pairing process is not fully completed, as after few seconds connected, i tried a Bluetooth Terminal/Graphics app (that i just found) it just disconnected with the BLE module (lights blinking) while the phone is still paired. Great....

Nick_Pyner

It sounds a mechanical problem and I hope you are not using some clunky breadboard setup. Pairing is just getting a place in Android's list of devices and you should only need to enter the password once.  Pairing is not connecting, you have to establish a new connection whenever you open an Android app.,

DreyMex

It sounds a mechanical problem and I hope you are not using some clunky breadboard setup. Pairing is just getting a place in Android's list of devices and you should only need to enter the password once.  Pairing is not connecting, you have to establish a new connection whenever you open an Android app.,
Yeah I'm using breadboard XD but I'm gonna solder it to a normal circuit board so that it will look better. Damn it, looks like I'll have to try using Arduino UNO first and see whether it works or not.

Nick_Pyner

sorry, the unfunctional was not only because of unstable connection, but also because of the pairing process is not fully completed, as after few seconds connected, i tried a Bluetooth Terminal/Graphics app (that i just found) it just disconnected with the BLE module (lights blinking) while the phone is still paired. Great....
I don't really know anything about BLE modules, but they should work just like a good ol' HC-05.

Assuming the breadboard is OK and sticking with the Galaxy, a 100% kosher Android device - a known known, the objective is to lock the signal. I think there might be just a little confusion about procedure.

Note my previous. Pairing does not mean connecting - it's just getting a place on the dance card. Every time you open an app, you have to make a connection, and let's not get confused about swapping between apps. If it's on the screen now and wasn't before, you need to make a connection. Further, a bar under the bluetooth in the settings wipedown only means bluetooth is open for business and flattening the battery. It does not mean it is actually doing anything.

I hope this helps, please let me know of your success. You are a bit of a pioneer with HM-10, and I would like to update the notes I linked to, confirming they are no different from plain vanilla HC-0x.


hammer5858

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

Go Up