Page 1 of 1

Bluetooth 4.0 BLE on a Multiwii board ?!?!?

Posted: Fri Oct 23, 2015 1:32 pm
by CopterFLY
Hi everybody !

Is it possible to use a bluetooth 4.0 BLE module on a multiwii FC SE 2.5 Crius clone like this one http://www.banggood.com/BLE-CC2541-Bluetooth-4_0-UART-Transceiver-Serial-Module-p-961876.html ?

If it's OK, how to set it up ?

It should work with this IOS free-software https://itunes.apple.com/it/app/multiwii-gui/id891948965?mt=8.


I appreciate any help . ;)

T.I.A.

Franky

Re: Bluetooth 4.0 BLE on a Multiwii board ?!?!?

Posted: Fri Oct 23, 2015 5:52 pm
by Cereal_Killer
Yes and yes. As far as setup, all you need to do is program the HM-10 module to work at 115200 baud. You do this by sending it AT commands via a terminal app (you physically hook to it over a USB to UART adapter like a FDTI or similar, you can't change its settings OTA).

Note iPhone won't see it till you download a BLE scanner app (don't pay for any, the free one works fine). But after you use it the first time it will remember and you don't have to do that step any more.

As far as the multiwii side, there is no setup as long as you are setting the HM-10 to talk at the default serial comms speed (115200), if you've changed that for something else you'll want to set the HM-10 to match. Other than that it's all standard MSP so there's no other setup as far as MWC is concerned.

Re: Bluetooth 4.0 BLE on a Multiwii board ?!?!?

Posted: Fri Oct 23, 2015 5:57 pm
by Cereal_Killer
Just so you know that's a knock off HM-10 (but it should still work), you are risking it tho to save <$15 over a real one (real ones cost about $22 shipped from China)

The real ones have a Second xtal on the empty two pads (bottom left of that pic).

Here is the datasheet for you to have the AT commands. Don't forget to save before you disconnect!
https://www.seeedstudio.com/wiki/images ... th4_en.pdf

Re: Bluetooth 4.0 BLE on a Multiwii board ?!?!?

Posted: Fri Oct 23, 2015 7:14 pm
by CopterFLY

Re: Bluetooth 4.0 BLE on a Multiwii board ?!?!?

Posted: Sat Oct 24, 2015 11:00 pm
by Cereal_Killer
Yes sir that's a real one. You should be able to find one that is just the HM-10 module (the blue part) for a few dollars cheaper if you search but if you're ok with the price yes that ones perfect.

Re: Bluetooth 4.0 BLE on a Multiwii board ?!?!?

Posted: Wed May 11, 2016 11:55 pm
by Cereal_Killer
Since kbev added this to his tutorial listing I thought I'd make a follow up post...

I highly highly recommend not using Bluetooth Low Energy "BLE" if you don't have to (i.e. if you're not using an apple product)

The much cheaper HC-05 module has much better range, supports more standard AT commands (allowing you to set the device name and password) and is in general a better match to most Bluetooth devices.