Battery Bluetooth Service
Jump to navigation
Jump to search
File:TArduinoBatteryBluetoothService.png
Summary
The **Battery Bluetooth Service** component provides a standard Bluetooth Low Energy (BLE) service for reporting device battery level. It can be used to share the remaining charge percentage with connected devices such as smartphones, tablets, or other BLE clients.
Description
This component implements the **Bluetooth Battery Service**, which is part of the standard BLE GATT profile. It allows monitoring of battery charge through an analog input and broadcasting this information over Bluetooth. A user description may also be provided to describe the service.
Diagram:
Properties
- Initial Value – Initial battery level value.
- User Description – Optional user description string for the service.
Pins
Input Pins
- In (analog) – Battery level analog input.
- Device (bluetooth) – Bluetooth device connection.
Categories
- File:TArduinoWirelessCategory.png Category Wireless – Wireless communication modules.
- File:TArduinoBluetoothCategory.png Category Bluetooth – Bluetooth-based components.
- File:TArduinoAnalogCategory.png Category Analog – Analog input/output components.