BLE related tips
3 posters
Page 1 of 1
BLE related tips
Hi all,
If you have figured out something regarding BLE connection issues that might be useful for others, please write a short note of it here.
/Ragnar (BTW, thank you Victor for making this fantastic app !)
-------------------------------------------------
Let me start with :
- DFRobot BLUNO Nano. Will probably not work with RoboRemo, at least I have not succeeded.
- HM-10. If you have one of the newer and not-so-cheap versions (sold by "audiospectrumanalyzers" on Ebay) you can use 5V supply and pin levels (some versions can only handle 3.3 volts).
- HM-10 may refuse to connect. Try sending "TYPE=3" via AT commands (that is AT+TYPE=3). (Google "Tom Heylen HC-12 commander" for help with AT commands).
HM-10 may distort and/or skip characters sent and received when using serial speed = 115200. I changed to default speed = 9600 and it worked fine.
- HM-10 refused to connect after having worked perfectly for a while. Cured by starting the free "BLE Scanner" app and connecting + disconnecting using this app. After that, RoboRemo worked again.
- And the most obvious - you have to cross connect RX & TX between Arduino and BT/BLE device.
If you have figured out something regarding BLE connection issues that might be useful for others, please write a short note of it here.
/Ragnar (BTW, thank you Victor for making this fantastic app !)
-------------------------------------------------
Let me start with :
- DFRobot BLUNO Nano. Will probably not work with RoboRemo, at least I have not succeeded.
- HM-10. If you have one of the newer and not-so-cheap versions (sold by "audiospectrumanalyzers" on Ebay) you can use 5V supply and pin levels (some versions can only handle 3.3 volts).
- HM-10 may refuse to connect. Try sending "TYPE=3" via AT commands (that is AT+TYPE=3). (Google "Tom Heylen HC-12 commander" for help with AT commands).
HM-10 may distort and/or skip characters sent and received when using serial speed = 115200. I changed to default speed = 9600 and it worked fine.
- HM-10 refused to connect after having worked perfectly for a while. Cured by starting the free "BLE Scanner" app and connecting + disconnecting using this app. After that, RoboRemo worked again.
- And the most obvious - you have to cross connect RX & TX between Arduino and BT/BLE device.
m31- Posts : 13
Join date : 2020-02-23
Re: BLE related tips
Hello
Nice app, small proposal for quality enhancement:
The BLE module HM-10 can work autonomously, without micro
on UART side. It is possible by BLE to read and write on ports,
read the analog values from port pins ... Unfortunately HM-10
fw. 707 accepts from the radio side only commands WITHOUT
ending, roboremo does not recommend it, but it works.
Respond from radio side is also WITHOUT ending, but interface
item text log take it.
Examples:
AT+TEMP? respond: OK+Get:023.88
AT+NAME? respond: OK+NAME:HMSoft
AT+ADDR? respond: OK+ADDR:4006A05F419C
AT+VERR? respond: HMSoft V707
AT+MPIO3FF respond: OK+Set:3FF
AT+ADC4? respond: OK+ADC4:2.60
The respond from HM-10 is now possible to receive only in
interface item text log. It could be handy to have some
way to interpret these respond strings from HM-10 and to
use them in the rest of interface items like led, plot, slider etc.
Nice app, small proposal for quality enhancement:
The BLE module HM-10 can work autonomously, without micro
on UART side. It is possible by BLE to read and write on ports,
read the analog values from port pins ... Unfortunately HM-10
fw. 707 accepts from the radio side only commands WITHOUT
ending, roboremo does not recommend it, but it works.
Respond from radio side is also WITHOUT ending, but interface
item text log take it.
Examples:
AT+TEMP? respond: OK+Get:023.88
AT+NAME? respond: OK+NAME:HMSoft
AT+ADDR? respond: OK+ADDR:4006A05F419C
AT+VERR? respond: HMSoft V707
AT+MPIO3FF respond: OK+Set:3FF
AT+ADC4? respond: OK+ADC4:2.60
The respond from HM-10 is now possible to receive only in
interface item text log. It could be handy to have some
way to interpret these respond strings from HM-10 and to
use them in the rest of interface items like led, plot, slider etc.
jiri- Posts : 1
Join date : 2020-04-17
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|