Skip to main content

Questions tagged [bluetooth]

Bluetooth enables short-range wireless communication between devices.

Filter by
Sorted by
Tagged with
4 votes
1 answer
221 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 (...
1 vote
1 answer
67 views

Which Bluetooth Module can I use with Arduino Micro?

I am building a HID (mouse) using Arduino Micro. I want the mouse to communicate with the PC wirelessly. I am wondering which Bluetooth module works for me either HC-05,06 or any other?
-1 votes
0 answers
20 views

Bluetooth Scan ESP32 and match with address without connecting

I want to do a bluetooth scan without connecting and matching the required Bluetooth address to the detected bluetooth addresses. However, I can't seem to get only the address numbers from the ...
-1 votes
0 answers
50 views

Data is sent in flutter but not received in HC-05 module

I have the following flutter code: void sendData() async{ print("Sending Data to hc 05 bluetooth"); int i=0; int contact1, contact2; Uint8List mobileData = Uint8List(4); if(...
3 votes
2 answers
694 views

Bluetooth communication not working with DC power but works with USB power?

I am running an HM-10 Bluetooth Low Energy (BLE) module to transmit serial data (using SoftwareSerial) from an analog sensor onboard my Arduino Uno to a serial terminal app on my Android phone. When I ...
6 votes
1 answer
6k views

Anyone have example code for ESP32 as media controller for Android/iPhone Media Apps

There's actually another post with this very same topic but no answers on that post. Back in January of 2020, the last commenter said he had sample code and then he went dark without posting the ...
1 vote
1 answer
2k views

Arduino + HC-05 Problem: AT Commands are not working

Device: Laptop, HC-05, Resistor 2.2k and 4.7k, Arduino Uno R3 So im trying to rename and change password of my HC-05. for full detail schematic diagram. Here(the difference is, i also used the STATE ...
1 vote
1 answer
30 views

Slider servo doesn't give the right output

#include <HCPCA9685.h> #include <Wire.h> #define I2CAdd 0x40 HCPCA9685 HCPCA9685(I2CAdd); String state = ""; int servo5Pos; int servo5PPos; void setup() { Wire.begin(); ...
0 votes
0 answers
77 views

How do I control a BLDC with greater precision using bluetooth?

I am building a quadcopter drone and I have 4 BLDC motors that I can control using an HM10 Bluetooth module and the "Dabble" application. My problem is that when I use a virtual joystick in ...
1 vote
1 answer
443 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) ...
0 votes
0 answers
234 views

Find MAC address of client connected to ESP32 Bluetooth SPP via esp32-Arduino Bluetooth serial library

Let's suppose I'm using Espressif's Arduino-esp32 Bluetooth Serial library with code similar to the following: #include "BluetoothSerial.h" // snip BluetoothSerial bts; bool firstTime = ...
0 votes
0 answers
26 views

Adafruit Datalogger and Bluefruit LE issues

I'm having issues using the Adafruit Bluefruit LE shield at the same time as the Adafruit Datalogger shield. I can use either shield independently without issue. When I stack the two, I can talk with ...
1 vote
1 answer
2k views

Adafruit nRF52 feather board [SOLVED]

I am working on a project (the scenario is depicted in the attachment) involving Bluetooth Low Energy (BLE). As a master (central device) I am using the Adafruit nRF52 feather board (https://learn....
-2 votes
1 answer
140 views

Matter protocol with Arduino Mega/Giga

I would like to try matter protocol with Arduino mega or Arduino giga. But I don't find any sample or library. I have only found libraries compatibles with ESP32. Do you know how I can work with ...
1 vote
1 answer
691 views

Arduino with HC-05 Bluetooth Module | No data will be transmitted

I've got an Arduino Uno (Elegoo R3) and a Hc-05 bluetooth module. First of all i want to send data with an android app (Bluetooth terminal) to the Arduino and turn pin 13 (LED) on. My Arduino code: #...
0 votes
0 answers
85 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-...
2 votes
3 answers
2k views

Web page using bluetooth?

I have a project where I read 2 sensors using an esp32 and also have an web server. I can connect using mobile phone and display the page where I see info about the sensors (using web sockets to ...
1 vote
0 answers
98 views

Bluetooth (HC_06) on the Attiny85

I'm trying to make a hc_06 Bluetooth controller work on the attiny85-20pu. In the end, I want to control a stepper motor through Bluetooth. But for now to keep it simple I'm searching for a working ...
3 votes
0 answers
1k views

Arduino Bluetooth upload problem HC-05 v4.0

I upload code into arduino nano using a self-made PCB with bluetooth using this method. I was initially using Arduino Nano (chinese Clone, the one with CH340G) and Bluetooth module HC-05 (version 3.0) ...
1 vote
2 answers
3k 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
2 answers
1k views

Wireless Bluetooth USB HUB using Arduino nano

I have the following problem/idea: I have a electronics workbench and a separate PC desk. Now I have a USB HUB on the workbench, but it doesn't properly work, because the USB-cable to the pc is too ...
1 vote
1 answer
375 views

having problems with my arduino bluetooth car project(with L298n Motor Driver)

so the scenario is i am making a bluetooth controlled car(voice control)+obstacle avoidance function.I am using Arduino UNO with L298n motor driver and a HC-05 BT module in the sensors i am using the ...
0 votes
1 answer
598 views

Control esp32 via keyboard keys

I'm making a project in which I have to control a mini car and get sensor information via bluetooth. I'd like to be able to control the mini car with the computers keyboard (w,a,s,d), but I was not ...
1 vote
0 answers
146 views

ESP32 - resetting BT(classic)-Discovery variables ends in memory chaos

I want to search for bt devices in each loop(), store them and query them one by one. This works fine so far. However, when I try to reset the corresponding variables, I get the following error: "...
2 votes
1 answer
130 views

Laser tripwire and LDR

I am planning to make a laser tripwire but I have an issue. Let me explain what I am trying to do: Making a laser tripwire is actually pretty easy at its core. You just need an LDR and a laser diode. ...
-1 votes
1 answer
2k views

TX, RX, ON, L LEDs were red at all time

Before seeing this error I did a project with my Uno board using a Bluetooth module. After that, when I powered the board to upload another program, 4 LEDs (L, TX, RX, ON) went red without blinking. ...
3 votes
1 answer
311 views

Arduino IDE equivalent to DataView?

I am working on a project with Bluetooth commands between various devices. I would like to try and convert a string to a DataView Object on Arduino, so I can send it over BLE, much like this function ...
1 vote
1 answer
510 views

Arduino communication to Raspberry Pi using HC-05

I'm using two HC-05 modules on two Arduino UNO boards. One of my modules connected successfully to a raspberry pi port. However the other doesn't want to connect, but sometimes it does and then ...
2 votes
0 answers
57 views

HC-08 Compatibility issues with iPhone

I am trying to connect my IPhone to an HC-08 Bluetooth module on an Arduino. The HC-08 is showing up in the new device section of android devices but it does not show up on an IPhone's Bluetooth ...
0 votes
2 answers
2k 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
0 answers
2k views

How to send big data (long string) from PC to Arduino using Bluetooth

One of the requirements of my projects is to send data from my application to the Arduino robot. I have windows 10, and my robot is Arduino Uno. The Bluetooth I'm using on my robot is HC-06. The app ...
1 vote
0 answers
248 views

Arduino Nano 33 BLE power consumption optimization

I am working on building a sensor using Arduino Nano 33 BLE that will measure temperature using two thermistors and angle changes. The measured values will be transmitted over Bluetooth to a ...
2 votes
3 answers
3k views

Writing a float to a BLE characteristic. What data format?

I am currently working on a python-based Bluetooth Low Energy client for OS X and I got stuck while trying to write a remote float characteristic value. First of all: my setup is an Arduino 101 with ...
1 vote
0 answers
277 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+...
2 votes
1 answer
223 views

How do I make the Arduino print on my Mac's Arduino IDE through Bluetooth?

This is a basic question, but I really have tried my best to find a solution on the internet to no avail. I have a fairly normal setup. HC05 module connected to an Arduino. The HC05 is also connected ...
0 votes
0 answers
115 views

HC-05 Disconnects Underwater(predictably). How to make it reconnect by itself?

So I have an application where I send a Bluetooth module underwater(in a waterproof case). I have the Arduino+module sending my computer on-land a constant stream of numbers. Predictably, when the ...
0 votes
1 answer
70 views

Bluetooth and another sketch

I uploaded a bluetooth sketch from IDE (File->Examples->Firmata->Standard Firmata) to Arduino Duo. Now if I have a sensor attached to this Arduino, I can use bluetooth from another device (Raspberry ...
3 votes
0 answers
720 views

ESP32 Bluetooth Master does not connect

I want to connect an ESP32 to a SMA Sunny Boy SB5000-TL Solar convertor over Bluetooth, but I cannot establish a connection and I'm kind of stuck. I use the internal bluetooth module of the ESP32. ...
3 votes
0 answers
331 views

HC05 and ELM327 NODATA sending PID codes

I am working on a project where I am using an HC05 connected to an Arduino to connect to an ELM327 Bluetooth scanner. I am using the SoftwareSerial Arduino library to send and read information from ...
2 votes
1 answer
480 views

HC-05 Bluetooth module; two serial ports, COM4 and COM5

I'm learning how to use the Arduino HC-05 Bluetooth module. After pairing to it with my laptop I saw that I was getting two serial links, COM4 and COM5, as can be seen from the picture below. On COM4 ...
-1 votes
1 answer
493 views

HC-05 to low cost AB shutter 3

I'm trying to connect a HC-05 to AB Shutter3 module. However, when I try to search AB Shutter3 address via AT commands (AT+INQ) I could not find AB Shutter3. I want to integrate both, so that I can ...
3 votes
2 answers
5k views

HC-05 bluetooth module not accepting AT commands

I have been attempting to program my HC-05 ZS-040 Bluetooth module for quite some time, and I cannot get the AT commands to return any values. I have searched google for quite some time, and I none of ...
0 votes
1 answer
584 views

How to setup Arduino Wifi Shield with Red Bear Lab BLE Shield?

I'm new to Arduino shields. I'm trying to stack these two shields on an arduino uno for a home automation project. 1 - Arduino Wifi Shield: 2 - Red Bear Lab BLE shield: http://redbearlab.com/...
1 vote
0 answers
568 views

Bluetooth Serial is unavailable `SerialBT.available()` returns False on Macbook after a successful bluetoooth connection

I am trying to send and receive messages between my mac and esp32 board. I am currently using the Bluetooth classic interface. After a successful connection. I however have observed that there is no ...
1 vote
1 answer
2k views

ESP32 nodemcu serialbt sending data

I'm currently trying to send data from esp32 to my android app that I made. The sensor readings are showing in the serial monitor, however, what's showing on my app are either @ or &. Please help ...
-1 votes
2 answers
347 views

Hc-05 bluetooth module pairing issue

Module light is blinking/working but it's not showing for pairing in my smart phone.I have supplied it 3.3 volts and have tried different phones.
0 votes
1 answer
538 views

I am trying to connect the PS3 controller with the Arduino Uno using a USB Host Shield. Getting stuck at 'PS3 Bluetooth Library Started'

I did the research for similar issues and found that I had to enable debug. I did the following attempts: Changes to settings.h - enabled debugging by change from 0 to 1 Getting the following ...
2 votes
0 answers
1k views

PC cannot access HC-06 Bluetooth COM port

I have an HC-06 Bluetooth module connected to an Arduino Uno board to allow for the data received by the Ultrasonic sensor to be transferred to my PC via Bluetooth and serial communication. I am using ...
-1 votes
1 answer
425 views

What is the best way to establish wireless communication between the Lilypad and a Mac?

I want to build a wearable device for a dancer using the Lilypad and I need to first send the programme from my Mac to the Lilypad board and then transfer the data read by sensors back to my Mac. I ...
0 votes
1 answer
612 views

ESP32-C3 - undefined reference to `esp_ble_gap_start_advertising'

I have a Bluetooth project for an ESP32 devkit and want to compile it for an ESP32-C3. I use the newest ESP32 Arduino core as a component with esp-idf and the following configuration for PlatformIO: [...

1
2 3 4 5
13