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
1answer
32 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.
1
vote
0answers
32 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 ...
0
votes
1answer
37 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 ...
1
vote
0answers
21 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 ...
1
vote
0answers
67 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 ...
1
vote
0answers
49 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 ...
0
votes
1answer
60 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 ...
2
votes
0answers
133 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 ...
1
vote
0answers
119 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 <...
1
vote
1answer
53 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 ...
1
vote
0answers
41 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 ...
1
vote
1answer
476 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 ...
1
vote
0answers
131 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 ...
1
vote
0answers
261 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 ...
1
vote
0answers
59 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 ...
1
vote
0answers
163 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 ...
0
votes
1answer
43 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 ...
0
votes
2answers
375 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 ...
1
vote
0answers
91 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-...
2
votes
0answers
46 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 ...
1
vote
0answers
92 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 ...
1
vote
1answer
360 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 ...
1
vote
0answers
134 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 "...
1
vote
0answers
30 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, ...
0
votes
1answer
504 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 ...
1
vote
1answer
92 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 ...
0
votes
1answer
120 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. ...
0
votes
2answers
698 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....
1
vote
1answer
89 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 ...
0
votes
0answers
378 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 ...
0
votes
0answers
814 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 ...
1
vote
0answers
93 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 ...
1
vote
0answers
77 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
59 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 ...
1
vote
0answers
1k 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 ...
1
vote
0answers
294 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 ...
1
vote
0answers
111 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); ...
-1
votes
1answer
327 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 ...
1
vote
0answers
33 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'...
0
votes
1answer
713 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 ...
2
votes
0answers
388 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/...
1
vote
0answers
145 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 ...
0
votes
1answer
434 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?