BLEUart | Introducing The Adafruit Bluefruit LE UART Friend
Maybe your like
- Introduction
- Pinouts
- Assembly
- Wiring
- Factory Reset
- DFU Updates
- Current Measurements
- Software
- Configuration!
- ATCommand
- BLEUart
- HIDKeyboard
- Controller
- HeartRateMonitor
- UriBeacon
- HALP!
- Data Mode
- Command Mode
- Standard AT
- General Purpose
- Hardware
- Beacon
- BLE Generic
- BLE Services
- BLE GAP
- BLE GATT
- Debug
- History
- GATT Service Details
- UART Service
- Software Resources
- BLE FAQ
- Device Recovery
- Downloads
- Single page
- Feedback? Corrections?
- Text View
-
Adafruit Bluefruit LE UART Friend - Bluetooth® Low Energy $17.50 Add to Cart -
FTDI Serial TTL-232 USB Cable $19.95 Add to Cart
BLEUart
The BLEUart example sketch allows you to send and receive text data between the Arduino and a connected Bluetooth Low Energy Central device on the other end (such as you mobile phone using the Adafruit Bluefruit LE Connect application for Android or iOS in UART mode).
Opening the SketchTo open the ATCommand sketch, click on the File > Examples > Adafruit_BluefruitLE_nRF51 folder in the Arduino IDE and select bleuart_cmdmode:
This will open up a new instance of the example in the IDE, as shown below:
Configuration Check the Configuration! page earlier to set up the sketch for Software/Hardware UART or Software/Hardware SPI. The default is hardware SPI
If using software or hardware Serial UART:
- This tutorial does not need to use the MODE pin, make sure you have the mode switch in CMD mode if you do not configure & connect a MODE pin
- Don't forget to also connect the CTS pin on the Bluefruit to ground if you are not using it! (The Flora has this already done)
Once you upload the sketch to your board (via the arrow-shaped upload icon), and the upload process has finished, open up the Serial Monitor via Tools > Serial Monitor, and make sure that the baud rate in the lower right-hand corner is set to 9600 (if an issue, try 115200):
Once you see the request, use the App to connect to the Bluefruit LE module in UART mode so you get the text box on your phone
Any text that you type in the box at the top of the Serial Monitor will be sent to the connected phone, and any data sent from the phone will be displayed in the serial monitor:
You can see the incoming string here in the Adafruit Bluefruit LE Connect app below (iOS in this case):
The response text ('Why hello, Arduino!') can be seen below:
Page last edited March 08, 2024
Text editor powered by tinymce.
ATCommand HIDKeyboard Related Guides Bluefruit LE Connect for iOS and Android By Collin Cunningham intermediate Bluefruit LE Python Library By Tony DiCola beginner Your browser does not support the video tag. This links to the guide Bluetooth-Controlled NeoPixel Goggles. Bluetooth-Controlled NeoPixel Goggles By Phillip Burgess intermediate Build a Bluetooth App using Swift 5 By Trevor Beaton advanced Your browser does not support the video tag. This links to the guide Sending Live Sensor Data to iOS with BLE. Sending Live Sensor Data to iOS with BLE By Todd Treece beginner Adafruit 1.14" 240x135 Color Newxie TFT Display By Liz Clark beginner Adafruit MLX90640 IR Thermal Camera By Kattni Rembor beginner Your browser does not support the video tag. This links to the guide Face Tracking Robot with MEMENTO. Face Tracking Robot with MEMENTO By Brent Rubell intermediate reef-pi Guide 5: Light Controller By Ranjib Dey intermediate Adafruit NeoPixel Breakout By Liz Clark beginner Adafruit ENS161 MOX Gas Sensor By Liz Clark beginner New Ice Tube Clock Kit By lady ada intermediate Adafruit ATWINC1500 WiFi Breakout By lady ada intermediate Which CircuitPython Board is Right for You? By Kattni Rembor beginner Adafruit DS3502 I2C Digital Potentiometer By Bryan Siepert beginnerCreate Wishlist
× Title Description Close Search SearchCategories
Tag » Arduino Ble Uart Example
-
UART/Serial Port Emulation Over BLE Protocol - Arduino Forum
-
Connecting Two Nano 33 BLE Boards Through UART
-
Uberi/Arduino-HardwareBLESerial - GitHub
-
HardwareBLESerial - Arduino Library List
-
BLE Warm Up #1 | IoT With Arduino
-
BLE UART On ESP32 Controller
-
BLE UART Communication Between ESP32-S3 (arduino ... - YouTube
-
Using Timer With Usbd Ble Uart Example - Nordic Q&A
-
BLE – BLE UART Service – Realtek IoT/Wi-Fi MCU Solutions
-
Arduino Bluefruit LED On/Off BLE - Evothings
-
Tutorial - Using HC06 Bluetooth To Serial Wireless UART Adaptors ...
-
Truyền Thông Giữa Smartphone Và PC Với “UART Over BLE” | Cộng ...
-
ESP32/Arduino BLE UART Client Connect To Raspberry Pi Pico ...
-
Truyền Thông Giữa Smartphone Và Máy Tính Qua “UART Over BLE”
Bluefruit LE Python Library By
Build a Bluetooth App using Swift 5 By
Adafruit 1.14" 240x135 Color Newxie TFT Display By
Adafruit MLX90640 IR Thermal Camera By
Adafruit NeoPixel Breakout By
Adafruit ENS161 MOX Gas Sensor By
Ice Tube Clock Kit By
Adafruit ATWINC1500 WiFi Breakout By
Which CircuitPython Board is Right for You? By
Adafruit DS3502 I2C Digital Potentiometer By