Arduino UNO R4 - DIYables Bluetooth App Table
Overview
The Bluetooth Table example provides structured data display through the DIYables Bluetooth STEM app. Designed for Arduino UNO R4 WiFi using BLE (Bluetooth Low Energy) to display sensor readings, system status, and any data in a clean table format on your smartphone. Supports named rows with real-time value updates. Perfect for dashboards, system monitoring, and multi-sensor displays.
Note: The Arduino UNO R4 WiFi only supports BLE (Bluetooth Low Energy). It does not support Classic Bluetooth. The DIYables Bluetooth App supports both BLE and Classic Bluetooth on Android, and BLE on iOS. Since this board uses BLE, the app works on both Android and iOS.

Features
- Named Rows: Define rows with labels (e.g., "Temperature", "Humidity")
- Real-Time Updates: Push individual value updates efficiently
- Structure Sync: Auto-send table structure on connection
- Flexible Data: Display any string or numeric data
- Up to 20 Rows: Support for multiple data fields
- Works on Android & iOS: BLE is supported on both platforms
- No Pairing Required: BLE auto-connects without manual pairing
Hardware Preparation
Or you can buy the following kits:
| 1 | × | DIYables STEM V4 IoT Starter Kit (Arduino included) | |
| 1 | × | DIYables Sensor Kit (30 sensors/displays) | |
| 1 | × | DIYables Sensor Kit (18 sensors/displays) |
Additionally, some of these links are for products from our own brand, DIYables .
Arduino UNO R4 WiFi Code
Detailed Instructions
Follow these instructions step by step:
- If this is your first time using the Arduino UNO R4 WiFi, refer to the Arduino UNO R4 WiFi getting started guide.
- Connect the Arduino UNO R4 WiFi board to your computer using a USB cable.
- Launch the Arduino IDE on your computer.
- Select Arduino UNO R4 WiFi board and the appropriate COM port.
- Navigate to the Libraries icon on the left bar of the Arduino IDE.
- Search "DIYables Bluetooth", then find the DIYables Bluetooth library by DIYables
- Click Install button to install the library.

- You will be asked for installing some other library dependencies
- Click Install All button to install all library dependencies.

BLE Code
- On Arduino IDE, Go to File Examples DIYables Bluetooth ArduinoBLE_Table example, or copy the above code and paste it to the editor of Arduino IDE
- Click Upload button on Arduino IDE to upload code to Arduino UNO R4 WiFi
- Open the Serial Monitor
- Check out the result on Serial Monitor. It looks like the below:
Mobile App
Note: The DIYables Bluetooth App supports both BLE and Classic Bluetooth on Android, and BLE on iOS. Since the Arduino UNO R4 WiFi uses BLE, the app works on both Android and iOS. No manual pairing is needed for BLE — just scan and connect.
- Open the DIYables Bluetooth App
- When opening the app for the first time, it will ask for permissions. Please grant the following:
- Nearby Devices permission (Android 12+) / Bluetooth permission (iOS) - required to scan and connect to Bluetooth devices
- Location permission (Android 11 and below only) - required by older Android versions to scan for BLE devices
- Make sure Bluetooth is turned on on your phone
- On the home screen, tap the Connect button. The app will scan for BLE devices.

- Find and tap "Arduino_Table" in the scan results to connect.
- Once connected, the app automatically goes back to the home screen. Select the Table app from the app menu.

Note: You can tap the settings icon on the home screen to hide/show apps on the home screen. For more details, see the DIYables Bluetooth App User Manual.
- You will see a table with rows showing Temperature, Humidity, Pressure, Counter, Uptime, Free Memory, and Status — all updating in real time

Now look back at the Serial Monitor on Arduino IDE. You will see:
Creative Customization - Adapt the Code to Your Project
Define Table Structure
Update Values
Send Table Structure
Programming Examples
Weather Station Dashboard
System Status Monitor
Troubleshooting
Common Issues
1. Cannot find the device in the app
- Make sure the Arduino UNO R4 WiFi is powered on and the sketch is uploaded
- Ensure your phone's Bluetooth is enabled
- On Android 11 and below, also enable Location services
2. Table is empty or rows not showing
- Ensure addRow() is called in setup() before connecting
- Implement the onDataRequest callback to re-send structure
- Verify sendTableStructure() is called
3. Values not updating
- Check that sendValueUpdate() is being called in the loop
- Verify the row name matches exactly (case-sensitive)
- Ensure bluetoothServer.loop() is called in every loop iteration
4. Row names don't match
- Row names are case-sensitive — "Temperature" ≠ "temperature"
- Use row index (0-based) as an alternative to row names
5. Upload fails or board not recognized
- Install the latest Arduino UNO R4 board package via Board Manager
- Try a different USB cable or port
Project Ideas
- Weather station dashboard
- System resource monitor
- Multi-sensor data display
- Device configuration panel
- IoT device status board
Next Steps
After mastering the Bluetooth Table example, try:
- Bluetooth Plotter - For graphical data visualization
- Bluetooth Monitor - For text-based interaction
- Bluetooth Temperature - For gauge-style display
- Multiple Bluetooth Apps - Combining table with other apps
Support
For additional help:
- Check the API Reference documentation
- Visit DIYables tutorials
- Arduino community forums