Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bluetooth]

Bluetooth enables short-range wireless communication between devices.

1
vote
1answer
3k views

Control Android Camera using Arduino over Bluetooth

I want to Control Android Mobile Camera shutter using Arduino over Bluetooth. So i can click photos using arduino. I have HC-05 Bluetooth Module and Arduino Nano/Arduino leonardo. The Connection as ...
1
vote
0answers
669 views

'SoftwareSerial' does not name a type in Adafruit Feather M0 Bluefruit LE

I am trying to create a software serial connection between Arduino Uno & Adafruit Feather M0 Bluefruit LE. I am getting the following error in the M0 sketch: Arduino: 1.8.1 (Windows 10), Board: ...
-1
votes
1answer
71 views

What should I use for IOT Things? [closed]

I am very much interested in using the Blynk. Well I like it because of its feature. I want to control or read my sensors or something like that remotely. So Blynk says you need something like esp8266 ...
0
votes
1answer
269 views

Bluetooth serial readings on 0.96'' Adafruit OLED

I am trying to display the readings of LDR connected to slave arduino through serial monitor of master arduino paired with bluetooth. I got the readings and it is working fine. But when I connected ...
0
votes
1answer
925 views

Analog reading via bluetooth

I am making a project in which I am trying to communicate the LDR values collected by one arduino(slave) to another arduino(master) via bluetooth. The readings of the LDR is displayed on the serial ...
2
votes
2answers
3k views

Can I share the VCC (5V) on my Arduino Pro mini with multiple modules?

Right now I am onto a new project where I am building an obstacle avoiding landrobot. I use an arduino pro mini as my board and I have a few hc-sr04 sensors here at home. The problem I have right now ...
-1
votes
2answers
2k views

AT commands not working for HC-06 ON ARDUINO UNO [closed]

Here's the code. Whenever i wrote a AT command in Serial Monitor it do nothing.No response. #include <SoftwareSerial.h> SoftwareSerial mySerial(10, 11); // RX, TX void setup() { Serial....
1
vote
2answers
5k views

Getting Bluetooth addresses of connected devices via Arduino Uno? [closed]

I want to find all the Bluetooth addresses of connected devices using an HC-05/HC-06 Bluetooth module and an Arduino. I can't find any code related to this. Basically I need the addresses to put in ...
1
vote
2answers
84 views

HC-06 Bluethoot communication

During this week i purchased two hc-06 bluethoot module for arduino with the purpose of maintain a stable bluethoot connection between two arduino devices. Most people use hc-05 and hc-06 togheter so ...
0
votes
0answers
548 views

Best Bluetooth module for the Lilypad?

So I'm trying to work on a project and need to include bluetooth. The latest problem I have is I'm using a Lilypad Arduino and need to keep the project in the same round area. I was looking at this: ...
1
vote
1answer
786 views

Serial data is not sent on interrupt

I have a short program which should receive data, use this data to turn on/off an LED, and send data when a button is pressed. It is deployed on a Digispark board. The button is connected to INT0 port ...
2
votes
3answers
3k views

Arduino board with built-in Bluetooth

I would like to find an Arduino with built-in Bluetooth. I know about the HC-06, the shields and the other Bluetooth modules, but i would like to have built in Bluetooth for eliminating the risk for ...
3
votes
2answers
114 views

is it possible to write two threads in arduino & switch between data & AT command mode dynamically?

I need to recieve data from a android phone and also estimate distance of phone from the HC 05 module , So i want to write two threads or functions. In one part i want recieve data from android phone ...
0
votes
1answer
51 views

Replacing BT module with 433 MHz transreceiver module

I have made a prototype where I can send data from one arduino to another via Bluetooth(hc-05), they are working fine, but now I want to replace the BT module with RF module, how can I do that???
0
votes
1answer
345 views

Data sent via UART Bluetooth different than SerialMonitor

I am using a 9-axis accelerator on an Arduino Uno (Atmega 328P processor) with a BLE Nordic rRF8001 chipset. I am trying to send the accelerometer data via bluetooth to a smart phone (android). The ...
0
votes
0answers
489 views

How to make HC05 bluetooth module undiscoverable or limited discoverable

I want my HC05 module to be pairable only within a time window of pressing a button (connected to an Atmega328 which talks to the HC-05). This is a pretty normal way for most bluetooth devices i've ...
0
votes
2answers
484 views

Read all relay output (high or low) from Bluetooth through Android app

I have written the following code for Arduino: #define relay2 2 #define relay3 3 #define relay4 4 #define relay5 5 #define relay6 6 #define relay7 7 #define relay8 8 #define relay9 9 byte val; void ...
2
votes
2answers
202 views

How to make two small micros communicate with my Arduino over BLE? [closed]

I want to do a project with an Arduino Uno and two other BLE (or regular bluetooth) capable modules. I want the Bluetooth modules to be hooked up to buttons (one button for each Bluetooth module). I ...
0
votes
1answer
654 views

Unable to read and write serial data between two arduino's (hc-05 paired) when using a sensor

What I did was that I wrote a piece of code that will-in-fact move a servo motor when a clap is detected using a sound impact sensor (fc-04). The code for this is seen here and in fact does work: #...
2
votes
2answers
5k views

Sending data from Arduino to laptop via bluetooth using java

I intend to establish communication between my laptop and Arduino via Bluetooth. I'm using BlueCove Java API. I'm unable to understand how to send data to Arduino using this. There are no clear ...
2
votes
2answers
116 views

Connect Two Arduino Uno's

Essentially I am looking to build a remote controlled car using dc motors and one arduino uno to be on the car to supply the power logic and i wanted to use another arduino to be the remote. I was ...
0
votes
1answer
152 views

BLE Shield v2.1

I have an Arduino Mega 2560 and a BLE Shield v 2.1 from RedBearLab. When I try to connect it through Bluetooth from my laptop to 'BLE Shield', it says 'Connected!'. When I try from a Windows phone, it ...
4
votes
1answer
47 views

What controller should i use?

I'm working on a little DIY project in which I intend to make my own dataglove. Now I'm kinda stuck on choosing the right microcontroller. And since it can be quite costly, I thought to ask for some ...
2
votes
0answers
958 views

How can I connect an arduino to a raspberry pi via an HC 05 bluetooth module and transmit data?

I am currently undertaking a project where I am attempting to build a bluetooth thermometer using an arduino. I have the temperature sensor working and returning temperature readings via a usb ...
1
vote
1answer
5k views

FTDI to HM-10(CC2541) serial command no response [closed]

I'm trying to communicate with my HM-10 module though a FTDI converter on my mac. I have installed the FTDI driver and disabled the mac's default FTDI driver. This is my arduino IDE setup: board: I ...
0
votes
1answer
2k views

Issues using HC-06 Bluetooth module with arduino

I recently ordered an HC-06 Bluetooth module for my Arduino Uno, and after watching this video, and many others, I still have been having many issues figuring out how to get it to work, and some ...
-1
votes
1answer
27 views

How compact, small and smart a fluid detector need to be communicate with external systems?

I like to build a fluid(liquid) level detector using Arduino that can send 2 types of information: Status of the Fluid Container (Empty,Full or Below Required Level) Location of Fluid Container Now ...
0
votes
1answer
438 views

Bluetooth data: how to handle these data?

I'm reading a BLE device and my api return me this struct typedef struct { LGATTAddress bd_addr; int32_t rssi; uint8_t eir_len; uint8_t eir[256]; } LGATTDeviceInfo; I try to print some ...
1
vote
2answers
3k views

Arduino HC05 - AT commands won't respond

A little while ago i tried using AT commands on my HC05 bluetooth module using my arduino mega 2560 and it worked fine , skipping a few weeks ahead i tried doing the same , only now i suddenly doesn't ...
0
votes
1answer
872 views

Flash a hex file to an MCU/Arduino over the air?

I have a processor AT328 , Arduino bootloaded, and a Bluetooth on the serial lines Tx,Rx . I would like to program the chip over Bluetooth, not using a computer or IDE, but mobile phone with my own ...
1
vote
0answers
366 views

I can't receive data from Arduino through Bluetooth

I am developing an app that controls an Arduino robot. For that I need to communicate through Bluetooth. That means sending and receiving data. Why receiving? Because I also have sensors on the robot. ...
0
votes
1answer
127 views

Bluetooth signal returns 0

I have started programming Arduino in the last month. Now I'm working with a bluetooth module. But when I send some data from the Android device to the Arduino, it stays for a very short time and ...
0
votes
1answer
52 views

how does a bluetooth on android works and what are the best alternative in saving data receive from bluetooth?

Can anyone confirm this for me although I have tested it myself but when I send a string of data from my android app and send it to arduino say for example data = bluetoothPort.read(); inside an if ...
0
votes
1answer
254 views

Arduino Uno, BLE Bluetooth Shield and Braccio Arm Shield

I'm running the Uno board and want to connect the BLE Bluetooth shield (http://redbearlab.com/bleshield/) to control the Braccio Arm I have. When I sit the Braccio Arm Shield on the Uno everything ...
3
votes
2answers
3k views

How to setup HC05 Module to be distinguishable

I'm not sure if this is a dumb question, but here goes 🤞 : I am developing an Android app that uses a custom Bluetooth device as a companion. I'm using an HC05 module to interface the device with my ...
2
votes
2answers
1k views

How to identify connection lost on HC-06?

I am making an RC car on Arduino Uno. I have connected an L298N motor driver to an Arduino Uno to control 2 DC motors. I also connected an HC-06 to the Uno to receive commands from an Android ...
0
votes
2answers
1k views

How can I run HC-05 on 8MHz Pro Mini?

I run an Arduino Pro Mini on ATMega328 3.3V 8MHz, and I am unable to send data over HC-05 breakout board on this frequency, and on 5V 16Mhz, it has no issues. The Arduino code is down below: #...
0
votes
1answer
3k views

Using SIMCOM SIM800 as a Bluetooth SPP Client

I just bought a SIM800 module for my Arduino project and I found that I supports Bluetooth too. I have already worked with HC-05 and my Android phone. I tried to play with this module and able to ...
0
votes
1answer
213 views

Creating linear motion using motor

I am trying to make a smart lock for bicycles. This lock can be controlled with the help of smartphones. For the purpose, I am using an Arduino interfaced with HC-05 Bluetooth Module which receive ...
0
votes
1answer
48 views

Opening and closing a circuit wirelessly using arduino uno and Bluetooth.. with a mechanical button. Is it possible?

We are attempting to open and close a circuit (an on/off switch) wirelessly via a mechanical button. We'd like to use an arduino uno, a Bluetooth shield and receiver, and a mechanical button.. is ...
0
votes
1answer
527 views

Can't read two bytes through Serial.read - Arduino

I'm sending via Bluetooth with an Android App two bytes like this: private void _sendCommand(byte command, byte arg) { if (CONNECTED) { try { os.write(new byte[]{...
1
vote
2answers
392 views

Why does the serial monitor needs to be repeated a command?

I am experimenting with the serial monitor in an Arduino Uno. My project consists in a simple LED turning on and off at will with the commands "ON" and "OFF" respectively. To achieve this, I use an ...
1
vote
1answer
68 views

How many bluetooth modules can be interfaced with Arduino UNO?

At most how many bluetooth modules(HC-05) can be interfaced to Arduino UNO?
0
votes
1answer
786 views

GPS module to a Bluetooth Transmitter [closed]

I want to create a simple module in which a GPS transmitter moves and transmits positional data to the Arduino board via a Bluetooth Transmitter. Basically, I need a two-piece bluetooth set, in which ...
0
votes
1answer
125 views

Building a GPS-controlled Camera

I've been trying to build an Arduino UNO controlled Camera using two servo motors that points in the direction of an object with a certain tag. Here's an Example: A camera is on the sideline of a ...
2
votes
1answer
149 views

Arduino Uno Bluetooth connection

I'm trying to connect two Arduino Unos with Bluetooth modules (HC-06 and HC-05). Does anyone know the steps required to do that? I still haven't figured out: How to pair the two Bluetooth devices,...
1
vote
0answers
388 views

Arduino + HM-10/11 + ANCS to get notifications for iPhone

I am wondering if there are any current solution to receive notifications on iPhone through ANCS and HM-10/11 Bluetooth LE module. An Arduino library? https://stackoverflow.com/questions/28488529/is-...
0
votes
1answer
104 views

2 if-else in one program

Hey guys i have made an automatic plant watering system. Its really basic. the code is:- char yo = 0; void setup() { pinMode(2, INPUT);//moisture sensor pinMode(3, OUTPUT);// pump Serial.begin(...
-1
votes
2answers
62 views

Problem with combination of Bluetooth and RF 434MHz with Arduino Mega

I want to receive text from Bluetooth from an android phone to Arduino Mega. Then I want to send that text to other Arduino UNO through RF 434MHz. Here is my code for Transmitter. #include <...
0
votes
1answer
2k views

Can't run two separated DC Motors

I'm trying to build Bluetooth RC car, but I can't run only one DC motor.. only both of them. Everything works fine, the bluetooth, the app but when i try to go forward/backward/left/right nothing ...