Bluetooth-Module BLE doesn't work


#1

Hi everybody,

I’m using the baseboard of the electronic kit for scratch&arduino (Leonardo based).
Yesterday I got my bluetooth-module BLE and it doesn’t work. Maybe I did something wrong?! I don’t know.
I plugged it in Port 4. My smartphone didn’t recognized a new bluetooth device and also the Scratchbot application.

Has anybody same problems with this module or any hints, what I can do for getting it to work?

Best regards

Erik


#2

I got my BLE working yesterday. I downloaded the Makeblock app to my iPad and turned on Bluetooth. I uploaded the firmware.ino to the board. Then I tried to run the app with a Ultrasound Distance Messure sketch. When I tried to run it, the ipad connected to the BLE and the blue LED stopper flashing (stayed on). I could not get the sketch working, so I changed the boards Arduino sketch to BluetoothEchoSerial (or something like that in the examples). Whenever I send a signal from the app to the BLE it was then echoed on the serial monitor on my pc. So now I will start coding ;). I hope this can be some kind of help to you.


#3

Hi Erik, have you upload the firmware to Baseboard?


#4

Hi Jonny,

yes of course I had!

So the Scratbot-Application should recognize the module too - right? In the menu, there is always “no bluetooth” shown.
And my smartphone didn’t see the module either.

I have no idea :frowning:

Best regards

Erik


#5

The “no bluetooth” in Scratchbot should change to “bluetooth” when you turn bluetooth on on your pc. (Well it did on mine). Then when I clicked this text, the pc started searching for bluetooth device. It did not connect, but I found some post saying that it might be a common problem in windows8. I have not had the chance to do any further investigation.


#6

Hi Erik, @Christina will email you about the problem.


#7

Today, I tested it again with a new bluetooth module because it could be possible, that the first one was doa. But it didn’t work. I have Windows 7 and I guess, it should work with it. My Bluetooth-adapter of my PC is working well, so that the Scratchbot-application will say “Bluetooth” in the menu.

That’s what I did to test it:

  • Connect my baseboard (Leonardo based) to my computer
  • Connect my bluetooth-module to port 4
  • Connect to my COM-Port
  • Upgrade firmware
  • Connect again to my COM-Port
  • I clicked on the menu “Bluetooth” in the Scratchbot-app
  • “Discovering Bluetooth…” is comming up and nothing happens
  • I started my Bluetooth-scan on my smartphone and the Bluetooth-module ist not shown in the list

So I don’t know what to do. :frowning:
What about the Pair-button on the module. I pressed it for testing during the scan and I hoped, I could type in a pair-code. But nothing happend.

So if anybody has a hint for me, I’ll be happy :slight_smile:

I tested it with my BT-Shield from iteadstudion for the Arduino and conneced it via the adapter-module to my baseboard. S1 -> Pin 1 (TX), S2 -> Pin 0 (RX) and everything works fine. The Scratchbot-app will find the BT-module (Baud-Rate 115200). So what’s going on here?

Perhaps there is a problem with the 4.0 version of bluetooth. I ordered a new BT-adapter 4.0 and I hope it will be delivered next week. Hopefully it solves the problem.

Best regards

Erik


#8

So I tested it with my new BT-Adapter 4.0 but it didn’t work.


#9

Dear Erik,

I’ve sent you the email, keep in touch:)

Christina

Makeblock Community Team


#10

Hi I’m having the same problem as Erik, my BLE has red LED on constant but the blue one keeps flashing, I can’t discover it on my phone or pc to pair with it.

What do I need to do to make it work?

Please help!


#11

Hi @hbohosian,

I wrote something in another post.


#12

Hi Christina, I have the same (or at least apparently similar) pb like Erik, could you please send me the remediation plan you sent to Erik? Thanks, Julien


#13

Has anybody successfully connected from scratchbot to the robot with bluetooth?

I see it in the dropdown list and it says connected but running programs has no effect?

Can’t believe there is ZERO documentation for a $400 consumer product.


#14

You realize how useless this reply is right? How about a link to your reply? Or maybe a suggestion on how to solve the problem?


#15

Or post the solution to the forum. Have you ever used a forum before? The point is you post the answers here, not in personal mails to specific users.


#16

Hi Everybody,

I’m a new person in this group. I have a problem with connection beetwin Makeblock 2.4 G and scratch 2
where I can get the drivers like a makeblock for scratch? And how I can run it? I’m looking for YT but I didn’t find it. Would you like help me step by step…


#17

Erik, did you ever get your bluetooth connection working? Having the same problem…
Thanks!


#18

Hi all, this is still a major issue. i cannot seem to figure out when this works and when it doesnt. please, help!

I have tried the SlaveBluetoothBySoftSerialTest and sometimes it seems to kick things into gear so i can upload the BlueTooth_Ultrasonic program. but if i turn the board off and on again, i have to start the whole process over again. the rest of the code runs after rebooting the board, but bluetooth does not.


#19

Hi Mcapraro,

Which main Board you use? Have you ever tried upgrade firmware for the main board with the mBlock have a try.
Besides, which port on main board did you connect the Bluetooth version to?


#20

We have issues pairing Bluetooth with windows 10 and also win XP PCs. Win 10 PC could see mbot using Makeblock application, but never successfully paired. This obviously prevents us from fully utilizing Makeblock application and having mbot read data, then send it back to PC. Very disappointing. This is household use and only 1 mbot. What could we do to improve experience? Does the 2.4G transmitter work better?