Questions tagged [bluetooth]
Bluetooth enables short-range wireless communication between devices.
620
questions
-1
votes
2
answers
219
views
Robot car not working
My robot car won’t respond to my command. The code below worked before however, this time there is no response. I’ve tried experimenting with the code in the first while loop. I’ve tried different ...
1
vote
2
answers
455
views
I want to send the last 10 minute data via bluetooth
This was for photocell data logging for 30 sec intervals, now I want to write a code which commands from the cellphone and sends back the last 10 minute data.
At first I thought if I make an array of ...
1
vote
1
answer
381
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
votes
1
answer
43
views
Servo retaining its position every time I send some value
I wanted to control my servo with a Bluetooth module.
I gave certain values for rotating it. When I press those values the servo rotates, but then retains its original position and the PC also makes ...
1
vote
1
answer
316
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 ...
0
votes
2
answers
5k
views
My HC-05 Bluetooth Module is not working
I have been trying to use the HC-05 Module with my Arduino Uno to control a LED, which can be turned on and off by my phone. Everything is fine when i input the values from the serial monitor. The ...
2
votes
2
answers
201
views
Digital Input using a button doesn't work properly when using it to control a relay
I'm trying to control a relay both via Bluetooth and using a switch. The problem is that, when the LED is off, I can turn it on with the switch but then if I turn off the switch the relay will stay on....
0
votes
1
answer
1k
views
Continuous servo motor won't stop rotating
I want to use Bluetooth to control my continuous servo motor to rotate 360° once, and I used MIT app inventor for the UI to control it.
My continuous servo motor won't stop rotating even though I ...
2
votes
1
answer
235
views
Debugging RN 42 HID Mouse
I'm trying to use the RN 42 and Arduino Uno to control a bluetooth mouse. I configured the RN 42 with the commands S~,6 and SH,0220 and R,1 to put the device in HID mouse mode. Is there anything I ...
1
vote
1
answer
351
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
2
answers
2k
views
Transmit/Receive data Nodemcu(V3) + Bluetooth Module HC-05
I am trying to communicate with the HC-05 Bluetooth module for quite long time now, but with no success.
I am using the Nodemcu(V3) ESP8266 module.
I connect the HC-05 to Nodemcu in following ...
0
votes
1
answer
506
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.
...
1
vote
1
answer
549
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 ...
3
votes
1
answer
1k
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 ...
0
votes
1
answer
119
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 ...
2
votes
0
answers
969
views
Is there a module that will allow me to pair a bluetooth keyboard to an arduino?
I want to pair a bluetooth keyboard to an arduino project, so that pressing a key on the keyboard causes an action to happen on the Arduino. Let's say that pressing Q on the keyboard makes an LED turn ...
1
vote
0
answers
181
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 ...
1
vote
1
answer
156
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 ...
-1
votes
1
answer
639
views
Motor cutting out when using HC-05 Bluetooth module
I'm using an L293D motor driver chip along with an HC-05 Bluetooth module. The two work as expected separately - I can send a string via a Bluetooth terminal app on my phone to the HC-05 and I see it ...
1
vote
1
answer
482
views
Is two modules using Serial Interface on one Arduino Uno possible?
I was wondering if I have both a Bluetooth HC-05 module and a GPS module (uBlox 7N) is it possible both for both to be using the serial interface?
I'm aware they cant be operating simultaneously ...
6
votes
1
answer
5k
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
0
answers
61
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 ...
2
votes
0
answers
177
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 ...
0
votes
1
answer
2k
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 ...
1
vote
0
answers
130
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 ...
1
vote
2
answers
17k
views
HC-05 Bluetooth Module Blinking Red Light-Arduino Uno
I have looked on google for an answer to my problems to no avail. The you tube video I am following is here: https://www.youtube.com/watch?v=f1v0IMegCvU
So basically on my android, I can't see the HC-...
1
vote
0
answers
525
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 ...
1
vote
0
answers
144
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 ...
1
vote
0
answers
2k
views
HC-05 Bluetooth fails AT+LINK
I'm trying to get a HC-05 connected as master to a Bluetooth ELM327 OBD scanner.
The HC-05 is accepting AT commands, no problem. This is the sequence I use:
AT+RMAAD (Clear any paired devices)
AT+...
0
votes
1
answer
1k
views
Control speed of a dc motor with a 9v battery
Problem:
I want to have a 9v battery that powers a dc motor. I want to control it with a bluetooth remote that has 3 buttons. 1st button is turn the motor with 1.5v, 2nd button is motor off and the ...
1
vote
1
answer
116
views
i can't work toggle for my small project
i build my small project from a few component as this photo
after finish code and project . i work run for Proteus and then the project not run perfectly because my code need toggle for data entered . ...
1
vote
0
answers
113
views
Nothing gets sent to Arduino from Processing
I have a problem where I kwow that my bluetooth module (HC-05) is connected to a processing sketch, but nothing ever gets sent from the processing sketch,why?
No error messages but the info never ...
1
vote
2
answers
1k
views
serial is print twice?
I have a problem , when send 1 or 0 by Bluetooth module the serial monitor print two time (RECEIVED SMS) . what's the wrong ?
This is my code :
char BluetoothData = 0 ;
void setup() {
// ...
1
vote
0
answers
95
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
1
answer
938
views
Bluesmirf Mate Silver (RN-42) enter command mode when in HID mode
I am having problems getting the Bluesmirf Mate Silver (RN-42) into command mode once I have switched to HID mode. I have bought a second new Bluesmirf Mate Silver to confirm my issue.
I soldered the ...
1
vote
1
answer
718
views
Writing data from multiple sensors in burst mode to an Arduino Due
I need help developing a simple sketch that can read data simultaneously from 3 analog accelerometers and send it in 'burst mode' to be stored on an SD card, to reduce the effect of latency.
I used ...
2
votes
2
answers
119
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 ...
2
votes
0
answers
829
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 ...
2
votes
2
answers
690
views
Bluetooth module(HC 05) issues
I am trying to make a Bluetooth controlled 4WD robot. i was following a tutorial i found online (https://howtomechatronics.com/tutorials/arduino/arduino-robot-car-wireless-control-using-hc-05-...
1
vote
2
answers
96
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 ...
1
vote
1
answer
282
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 ...
1
vote
1
answer
93
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 ...
1
vote
0
answers
68
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 ...
2
votes
0
answers
253
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 ...
1
vote
2
answers
3k
views
Bluetooth connection to HC-05 paired but not connected (in Linux)
I have an Arduino Uno connected to an HC-05 Bluetooth sender/receiver chip. I am trying to create a Bluetooth connection between my Acer laptop running under Ubuntu 14.04 LTS and the HC-05 chip.
...
1
vote
1
answer
378
views
RN42 Bluetooth HID KEYBOARD sketch by silverball
How can I use RN42 sketch by silverball
/*
RN42_HIDRaw_Arduino.cpp - Roving Netowrks RN42 Bluetooth HID raw library
Developed by Chris Leitner - 2012
This library is free software; you can ...
1
vote
0
answers
55
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 ...
1
vote
0
answers
935
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
0
answers
811
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 ...
0
votes
1
answer
301
views
Arduino Micro project with Bluetooth low energy
I created my project prototype with Arduino Micro and Adafruit Bluetooth low energy device.
Now I need to develop the prototype to production (like a small USB device). I just need Rx, Tx, 3V pin ...