micro:bit UART Terminal 2.5 Apk

micro:bit UART Terminal 2.5 icon
Category: Communication
Requires: Android 4.3 and up
Curent version: 2.5
Updated: 26.05.2019
Price: Free
Size: 1.07 Mb
Download: 52

Rate saved, Thank!

3.5 (1 votes)

Description of micro:bit UART Terminal

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

Read more...

Images

Share this App

Also from Ferdinand Stueckler

NetSimple 1.0 Apk

NetSimple

Category: Communication
Free
Download Apk
micro:bit Numeric 2.2 Apk

micro:bit Numeric

Category: Communication
Free
Download Apk
BLE Numeric Remote 1 Apk

BLE Numeric Remote

Category: Communication
Free
Download Apk
NXT Simple Remote 2.2 Apk

NXT Simple Remote

Category: Communication
Free
Download Apk

Similar apps

OTG UART Terminal-232 Free 1.2.00 Apk

OTG UART Terminal-232 Free

Communication
Apps Gempro
0.17 Mb
Download Apk
Shell Terminal Emulator 1.1.2 Apk

Shell Terminal Emulator

Tools
MobilDev
3.2 Mb
Download Apk
micro Journal 5.0 Apk

micro Journal

Productivity
Amimetic
0.13 Mb
Download Apk
Terminal Emulator for Android 1.0.70 Apk

Terminal Emulator for Android

Tools
Jack Palevich
0.54 Mb
Download Apk
micro MX 1.01 Apk

micro MX

Racing
StudyHall Entertainment
16.39 Mb
Download Apk
Micro Radio Maroc Recorder 7.5 Apk

Micro Radio Maroc Recorder

Music & Audio
Wibelle soft
10.79 Mb
Download Apk
Time Clock Terminal 2.5.0-release Apk

Time Clock Terminal

Business
When I Work, Inc.
5.68 Mb
Download Apk
Terminal IDE 2.02 Apk

Terminal IDE

Tools
Spartacus Rex
47.56 Mb
Download Apk
Material Terminal 2.1.0 Apk

Material Terminal

Tools
Yaroslav Shevchuk
2.17 Mb
Download Apk
Smash Micro Monster 4.0 Apk

Smash Micro Monster

Action
Cihan Özgür
16.91 Mb
Download Apk
Impossible Run Micro Monster 1.0 Apk

Impossible Run Micro Monster

Action
Cihan Özgür
30.37 Mb
Download Apk
Trend Micro Password Manager 3.5.1096 Apk

Trend Micro Password Manager

Tools
Trend Micro
23.55 Mb
Download Apk
Trend Micro GPS 2015 5.24.0.0 Apk

Trend Micro GPS 2015

Productivity
Trend Micro
9.45 Mb
Download Apk
Trend Micro Things Security 1.5.1012 Apk

Trend Micro Things Security

Tools
Trend Micro
1.74 Mb
Download Apk
Trend Micro MARS Earth 3D 1.0 Apk

Trend Micro MARS Earth 3D

Tools
Trend Micro
2.43 Mb
Download Apk
Terminal Emulator Free 1.2.7 Apk

Terminal Emulator Free

Business
Motivation Inc
2.96 Mb
Download Apk
About Privacy Policy Feedback Report a policy violation