Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Connect Feather 32u4 Bluefruit LE with HM 10 Module
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Connect Feather 32u4 Bluefruit LE with HM 10 Module

by oxor on Sat Jun 20, 2020 9:53 am

Hey Community!

I need help to connect the Feather 32u4 Bluefruit LE with the HM 10 Module.
First I tried to connect it with a HC-05 Module, but in this topic (https://forums.adafruit.com/viewtopic.php?t=119043), I learned, that it doesn't work, because the bluetooth version was different. Now I want to try it with the HM 10 module, which is Bluetooth 4.0 – like my Feather.

But I doesn't know, how to bind them – do I have to use the AT-Command mode? But which command do I need?
Do I have to assign master- and slave-roles?
Is it even possible?

Thank you for your answers beforehand,
oxor

oxor
 
Posts: 2
Joined: Sat Jun 20, 2020 9:36 am

Re: Connect Feather 32u4 Bluefruit LE with HM 10 Module

by oxor on Tue Jun 30, 2020 4:37 pm

Update and a new issue:
I successfully wired up the HM10 module to a mikrocontroller (Teensy 3.6) and configured with these AT-Commands into Master-Mode and Manual-Connection-Mode:
Code: Select all | TOGGLE FULL SIZE
AT+ROLE1 //1 for master, 0 for slave
AT+IMME1 //1 for build up ble-connection manually, 0 for connection immediatly


Then I scanned for BLE-Devices around the HM10, found the Bluetooth Feather and connected it:
Code: Select all | TOGGLE FULL SIZE
AT+DISC? //Returns a list (starts with element 0!), which contains some BLE-slave-devices around it
AT+CONN<listelement> //connects it to the device


I found this way to connect on this very detailed website http://www.martyncurrey.com/hm-10-bluet ... e-modules/
There is described another, more stable way to connect BLE-devices:
Code: Select all | TOGGLE FULL SIZE
AT+CON<MAC-Address> //MAC-Adress without the ":" in between!

...but in my case, this didn't work (don't know why)

To test this BLE-communication, I told the Feather to simply transfer the output of potentiometer. I even tested this test before with the Adafruit BLE-App and it worked successfully.
But after the last command in AT-Mode of the HM10-Module, there was no output!

The website from before tells, that after the connection is built up, the HM10-module switches from AT-Command-Mode into Data-Mode (or something like that), and it seems to do it, because it doesn't accept AT-Commands anymore...

Help me! Please! Why do I not receive any data from the Feather BLE?!

oxor
 
Posts: 2
Joined: Sat Jun 20, 2020 9:36 am

Please be positive and constructive with your questions and comments.