Questions tagged [hc-05]

HC‐05 module is Bluetooth SPP (Serial Port Protocol) module. Use HC-05 to communicate with any device with Bluetooth functionality like a Phone, PC or Tablet.

HC‐05 module is Bluetooth SPP (Serial Port Protocol) module. Use HC-05 to communicate with any device with Bluetooth functionality like a Phone, PC or Tablet.

114 questions
0
votes
1 answer

What's wrong with my code as there's no action when i press connect or disconnect?

I have written the following code in android studio so as to connect using the Connect button to a HC-06 Bluetooth module after entering its MAC address as shown in the code. I want to be able to connect to my Bluetooth module and return on my…
user6917305
0
votes
1 answer

Arduino Bluetooth communication

I have a question about BT communication between Arduino and HC-05 module using Serial comm. I'm trying to control modes of RGB light on my Arduino nano through BT Terminal on my phone (in the future it will be Android APP) but I'm stuck where I…
revan
  • 17
  • 3
0
votes
1 answer

Not seeing anything in arduino serial monitor when typing the AT Commands for Bluetooth HC-05

I am a beginner to arduino and trying to follow one of the videos from youtube to make a project- Master And Slave using HC-05 modules. I followed every step from that video carefully. Here's the link to the video ->…
Ayush Naik
  • 111
  • 2
  • 14
0
votes
0 answers

Trying to understand data transfer behaviour (lag) on a BlueTooth connection using an HC-05 board (connected to an Arduino)

WHAT I HAVE I have a hardware sensor and an HC-05 connected to Arduino. Arduino collects sensor data and transmits it in realtime over Bluetooth HC 05 to an Android device for analysis. Each frame of sensor data is 44 Bytes. Data transfer rate on…
Ankit
  • 429
  • 3
  • 16
0
votes
1 answer

Parsing char array to integer, atoi() returns squares

I'm using an android app to send values to control servos. Code: char inputData[4]; char buffer[3]; void loop() { if(Serial.available() > 3) { for (int i = 0; i < 4; i++){ inputData[i] = Serial.read(); } char…
duck head
  • 49
  • 7
0
votes
1 answer

Is there a way to tell the azsphere cli to use a specific com port?

I need to link the azsphere cli to a specific com port on my system. I'm using a Bluetooth <--> Uart device, a HC-05 to configure wifi connectivity on a Sphere project. It would be slick to use the azsphere cli over this connection, but I suspect…
0
votes
1 answer

HC-05 issue while scanning other devices

I was trying to use my HC-05 module as a central node to scan nearby bluetooth devices. but I faced an issue with following commands: AT+INQ gives response ERROR:(1F) and AT+INIT gives response ERROR:(17) but…
Rakesh
  • 1
  • 3
0
votes
0 answers

Data received by my HC-05/Arduino Uno from MATLAB Bluetooth is in a strange format or the setup is incorrect

I am trying to use MATLAB's bluetooth object to connect to my HC-05 (connected to Arduino Uno by Serial) and send it strings ('1','2',etc). However, the issue is that when the data arrives it is in a strange format, and it seems like different…
user P520
  • 317
  • 2
  • 10
0
votes
1 answer

Bluetooth not working in Android things for Rasberry Pi

When I try to enable BluetoothAdapter I get the following error. 08-30 11:53:34.310 1492-1492/com.example.androidthings.gattserver D/GattServerActivity: Bluetooth is currently disabled...enabling 08-30 11:53:34.314…
0
votes
1 answer

Arduino transmission Data by HC-05(Bluetooth)

platform:Arduino UNO, Arduino Mega2560, HC-05 Here shows the detail. In Arduino UNO(Master), I encode Serial.print("A 1 2 3 4 5;"); In Arduino Mega2560(slave), I encode void setup() { //connect to the PC Serial.begin(9600); …
LIFUGUAN
  • 73
  • 6
-1
votes
0 answers

Arduino reading values from bluetooth with parseInt

I am trying to read data via Bluetooth with softwareserial.h library, but Arduino reads all data coming from Bluetooth as "0". When I run the same code over the Serial monitor, my code works fine. I'm using Arduino Nano (Old Bootloader) and HC-05…
-1
votes
0 answers

Atmega8A PU+ HC-05 (Bluetooth) how to connect?

Why this code didn`t work? I don't know what the problem is. Everything looks like it's in place. I want the LED to light up when I enter zero in the terminal. The terminal is a samsung phone and bluetooth HC-05. Everything about the hardware is…
-1
votes
1 answer

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 the sound of arduino board disconnecting because i…
-1
votes
1 answer

How to pair bluetooth HC-05 module to a website

To start of, i'm REALY new to this so i'm going to need a in depth explanation. I'm trying to connect my Arduino through Bluetooth to a website. To do this, i'm trying to use the HC-05 bluetooth module. I got the module to work with a app builder…
Ries
  • 3
  • 2
-1
votes
1 answer

Arduino Servo working in setup function but not with bluetooth command

i am experiencing a very strange issue, i wrote code for arduino UNO 3 which is designed to unlock door using servo motor, components attached are following Servo Motor 1 Red Led (for failure alert) 1 Green Led (for success alert) 1 Buzzer (for…
Zain Ul Abidin
  • 2,467
  • 1
  • 17
  • 29