Our website uses necessary cookies to enable basic functions and optional cookies to help us to enhance your user experience. Learn more about our cookie policy by clicking "Learn More".
Accept All Only Necessary Cookies
Add APK Downloader Chrome Extension
Download free APK/XAPK files from Google Play Store without a login account.
Install Now
micro:bit UART icon

micro:bit UART Terminal


Ferdinand Stueckler
2.5
  • Jun 3, 2019
    Update date
  • 0/65
    Security
  • Everyone
  • Android 4.3+
    Android OS

About micro:bit UART

Bluetooth Terminal for micro:bit devices

This app communicates between Android and a micro:bit device. You can transmit and receive text in 'notification' or 'indication' mode. The UART communication also has to be implemented at the micro:bit device (Block, Javascript, MBED).

Options:

- Indication: Default micro:bit mode (otherwise notification mode)

- LF: Linefeed added

- CR: Carriage return added

Requirements:

- Min. Android 5

- Bluetooth Low Energy (BLE)

- Paired devices

- micro:bit programm (developed by yourself)

V 2.1: Copy to Clipboard (Option Menu)

V 2.2: Clear List (Option Menu), No Log Option

V 2.5: Hex Mode

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();

}

Show More

Additional APP Information

Latest Version

2.5

Uploaded by

محمد ابو احمد

Requires Android

Android 4.3+

Available on

Content Rating

Everyone

Security Report

What's New in the Latest Version 2.5

Last updated on Jun 3, 2019

HEX mode

Show More
0/65
Scan Result: Secure
No security vendors flagged this file as malicious
No Virus
No Spyware
No Malware
No Virus
No Spyware
No Malware
Scan Date:Jun 27, 2024
Package Name:com.ble.microbit.uart
SHA-256:149a4fd6a102a46b391c0effe6e4a3e2934d2f843369d25cd204ce0cd93e6504
SHA-1:cef9ff8ba9fb3f99097a662476b1a2f31e9edbf4
Show More
View Security Report

micro:bit UART Screenshots

micro:bit UART postermicro:bit UART screenshot 1micro:bit UART screenshot 2micro:bit UART screenshot 3

Related Tags

Popular Articles In Last 24 Hours

Subscribe to APKPure
Be the first to get access to the early release, news, and guides of the best Android games and apps.
No thanks
Sign Up
Subscribed Successfully!
You're now subscribed to APKPure.