Questions tagged [bluetooth]

Bluetooth enables short-range wireless communication between devices.

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

servo retaining its position everytime i send some value

i wanted to control my servo with bluetooth modue. I gave certain values for rotating it. but when i press those values the servo rotates but then retains it's original position and pc pc also make ...
user avatar
0 votes
0 answers
18 views

Bluetooth HC-05 only takes one command and then disconnects

I'ma total noob at Arduino and this is my first project. It is a Bluetooth controlled RC car. As you can understand fon the title, my hc-05 takes only takes only one command and then disconnects ...
user avatar
-1 votes
0 answers
27 views

Serial Monitor works but Bluetooth terminal doesn't

I am making a mini voice controlled robot and the voice control commands work through the computer's Serial Monitor, but nothing happens when I send the commands through the Bluetooth terminal, ...
user avatar
-1 votes
0 answers
23 views

Multiple servo control Arduino

I am new to arduino programming. It is necessary to solve the problem. There is a code for controlling several servos on arduino using a phone via bluetooth. I want to make a hardwired control panel ...
user avatar
-2 votes
0 answers
27 views

Bluetooth module confusion

Ok so I have a 4 pin Bluetooth module, that conflicts with everything in trying to figure out which one it is. So the thing is I made a nifty little doohickey (hall sensor) the magic is in the code. ...
user avatar
3 votes
1 answer
560 views

What is the difference between Bluetooth module HC-05 and HC-42 for Arduino?

I am looking for differences between HC-05 and HC-42 Bluetooth modules for Arduino. I could not find an answer by searching google. Both products have 6 pins and accept master and slave but I could ...
user avatar
  • 41
1 vote
0 answers
76 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
0 votes
1 answer
63 views

How to execute programs based on received bluetooth value - wake-up-light (ESP32)

I'm trying to execute programs on my arduino based on values received via bluetooth. Although I've experimented a lot, I'm unable to get the code to work. I have build a simple android app with three ...
user avatar
1 vote
0 answers
94 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
1 vote
1 answer
138 views

Continuous Servo motor won't stop rotating

I wanted to use bluetooth to control my continuous servo motor to rotate 360° for once, and I used MIT app inventor for the ui to control it Also, my continuous servo motor won't stop rotating even ...
user avatar
1 vote
0 answers
31 views

LightBlue to Arduino connection log does not display serial monitor printed data

I'm writing code so that, every time a hall monitor senses, my code additively measures 5 liters of volume as it prints each detection. Then, this data is sent via Bluetooth to a phone. (This is for a ...
user avatar
1 vote
0 answers
99 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 ...
user avatar
2 votes
0 answers
56 views

Issues with the TX pins for recieving data from the HM19 and HC05

I bought a hm19 (link 2), 2 hc05s, an Arduino micro, and an Arduino due. I'm trying to turn an led on and off using my phone over Bluetooth. I verified that all modules work by themselves. So here's ...
user avatar
2 votes
0 answers
171 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. ...
user avatar
  • 341
1 vote
0 answers
50 views

Bluetooth Upload is Hanging

I am trying to program my Arduino via bluetooth and have been following this tutorial very closely in order to do so: https://www.instructables.com/Program-an-Arduino-Wireless-Over-Bluetooth/ I have ...
user avatar
  • 21
0 votes
1 answer
512 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
0 answers
197 views

ESP32 Classic Bluetooth Set Password

I am using ESP32 classic Bluetooth Feature for data transfer. I am using the SerialToSerialBT example. I am able to scan and discover the Bluetooth device from my smartphone. But the pairing is ...
user avatar
1 vote
0 answers
56 views

Need help with Bluetooth component for TinyCircuit

I am looking to get some assistance to learn how to program the Bluetooth module for TinyCircuits. I am currently using the UARTPassThrough.ino example to try and learn BlueNRG's functions. I see that ...
user avatar
1 vote
1 answer
109 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
129 views

avrdude: stk500v2_ReceiveMessage(): timeout error for bluetooth arduino

I am trying to link the Bluetooth module to my arduino UNO in order to wirelessly program a robot. The only issue that I am having is that the bluetooth module does not seem to pick up the arduino. ...
user avatar
1 vote
0 answers
35 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
1 answer
42 views

ESP32 SerialBluetooth disconnects within a second after connecting but not BLEDevice/BLEServer

Code using BluetoothSerial api disconnects immediately after establishing connection with my laptop running Ubuntu 18.04. If instead of BluetoothSerial BLEDevice api is used, the connection stays ...
user avatar
  • 111
1 vote
2 answers
74 views

Problem with first two samples of serial data received by RPi

I'm trying to receive a string from an Arduino to a Raspberry Pi via a Bluetooth socket connection (RFCOMM). I'm using an HC-06 Bluetooth module, an Arduino UNO R3, and an RPi 4 Model B. For the ...
user avatar
1 vote
1 answer
63 views

Incorrect values arriving from Arduino to RPi over serial communication

I am trying to write four values relating to energy (current, power, energy, and peak demand) via a SoftwareSerial connection from my Arduino UNO to my Raspberry Pi 4. However, two things are ...
user avatar
2 votes
2 answers
93 views

arduino acclerometer with servo motor

I'm currently working on project to operate three motors while sending accelerometer value to computer via bluetooth module. I want the motor operation and value transmission to work seperatly. But ...
user avatar
1 vote
0 answers
50 views

Program a mega2560 from a different Serial port

I want to be able to use my HC-05, currently on Serial3 to download code to on my 2560 from a connected android tablet. I'm currently running MegaCore, which has optiboot on it. I've looked for ...
user avatar
  • 163
1 vote
1 answer
111 views

Can’t send string from arduino to processing via hc05

I’m trying to send and receive data from my laptop to arduino nano via hc05 Bluetooth for a rocket flight computer. For some reasons which I don’t know, I can send data from processing software using ...
user avatar
  • 33
2 votes
0 answers
79 views

HC-05 bluetooth module stops working when blinking

I'm using this HC-05 Bluetooth module to communicate between my Arduino mega 2560 and my laptop. I am using processing to send the data from my computer to the Arduino. The module connects nicely and ...
user avatar
1 vote
0 answers
33 views

My bluetooth module keeps sending out constant exports

So I have a bluetooth module hooked up to my arduino to control an LED light, something simple to turn on and off. But the app im using constantly is either sending something or receiving. This causes ...
user avatar
1 vote
0 answers
217 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
272 views

Bluetooth module with lowest latency to communicate with PC

I am making a haptic feedback glove using Arduino and HC-05 bluetooth module to communicate with PC. There are rotary encoders on the finger which send value to PC through Arduino mega. The PC returns ...
user avatar
  • 11
0 votes
1 answer
132 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
1 vote
0 answers
122 views

Arduino Nano 33 BLE Sense TFlite inference hangs when using bluetooth

I'm running into an issue where when I try to set up a BLE service my tflite inference seems to hang/crash. I used https://experiments.withgoogle.com/tiny-motion-trainer to train a model to recognize ...
user avatar
  • 11
2 votes
0 answers
272 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
287 views

ESP32 sending data of type uint16_t(or anything except for uint8_t and char*) over bluetooth(classic) serial

I'm making a custom gamepad with an ESP32 and the joystick output is read by an ADC using uint16_t analogRead(uint8_t pin);. Now that I want to send the data and receive and parse it, I ran into a ...
user avatar
1 vote
0 answers
55 views

Problem sending data via Bluetooth

I have an HM-11 BT module that I am configuring as a Master/Central and attempting to connecting to a SH-M08 BT slave module. I can connect to the slave successfully but I cant send data. I found this ...
user avatar
  • 11
1 vote
0 answers
340 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
2 votes
3 answers
80 views

Issue with bluetooth and a large number LED strip

I want to be able to control multiple LED strip via bluetooth with one arduino. I coded my own android app and everything work fine with one or two led strip with few pixel. But as soon as I had to ...
user avatar
1 vote
1 answer
65 views

I need help with my final year project

I am building a project using bluetooth control as well as an ir sensor. The logic behind my program is when I press a key I want my robot to execute a series of program and while the program is ...
user avatar
1 vote
0 answers
31 views

Make a Jack-Bluetooth Module for the car

I'm making a Jack-Bluetooth module so that I can send music to the car (or other devices w/ Jack plug) without an internal Bluetooth module in the car. https://habr.com/en/post/456182/ says that I ...
user avatar
  • 11
1 vote
0 answers
122 views

Problem with ESP32 bluetooth

I am trying to connect ESP32 via bluetooth classic to my PC to transfer some data from a sensor. As a first step, I am simply trying to send some random data over bluetooth serial. The code is at ...
user avatar
  • 11
1 vote
1 answer
60 views

Brushless Motor "twitches" on its own when connected to battery

I've been trying to make a Bluetooth slider app that can control the spin speed of a brushless motor. The transmitter I am using is Arduino Mega. The problem I'm having is that my motor will start ...
user avatar
1 vote
0 answers
64 views

Trouble using bluetooth module with the ESP32s2 feather board

I am trying to use an ESP32-S2 feather board with a separate bluetooth module, the Adafruit BLuefruit LE UART Friend. I previously used this bluetooth module with the Feather M0 Adalogger through UART ...
user avatar
1 vote
1 answer
748 views

ESP32 Arduino Bluetooth Serial does not reconnect after disconnecting

The basic ESP32 Arduino Bluetooth Serial example pairs and connects as expected, BUT once I disconnect the Bluetooth terminal it stops responding to new events at all, once I reset the esp32, it ...
user avatar
1 vote
1 answer
1k views

HC-05 Module not receiving commands and not pairing

I'm working on a project where I'll need to establish a connection between two HC-05 modules, each connected to an Arduino, but for now I'm just trying to get one to work and connect to my phone, but ...
user avatar
1 vote
0 answers
337 views

Bluetooth HID for mouse project

I’m working on a project, to create an air mouse for people with repetitive strain injury (since I have it as well). I’m flexible with the hardware required. The plan is to use data from an IMU for ...
user avatar
1 vote
0 answers
44 views

how to control switch (proteus) using bluetooth card (HC-05) and arduino?

This is the first time I use the Internet with the Arduino in the proteus , What are the stages that I must follow in order to be able to control the switch via Bluetooth? If it was possible to ...
user avatar
-1 votes
1 answer
586 views

What is the highest baud rate that can work between Android device and an Arduino connected to an HC05?

I see a lot of baud rates in the AT Command documentation for the HC05 however I am not sure what is the fastest that can work between the Arduino controlled embedded system and the Android phone. I ...
user avatar
1 vote
0 answers
39 views

Can't test for equality with string received from bluetooth module

I am trying to keep the program within a loop until the user inputs "ok" on the Bluefruit Connect App. I use the readString() function on the bluetooth object (ble) to read from it. Before ...
user avatar
1 vote
0 answers
51 views

Can ESP32 used for mobile game controller?

I have a term project: I need to develop a mobile game(Guitar Hero Like rhythm game) probably on Unity and I need to develop a custom controller for this game that works on android device. There will ...
user avatar

1
2 3 4 5
13