開發人員:
價錢: 免費
排名: 0 
評測: 0 寫評論
清單: 0 + 0
點數: 0 + 0 (3.8) ¡
點數 +1

描述

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

螢幕擷取畫面

#1. micro:bit UART Terminal (Android) 由: Ferdinand Stueckler
#2. micro:bit UART Terminal (Android) 由: Ferdinand Stueckler
#3. micro:bit UART Terminal (Android) 由: Ferdinand Stueckler
#4. micro:bit UART Terminal (Android) 由: Ferdinand Stueckler

新功能

  • 版本: 2.5
  • 發佈日期:
  • HEX mode

價錢

  • 今天: 免費
  • 最小值: 免費
  • 最大值: 免費
追蹤票價

開發人員

點數

未找到 ☹️

排名

未找到 ☹️

清單

未找到 ☹️

評測

成為第一個評論 🌟

其他資訊

聯絡人

micro:bit UART Terminalmicro:bit UART Terminal 縮短網址: 已複製!

你可能還喜歡

    • Terminal Multi PRO
    • Android 應用程式: 通訊  由: edodm85
    • $0.99   
    • 清單: 0 + 0   排名: 0   評測: 0
    • 點數: 0 + 0   版本: New   Terminal Multi is a terminal app which provides three different communication types: 1) BLUETOOTH SPP: data are transmited/received between the phone and a bluetooth paired device via ...
        ⥯ 
    • Bit Browser -fast web browser
    • Android 應用程式: 通訊  由: VPN.server.co
    • * 免費   
    • 清單: 0 + 0   排名: 0   評測: 0
    • 點數: 0 + 19 (5.0)   版本: 9.1   Introducing Bit Browser - the ultimate web browsing experience for your Android device in 2023. With its lightning-fast performance and a wide array of features, Bit Browser is the ...
        ⥯ 
    • WiFi Terminal
    • Android 應用程式: 通訊  由: Oxymora Technology Pvt. Ltd.
    • 免費   
    • 清單: 0 + 0   排名: 0   評測: 0
    • 點數: 0 + 0   版本: 2.0.0   The WiFi Terminal App provides a robust platform for local network communication using both HTTP and TCP protocols. Ideal for developers, network administrators, or IoT enthusiasts, ...
        ⥯ 
    • OBD Now Terminal
    • Android 應用程式: 通訊  由: GLM Software
    • 免費   
    • 清單: 0 + 0   排名: 0   評測: 0
    • 點數: 0 + 0   版本: 2.26   OBD Now Terminal for Android devices is similar to programs such as Hyper Terminal or Tera Term for Windows computers. The major difference is OBD Now Terminal is already preconfigured
        ⥯ 
    • dataplicity - Terminal for Pi
    • Android 應用程式: 通訊  由: MachineForest
    • 免費   
    • 清單: 0 + 0   排名: 0   評測: 0
    • 點數: 0 + 1,373 (4.3)   版本: 3.326.1   Remotely access your Raspberry Pi shell from any network without dynamic DNS, portforwarding or VPN. For more information, visit https://www.dataplicity.com/ * DOES IT WORK BEHIND NAT?
        ⥯ 
    • Peace-App
    • Android 應用程式: 通訊  由: Bit-Verse
    • 免費   
    • 清單: 0 + 0   排名: 0   評測: 0
    • 點數: 0 + 0   版本: 1.1.0   In a world like ours, where times are fast-moving and interrelationships are becoming more complex. In which many decisions are made in a short time. Some have small effects, some have
        ⥯ 
    • BensinPris
    • Android 應用程式: 通訊  由: Bit Factory
    • 免費   
    • 清單: 0 + 0   排名: 0   評測: 0
    • 點數: 0 + 1,578 (2.7)   版本: 4.0.3   Note! If you are experiencing trouble with this update, simply uninstall the previous version before updating! BensinPris gives you daily fuel prices in Norway. This is a community ...
        ⥯ 
    • Lynx Alerts
    • Android 應用程式: 通訊  由: Micro Technology Services, Inc.
    • 免費   
    • 清單: 0 + 0   排名: 0   評測: 0
    • 點數: 0 + 0   版本: 1.4.32   Lynx is a network-based duress and mass notification system. Utilizing an extensive catalog of input and output devices, the Lynx system can maximize situational awareness for ...
        ⥯ 
    • BD Net-Minutes Bundles
    • Android 應用程式: 通訊  由: Micro Toolkit
    • * 免費   
    • 清單: 0 + 0   排名: 0   評測: 0
    • 點數: 0 + 0   版本: 1.11   BD Net-Minutes Bundles Your Ultimate Companion for Bangladeshi Mobile Internet Packages BD Net-Minutes Bundles is a lightweight, user-friendly Android application designed specifically
        ⥯ 
    • trx-control
    • Android 應用程式: 通訊  由: micro systems
    • 免費   
    • 清單: 0 + 0   排名: 0   評測: 0
    • 點數: 0 + 0   版本: 1.1.9   trx-control is not a standalone app. It requires a trx-control(7) installation with a running trxd(8) daemon that has WebSockets enabled. The app connects to trxd(8) using a WebSockets
        ⥯ 
    • School Update
    • Android 應用程式: 通訊  由: bit media education solutions GmbH
    • 免費   
    • 清單: 0 + 0   排名: 0   評測: 0
    • 點數: 0 + 0   版本: v5.3.0   The secure and smart communication solution for schools - available as a web application and as a mobile app! SchoolUpdate for smartphone and PC, as a mobile app and web application ...
        ⥯ 
    • SecurLine by Privus
    • Android 應用程式: 通訊  由: Bit Armor
    • 免費   
    • 清單: 0 + 0   排名: 0   評測: 0
    • 點數: 0 + 0   版本: 441f479e526a6add1bd2ffbd26ac9072552e7635   SecurLine by Privus is the most advanced, secure and transparent HD quality voice/video/conferencing/group chat/file sharing encryption app, now with Post Quantum encryption by ...
        ⥯ 
    • NumFilter
    • Android 應用程式: 通訊  由: Bit Art
    • 免費   
    • 清單: 0 + 0   排名: 0   評測: 0
    • 點數: 0 + 0   版本: 1.1.1   This app allows you to identify bogus and scam phone numbers. You can also add a number that you believe to be a scam number to make other people aware from that number. Identify who ...
        ⥯ 

你可能還喜歡

可搭配 AppAgg 使用的搜尋運算子
添加到 AppAgg
AppAgg
立即免费注册
註冊
登入