Questions tagged [ble]

Stands for "Bluetooth Low Energy." BLE (also "Bluetooth LE") is a variation of the Bluetooth wireless standard designed for low power consumption. It was introduced by the Bluetooth Special Interest Group (Bluetooth SIG) in December 2009 as part of the Bluetooth 4.0 specification.

Filter by
Sorted by
Tagged with
0 votes
0 answers
54 views

Setting flag for sending data through advertisements using hm-10 mlt bt05 and arduino uno

I have succesfully connected to my hm-10 device and started configuring it using AT commands. I would like to know if it is possible to modify the data sent in advertisement and read it on another hm-...
stamley's user avatar
0 votes
0 answers
28 views

What library does the Beetle BLE utilize for BLE commands?

I am trying to pair two gloves containing beetle BLE's on each, one set to a peripheral role and one to central to control leds for kids' party jewelry. The Arduino.BLE library does not work with this ...
Stephen Terry's user avatar
2 votes
0 answers
295 views

Send large file over BLE with ESP32 Wrover B

I have been able to get a large file to be sent in packages over BLE to a characteristic on my ESP32-Wrover-B module (yay!). However, these files can be large (+300kb) so I need to repackage them ...
NRav's user avatar
  • 225
3 votes
1 answer
142 views

MacBook + BLE Microcontroller Incompatibility?

I've programmed an Adafruit Feather nRF52840 board to send MIDI signals to my computer via BLE. I can confirm that the board pairs successfully with an Android phone and a Windows PC, but my laptop (...
carsoap's user avatar
  • 31
1 vote
1 answer
119 views

MKR 1010 WIFI Built-in RGB LED not working with BLE

in addition to the standard LED_BUILTIN, MKR 1010 WIFI comes with a built-in RGB LED. This RGB LED fails when used along the on-board BLE, no matter what program sequence I test. To reproduce the ...
Nino's user avatar
  • 411
1 vote
0 answers
75 views

how to config size USB mass storage arduino nano ble 33?

I see that they arduino nano ble 33 support USB 2.0. Is there a way for us to create a USB mass storage of about 200kb for convenient storage of configuration files and history files? I see example ...
Nguyễn Thuận Hải's user avatar
1 vote
0 answers
131 views

How to query data from my ELM327 via BLE?

I have a HM-10 module connected to my Arduino Nano that I want to use to get data from a ELM327 OBDII. I have been able to successfully connect to the ELM327 via: AT AT+RESET AT+BAUD2 AT+ROLE1 AT+...
leopardxpreload's user avatar
2 votes
0 answers
49 views

BLE disconnect during code "pause"

I have a code that should pause the script for a specific time (x_time). if x_time is above 30-40 sec the BLE connection to the android phone is lost. Any suggestions on how to avoid the lost ...
Masilila's user avatar
  • 121
1 vote
1 answer
278 views

ESP32 - BLE does not connect/restart after light sleep

noob in arduino here. I'm trying to connect via BLE after the ESP32 wakeups from light sleep. I have tried many different things, but none of them work. Everything works fine before the device sleeps ...
deniswsrosa's user avatar
1 vote
0 answers
33 views

Connecting HM-10 and relay to Arduino Uno

I have an 8 channel relay, an Arduino Uno, and this HM-10 bluetooth module: https://www.amazon.com/dp/B06WGZB2N4 The Goal Send a number (1-8) from my Android phone via bluetooth to turn a relay on. ...
badhorsebadhorse's user avatar
0 votes
1 answer
502 views

How to get the scan duration below 1sec with Arduino BLE?

I want to scan continuously for other Bluetooth devices with my ESP32 using BLE. The scan method only accepts integers larger than 0, such as scan->start(1, false). However I want the results to be ...
Philipp's user avatar
  • 109
0 votes
1 answer
82 views

How does a callback function get revoke itself eg. Connect function get revoked when there is new connection

Further to my previous question here Can anyone help me understand how the callback function gets revoked itself? The connect function, disconnect function. BLE custom UUID code source here Another ...
Just doin Gods work's user avatar
1 vote
1 answer
347 views

nRF52832 BLE "conn_handle" to disconnect the current connected devices

I'm working on nRF52832 Bluefruit Adafruit Module. I want the BLE connection to disconnect using a function and can call whenever required. But the issue is the disconnect function needs "...
Just doin Gods work's user avatar
0 votes
0 answers
453 views

String of raw data to Char Hex Array for Bitmap

I'm trying to transfer a monochrome ~4kb image file over WebBT to an ESP32 via BLE. The EPD display looks for an unsigned char array to represent a bitmap. So..it should be in the format of something ...
user2402616's user avatar
0 votes
1 answer
814 views

How to get the name of connected device over BLE?

I am implementing a BLE peripheral in my firmware with Arduino ESP32. When the central gets connected to it, I'd like to log the name of the central & its address. How can I do that? #include <...
Stéphane de Luca's user avatar
1 vote
0 answers
34 views

How do I use BLE module and RFM69 module together?

I am trying to use an Adafruit BLE module and an RFM69 module on the same Arduino. The higher-level functions in each included library (Adafruit_BLE.h, RFM69.h) both use the SPI.h library to talk to ...
RGB Engineer's user avatar
1 vote
0 answers
162 views

Is there any way to secure Esp32 BLE server?

I've got a project in which currently I am using Bluetooth classic (with SSP - Simple secure pairing) to communicate to my esp32 board with my android app, but Bluetooth classic serial communication ...
Piyush's user avatar
  • 111
1 vote
1 answer
288 views

ESP32 stack error when reading from BLE device

I'm using this code here to read data from a BLE thermometer using an ESP32. The code sometimes works fine and i can get the data: + Connect : a4:c1:38:69:0c:ff * Connected a4:c1:38:69:0c:ff + Found ...
teemo96's user avatar
  • 11
1 vote
2 answers
2k views

Arduino library or code for ESP32 to scan for Bluetooth devices?

Is there some code or library that would allow me to scan for nearby Bluetooth devices using a common ESP32 board ? I only found similar code for actual Arduino boards.
adrianTNT's user avatar
  • 252
1 vote
1 answer
305 views

ESP32 BLE service not visible to Node-RED

I've been trying to host a BLE-server on my ESP32 with a custom service. I'm trying to read the service data in NodeRED, but the service IDs and custom characteristics don't show up in NodeRED ...
Boyfinn's user avatar
  • 95
0 votes
1 answer
173 views

Leonardo with hm-10 doesn't work

I have a hm-10 module attached to Arduino Leonardo board, I'm using a bluetooth terminal app to send some text. The problem is I can send data from the Serial monitor to my phone but when I send from ...
jason8098's user avatar
1 vote
0 answers
88 views

configuring characteristics to communicate data on the Arduino bluetooth low enegy module

I have the HM-10 Arduino BLE module. I am also building an app to send and read characteristics on the BLE module. On the Arduino BLE side of things though, how do I set up which characteristic ...
Ahmed Anwer's user avatar
1 vote
0 answers
816 views

Set Value for a characteristic fails using BLE ESP32

I'm working on a project that uses a Raspberry pi to trigger a microcontroller to read data from an accelerometer for some amount time then have that data available for the RPi to read it over BLE. I ...
A.Choules's user avatar
1 vote
0 answers
128 views

How to get the value of a measurement transmitted by a BLE device?

I would like to use a BLE temperature sensor (such as the Inkbird IBS-TH1 Mini BLE Sensor), however, I want to be able to display the temperature measurements in my own website. To do this I am ...
Nina's user avatar
  • 175
1 vote
1 answer
378 views

BLE library for Beetle Bluno BLE with AVR architecture (Atmega328)

When I try to #include <ArduinoBLE.h> in my Arduino program, I get the error: WARNING: library ArduinoBLE claims to run on samd, megaavr, mbed, apollo3, mbed_nano, mbed_portenta architecture(s) ...
human's user avatar
  • 129
2 votes
0 answers
756 views

Send/Stream BLE (Bluetooth Low Energy) data with high data rate with Arduino

My project is to transfer an image wirelessly via BLE from my Sparkfun EDGE board using the Arduino IDE to another laptop. In the following, for simplicity, I have reduced the program to transmit ...
Bene Gesserit's user avatar
1 vote
0 answers
750 views

Using BLE via NRF24L01 to communicate with Android phone

I have been going through a tutorial about this, based on the example code for the "BTLE" Arduino Library. This is my program: #include <SPI.h> #include <RF24.h> #include <...
Thomas Hirsch's user avatar
1 vote
1 answer
366 views

AT 09 BLE module not transmitting data

I have recently started working with the Arduino Pro Mini 5v/16Mhz and an AT 09 BLE module for an IoT project. I am controlling the BLE module using Software Serial and am leaving the hardware serial ...
Flight64's user avatar
1 vote
0 answers
134 views

Arduino 33 Nano BLE Sense not compatible with pulseIn()?

Preface Currently, I'm making an application on a Arduino 33 Nano BLE Sense. I'm trying to measure the current humidity and send it via BLE to another device. The target is to send a precise value ...
fuggerjaki61's user avatar
1 vote
1 answer
1k views

Problems with Hardware Serial (UART) on Nano 33 BLE Sense

my new Nano 33 BLE Sense arrived today. I'm working on a project to send data from the the Nano via an Xbee S2C module to a receiver module connected to a Nano 33 IoT. I had the project working ...
RobM's user avatar
  • 41
2 votes
0 answers
529 views

Send sensor data through GATT with Adafruit Bluefruit

I have the BLE Module Adafruit ItsyBitsy nRF52840 Express and I want to send sensor values from a Hallsensor to my computer. I was able to have the right data checking with the Serial monitor. int ...
Hanuman's user avatar
  • 21
3 votes
0 answers
1k views

BLE HM10 - Set Password - Android Pairing Problem

I have developed an application on Android, which connects to a Bluetooth HM10, launches commands, and turns LEDs on and off through my Arduino. All of this works properly. So, I want to make ...
Javier's user avatar
  • 141
1 vote
0 answers
114 views

Problem with sending sound sensor data to app using ESP32 over BLE_UART

I was working on Adafruit Electret Microphone Amplifier - MAX4466 with Adjustable Gain and ESP32. I want to send data to an app using BLE UART I have printed data to the serial monitor or serial ...
Rajbir's user avatar
  • 17
1 vote
1 answer
634 views

Arduino Mega 2560 + BLE HM-10 - I cannot execute AT commands

I have an Arduino Mega 2560 and a HM10 Bluetooth module (this one) I have connected the Bluetooth according to the manufacturer's specifications: VCC -> 5v GND -> GND TXD and RXD of the ...
Javier's user avatar
  • 141
0 votes
1 answer
52 views

What are the Arduino hardware options for experimenting with IoT?

Just starting to learn about Arduino and IoT. I'd like to know what the Arduino hardware options are to try the following: Use FreeRTOS as SO WiFi and BLE connectivity Solderless board Test OTA ...
Alexandre's user avatar
0 votes
2 answers
1k views

Arduino nano IoT antenna broke

I have an Arduino Nano 33 IoT and have used it for a good time now. I was using it when the antenna snapped off. Is there any way to fix it by either an external antenna or some other method? I tried ...
DragonflyRobotics's user avatar
1 vote
0 answers
268 views

Unable to correctly read CSC GATT data with ArduinoBLE on a Arduino Nano 33 IOT

I've set up a Nano 33 IOT as a central device and I'm attempting to read the data from a Cycling speed and cadence BLE device. The spec for the CSC Gatt service I want is: https://www.bluetooth.com/wp-...
Brian's user avatar
  • 119
2 votes
0 answers
82 views

How can I rewrite my Bluetooth Classic Arduino code into Bluetooth Low Energy Arduino code (and have everything working the same)

My original code for BT Classic My Work in Progress BLE Code I am trying to take all I did in BT Classic and have it working exacly the same in BLE but the Rssi keeps returning 0's in the BLE code and ...
Melody April's user avatar
1 vote
1 answer
322 views

How to use HM-10 as client, and send messages to specific services/characteristics?

I have been messing around with this module, unfortunately i bought a fake one, but got the original firmware running inside it (V550). So far i can set the HM-10 up as client/master and by using an ...
Souza's user avatar
  • 111
1 vote
1 answer
786 views

Raspberry Pi 3B+ BLE communication to Arduino Nano 33 IOT

I have an Arduino Nano 33 IOT and it uses BLE. I want it to talk to my Pi 3B+ and send all of its sensor data. I cannot figure out a way to do it using Python for the Pi and ArduinoBLE library for my ...
DragonflyRobotics's user avatar
1 vote
0 answers
479 views

CC2541 Bluetooth AT Commands not work for any Commands sended from Serial

i bought the HM 10 Bluetooth controller (CC2541), i got connect on this device through Serial Bluetooth Terminal (Android App) with Serial BLE menu this method not requires any pass and "...
luke cross's user avatar
1 vote
0 answers
193 views

Get client information on BLE

So I'm working on a personal project using bluetooth abilities to start a BLE server and want to automatically retrieve a client's information after it's connected: ID so I can keep track of clients, ...
Alucard's user avatar
  • 113
0 votes
2 answers
1k views

ESP32 start BLE after deep sleep

I'm new to using the esp32 as a microcontroller. I'm currently working on a so-to-say remote control. Since I want to use the esp32 with an external battery I need to put it in deep-sleep after I ...
hGen's user avatar
  • 101
1 vote
1 answer
159 views

Sending Strings from NRF24L01 to app

I want to send pushbutton status from the nrf24l01 module to the app named nrfConnect. I could only find libraries that allow me to send float values. How could I send String values to the app? Thank ...
Kithmi Abeykoon's user avatar
0 votes
1 answer
478 views

Write a Struct using ArduinoBLE library

Hello I'm trying to send some Structs such as: typedef struct __attribute__ ((__packed__)) myohw_command_set_mode { myohw_command_header_t header; ///< command == myohw_command_set_mode. ...
Sicks's user avatar
  • 3
2 votes
2 answers
2k views

Antenna for ESP32-pico-d4

I am currently playing a bit around with the esp32-pico-4d, it does not have an onboard antenna, so an external antenna is needed, tho I don't know a lot about it so a little help would be appreciated....
Marius Wanscher's user avatar
1 vote
1 answer
161 views

Arduino Atmega32U with nRF51 BLE by Adafruit limited to 5 second update rate?

Would like to ask for assistance with the code below. It's the Adafruit Bluefruit Atmega32U LE module with Adafruit's Arduino IDE example "heart-rate monitor" sketch. The code uses the hardware SPI ...
TommyS's user avatar
  • 71
1 vote
0 answers
2k views

HM-10 controller is not responding to AT commands

I recently purchased new HM-10 module, because old one was clone and it lacks AT+TYPE command. I connected it to my Arduino and I don't know why but I cant see any response in SerialMonitor. I even ...
martin1337's user avatar
1 vote
1 answer
2k views

HM-10 BLE controller is not responding to some AT commands

I have HM-10 BLE controller and it is not responding to some AT commands which I need to use. AT commands which don't work: AT+TYPE2 returns +TYPE=0 AT+VERR? not responding AT+VERS? not ...
martin1337's user avatar
1 vote
0 answers
196 views

Subscribing to Bluefruit LE Friend with ArduinoBLE not working

I've been using an Arduino Nano 33 BLE to communicate with my PC over the BlueFruit LE Friend's UART characteristic. Using the default ArduinoBLE library, I'm able to connect to the BlueFruit from the ...
willtmakinen's user avatar