How can i connect BBC microbit V2 to Mit App Inventor?
Welcome Vera.
Read the entire discussion: App Inventor, Micro:bit and UART
Hello Vera, welcome to the App Inventor Community
You will need to use the MIT BLE Extension. Unfortunately, at the moment connecting to the micro:bit is not plain sailing. However, this Topic should help:
App Inventor, Micro:bit and UART
Somehow, communicating with a micro:bit via UART is more difficult than it should be. For now, using the extensions as indicated in this tutorial, will ensure that everything works.
This tutorial is intended to show how to use Bluetooth Low Energy (BLE) to send messages to a micro:bit. This can be used to control a toy robot car or any device that uses a micro:bit as its brain.
This first part will only cover the basic communication with a micro:bit via BLE. A…
The very latest BLE Extension:
Hello everyone,
We have a beta version of the BLE extension that incorporates the new Bluetooth permissions introduced in Android 12. Please make a backup of your projects before upgrading the extension. Because this is a work in progress, there may be issues that still need to be addressed. If you try it out, please leave feedback in this thread.
edu.mit.appinventor.ble-20230223-beta.aix (200.0 KB)
Regards,
Evan W. Patton, Ph.D.
Lead Software Engineer, MIT App Inventor
Ghica
March 7, 2023, 6:55pm
6
Hi Vera,
What do you want to do with the micro:bit while connected to a phone?
What is the version of Android that you have on your phone?
Hi Ghica.
I want the micro:bit to be sending and receiving information with the app I will create on MIT App Inventor.
Ghica
March 16, 2023, 8:19pm
9
Here is a link to my tutorial, which includes a ready made .aia and a .hex file for communication between AppInventor and micro:bit.
I have updated the .aia to include the newest BLE extension.
App Inventor, Micro:bit and UART
Somehow, communicating with a micro:bit via UART is more difficult than it should be. For now, using the extensions as indicated in this tutorial, will ensure that everything works.
This tutorial is intended to show how to use Bluetooth Low Energy (BLE) to send messages to a micro:bit. This can be used to control a toy robot car or any device that uses a micro:bit as its brain.
This first part will only cover the basic communication with a micro:bit via BLE. A…
2 Likes
Thank you very much @Ghica