micro:bit UART Terminal
You can tranmit and receive text in 'notifivation' and 'indication' mode.
The UART communication also has to be implemented at the micro:bit device.Requirements:- Min.
Android 4.4- Bluetooth Low Energy (BLE)- Paired devices- micro:bit programm (developed by yourself)
MBED example:
#include "MicroBit.h"#include "MicroBitUARTService.h"#include "BMP180.h"
MicroBit uBit;MicroBitUARTService *uart;BMP180 bmp180(P0_30, P0_0); char buffer[80];float pressure,temperature;int connected = 0;
void onConnected(MicroBitEvent e){ uBit.display.scroll("C"); connected = 1; }
void onDisconnected(MicroBitEvent e){ uBit.display.scroll("D"); connected = 0;}
void onButtonA(MicroBitEvent e){ uBit.display.scroll(buffer); }
void onButtonB(MicroBitEvent e){ uBit.display.scroll("SK"); }
/*IMPORTANT !!!Oherwise you will run out of memory !
Recommend disabling the DFU and Event services in MicroBitConfig.h since they are not needed here:microbit->microbit-dal->inc->core->MicroBitConfig.h
#define MICROBIT_BLE_DFU_SERVICE 0#define MICROBIT_BLE_EVENT_SERVICE 0#define MICROBIT_SD_GATT_TABLE_SIZE 0x500*/
int main(){ bmp180.Initialize(64, BMP180_OSS_ULTRA_LOW_POWER); pressure = -1; temperature = -1; if (bmp180.ReadData(&temperature,&pressure)) sprintf(buffer, "%.2f C %4.0f hPa", temperature, pressure); else sprintf(buffer,"NOK"); // Initialise the micro:bit runtime.
uBit.init();
uBit.messageBus.listen(MICROBIT_ID_BLE, MICROBIT_BLE_EVT_CONNECTED, onConnected); uBit.messageBus.listen(MICROBIT_ID_BLE, MICROBIT_BLE_EVT_DISCONNECTED, onDisconnected); uBit.messageBus.listen(MICROBIT_ID_BUTTON_A, MICROBIT_BUTTON_EVT_CLICK, onButtonA); uBit.messageBus.listen(MICROBIT_ID_BUTTON_B, MICROBIT_BUTTON_EVT_CLICK, onButtonB);
uart = new MicroBitUARTService(*uBit.ble, 32, 32); uBit.display.scroll(":)"); while(1) { pressure = -1; temperature = -1; if (bmp180.ReadData(&temperature,&pressure)) sprintf(buffer, "%.2f C %4.0f hPa", temperature, pressure); else sprintf(buffer,"NOK"); if (!connected) { uBit.sleep(500); } else { uart->send(buffer); uBit.sleep(1000); } } release_fiber();}
About micro:bit UART Terminal
- Package name (App ID)
- com.ble.microbit.uart
- Available on
- Google Play
- Price
- Free
- Version
- v2.5
- Updated
- May 26, 2019
- Developer
- Ferdinand Stueckler
Looking for the micro:bit UART Terminal APK?
The safest way to get micro:bit UART Terminal (com.ble.microbit.uart) on your Android device is to install it directly from Google Play — you'll always get the latest official version, automatic updates, and no risk of modified or infected APK files from third-party sites.
Social Features
Connect and share with friends and the community.
Gaming Features
Enjoy immersive gaming experience with various game modes.
Weather Features
Get accurate weather forecasts and real-time updates.
micro:bit UART Terminal in Aktion sehen
Was unsere Nutzer sagen
Verlassen Sie sich nicht nur auf unser Wort. Hier ist, was unsere Nutzer ueber diese Android-App sagen.
"Nice app"
"I only got to connect once"
"program compiled but app shows device doesn't support UART"
"It works! Thanks."
Frequently Asked Questions
Is micro:bit UART Terminal free?
Yes, micro:bit UART Terminal is free to download and install on Android through Google Play.
How do I install micro:bit UART Terminal on Android?
Open Google Play on your Android phone or tablet, search for micro:bit UART Terminal by Ferdinand Stueckler or tap the Google Play button on this page, then tap Install. The app downloads and installs automatically.
What is com.ble.microbit.uart?
com.ble.microbit.uart is the App ID (package name) of micro:bit UART Terminal on Google Play. Every Android app has a unique package name, and it is the safest way to verify you are installing the official app.
Is micro:bit UART Terminal safe to download?
Installing micro:bit UART Terminal from Google Play is the safest option: you get the official version published by Ferdinand Stueckler, verified by Google Play Protect, with automatic updates. Avoid APK files from unofficial third-party sites.
Frag die KI zu dieser App
Erhalte sofortige Antworten zu Funktionen, Tipps und mehr.