Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
-1 votes
0 answers
19 views

Unable to BLE OTA update my firmware on ESP32 WROVER 16MB

I added support for BLE OTA update to my ESP32 WROVER 16MB flash Arduino based firmware. But I get the invalid segment length associated with a huge value 0x15abba12 as follows: E (934173) esp_image: ...
user avatar
1 vote
0 answers
18 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 ...
user avatar
1 vote
0 answers
67 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 ...
user avatar
  • 111
1 vote
0 answers
73 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 ...
user avatar
  • 11
0 votes
1 answer
387 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.
user avatar
  • 242
1 vote
1 answer
103 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 ...
user avatar
  • 95
0 votes
1 answer
74 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 ...
user avatar
1 vote
0 answers
33 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 ...
user avatar
1 vote
0 answers
196 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 ...
user avatar
1 vote
0 answers
87 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 ...
user avatar
  • 177
0 votes
1 answer
118 views

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

When I try #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) and ...
user avatar
  • 111
2 votes
0 answers
248 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 ...
user avatar
1 vote
0 answers
310 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 <...
user avatar
1 vote
1 answer
113 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 ...
user avatar
1 vote
0 answers
59 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 ...
user avatar
1 vote
1 answer
622 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 ...
user avatar
  • 41
2 votes
0 answers
216 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 ...
user avatar
  • 21
1 vote
0 answers
411 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 ...
user avatar
  • 121
1 vote
0 answers
76 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 ...
user avatar
  • 19
1 vote
1 answer
292 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 ...
user avatar
  • 121
0 votes
1 answer
47 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 WI-FI and BLE connectivity Solderless board Test OTA ...
user avatar
0 votes
2 answers
561 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 ...
user avatar
1 vote
0 answers
125 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-...
user avatar
  • 119
2 votes
0 answers
63 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 ...
user avatar
1 vote
1 answer
148 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 ...
user avatar
  • 111
1 vote
1 answer
491 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 ...
user avatar
1 vote
0 answers
231 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 "...
user avatar
1 vote
0 answers
46 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, ...
user avatar
  • 113
0 votes
1 answer
652 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 ...
user avatar
  • 101
1 vote
1 answer
110 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 ...
user avatar
0 votes
1 answer
187 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. ...
user avatar
  • 3
0 votes
2 answers
923 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....
user avatar
1 vote
1 answer
103 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 ...
user avatar
  • 69
0 votes
0 answers
705 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 ...
user avatar
1 vote
1 answer
985 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 ...
user avatar
1 vote
0 answers
114 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 ...
user avatar
1 vote
0 answers
91 views

Bluetooth multithreading

I'm using my Arduino to make a speaker-like device. Instead of sound, it receives the beat of the song, thus the data comes in an array of floats. Each item in the array is a timestamp, an LED is ...
user avatar
0 votes
1 answer
2k views

Send/receive data from/to Raspberry Pi to/from Arduino with HM-10 (Bluetooth LE module)

My goal is to send a string from an Arduino via an HM-10 bluetooth module to a Rasperry Pi. I do this today by connecting the HM-10 on the Arduino to another HM-10 module (master/slave) and then from ...
user avatar
  • 119
0 votes
1 answer
72 views

How to connect RedBearLab BLE shield (Or how to find Nordic_nRF8001.h)?

I am trying to explore the possibilities of connecting an Arduino to Phonegap/Cordova. I have a RedBearLab BLE Shield, which I want to test the connection with. My MVP would be to get the value of a ...
user avatar
1 vote
0 answers
2k views

Connect more than 4 BLE clients to ESP32 BLE Server

I want to create some buzzers connected via bluetooth for a quiz show. I got several ESP32. One of them is the master (BLE Server), the other ESP32s are the buzzers (BLE Clients) with one big button ...
user avatar
  • 13
2 votes
0 answers
328 views

Error compiling for board Arduino Nano 33 BLE

I am trying to use pulse sensor with Arduino Nano 33 BLE sense, but when I verify it, it shows Error compiling for board Arduino Nano 33 BLE. The code is from the pulse sensor website. The code works ...
user avatar
1 vote
0 answers
146 views

How to quit flash mode on HM-10?

I have an HM-10 BLE module connected to Arduino Leonardo. It forwards UART from my computer: #define btSerial Serial1 void setup() { Serial.begin(9600); while (!Serial) { delay(50); ...
user avatar
  • 71
-1 votes
1 answer
411 views

HM-10 doesn't responde after RENEW

Today I finally got two HM-10 modules. I did flash firmware using this tutorial. It worked until I didn't send AT+RENEW command. Now, LED blinks, I see device in BT terminal(Android phone) but I can't ...
user avatar
  • 213
1 vote
0 answers
35 views

How do I get my servo to turn using bluetooth, is this a glitch?

I'm very new to coding with arduino so please excuse my naivety, For an electronics assignment I am making a servo turn back and forth using a HM10 BLE however each time I press a button that sends '0'...
user avatar
  • 11
0 votes
1 answer
780 views

Arduino MKR 1010 WiFi as BLE central/client

I'm trying to use my new Arduino MKR 1010 WiFi as a Bluetooth Low Energy central/client, however I could only find information on how to use it as a peripheral/server (for example with the ArduinoBLE ...
user avatar
  • 103
2 votes
0 answers
409 views

esp32 and the esp32-cam (agoal)

Is it considered possible to use the esp32 code on an esp32 cam board? Do they use the same hardware? I am having difficulty using this sketch https://gist.github.com/wybiral/...
user avatar
1 vote
0 answers
152 views

BLE splitting string data

I am working with BLE 4.2 (ESP32) that sends IMU (accel, gyro, mag) data to my mobile app (Android). Unfortunately, I can send only 20 bytes in one packet. This is the code I have: (I am connecting ...
user avatar
0 votes
1 answer
500 views

How do I send non-ASCII keys over the BLE HID connection using an Adafruit nRF52 Feather?

The hid_keyboard example sketch shows how to send ASCII characters, but how can I send non-ASCII codes like the F1 key, or keys with shift/control modifiers?
user avatar
  • 1,450