Help Extension Mbot2 (and Mbot1)

found nothing, I'm depressed :sob:

I found this in a 2020 post MIT App Inventor cannot connect to mBot. Android App Force Quit when search for devices - mBot - Makeblock Forum . I do not use Mbot so I have no idea whether it will help you or not. This seems to be a link you already tried.

Why? Do something else as the project when you reach a dead end.

This is one of my students' Robot contest.

  1. Speed ​​test with line follower
  2. Customization of Mbot2
  3. Creation of a smartphone application to control the mbot2 and play a Robot football match against a robot.

Suggest your student might need to use the Makeblock free software rather than App Inventor/ It might be his/her only alternative Here is a link https://www.makeblock.com/pages/software.

Otherwise you might ask about an App Inventor extension on the Makeblock discussion forum. mbot2 robot football - Google Search

Last year the Appinventor applications created by my students had no problem connecting to the Mbot.

In my new establishment, I have two Mbot1 to which I have just put the blutooth chips.

Unable to connect to mbot.
I have this message:
"connot connect to blutooth connect"

An idea??

Is the Bluetooth mbot chip paired with your Android?

See Makeblock Bluetooth Dongle Operation Guide | Makeblock Education . It discuses pairing. or use MakeBlocks instead of App Inventor. :cry:

What Android version are you using. This discussion suggests the .the 2.0.4.aix extension on the mbot site does not work with Android 11+ .

This discussion might be useful Sending data to mBot via Bluetooth - mBot - Makeblock Forum See where one user used this MIT App Inventor Code on the Android:
BTArduinoClient2Devices_ahu.zip (3.1 KB) and he says You will need to pair the mBot with the Android device using the Bluetooth settings 1st, then connect within the app.

I forgot to specify that the connection is made from my android phone.
The connection was working fine last year....

Please note it is Mbot + Bluthoot card

Last year I managed to connect Mbot1 with Appinventor applications.

But there, impossible....
I thought it was from the card but the provider told me no.

It tells me about connection problem because of android 12...
I took an old tablet with an old android and it does not work better....

You can see, the message I have on my phone...

Put aia project here.

Thanks I didn't see your reply sorry

you have to ask for permissions, see also

Taifun

Thank you, I try tomorrow with the students.
I add this routine like that, in addition to the initial program?

Yes
And in case it still does not work, drag a bluetooth client component into the working area without using it to get the required permissions in the manifest

Taifun


I don't think there's something I understand...it doesn't work.

mBot.aia (235.6 KB)

Then follow the next tip.

I don't understand the next tip.....sorry

Add a built-in bluetooth component to your project.
Designer screen:

  • Connectivity
    • BluetoothClient

I added the:

Connectivity
Bluetooth client

But I still don't see the Mbot whether with an old or new Android

I forgot something??

Do you see the mbot in the list of paired or unpaired devices in android bluetooth settings?

Or can you see the mbot with a regular bluetooth component?

When you added the bluetoothClient component, are you still getting this error?