BLE Warm Up #1 | IoT With Arduino
Maybe your like
Task Goal:
To transfer strings back and forth between the BLE app on our mobile and our Laptop, through the Feather Bluefruit-LE board.
Source Code:
In this part, we will use the Adafruit's library and code examples, but since the next part is customized, please use the code in the folder named: part_7_ble
Instructions:
-
Compile the code and upload it to your board. After uploading process is done, open serial Monitor when it is done. (It shall look like picture-1).
-
Make sure your Bluetooth is ON on your mobile phone.
-
Open the Bluefruit-LE app on your mobile, and search for your device. It shall have the name “Adafruit Bluefruit LE” (like all other devices in our workshop). you can identify your device by it’s RSSI. it shall be the strongest, and RSSI shall get stronger when the mobile phone is closer to your device. If you can’t recognize your device, please see the troubleshooting section below (last part of this part).
-
Connect to your device, by pressing the gray “connect” button (see picture-2).
-
A menu with a few options will open, press “UART” (see picture-2). It will take a few seconds to connect, If the connection failed, repeat steps 3-5. When the connection is established, a blue let will light up on the Bluefruit-LE board.
-
Now you will be able to send text over the BLE-UART, type “Hello Bluefruit!” and press “Send” (see picture-2). The text shall be displayed on the Arduino serial monitor screen (see picture-3).
-
Write “Hello <your name>!” (for example: “Hello Dafna!”) in the Arduino serial monitor and press “Send”. The text shall be displayed on the Bluefruit-LE Mobile Application (see picture-3).
Screenshots of the Process:
Tag » Arduino Ble Uart Service
-
UART Service | Adafruit Bluefruit LE Shield
-
UART/Serial Port Emulation Over BLE Protocol - Arduino Forum
-
Connecting Two Nano 33 BLE Boards Through UART
-
BLE – BLE UART Service – Realtek IoT/Wi-Fi MCU Solutions
-
Uberi/Arduino-HardwareBLESerial - GitHub
-
Esp32-snippets/BLE_o At Master - GitHub
-
BLE UART On ESP32 Controller
-
Client And Server Applications - Seeed Wiki
-
ESP32/Arduino BLE UART Client Connect To Raspberry Pi Pico ...
-
How To Send Uart Data Over Ble With Nrf52840 Dongle - Nordic DevZone
-
Arduino Bluefruit RF Data Gatherer Example - Evothings
-
Truyền Thông Giữa Smartphone Và PC Với “UART Over BLE” | Cộng ...
-
Esp32-c3 Ble-uart : How To Transmit More Than 20 Bytes In Payload