5
votes
Accepted
A proper way to get the roll, pitch and yaw values
In some sources there is something going on as the importance of order of the application of roll,pitch and yaw. But I cannot understand why this is related.
Take your right hand: point your thumb ...
3
votes
Receive data from Arduino board to Android application
I don't think your code is correct:
void loop () {
if (blueTooth.available())
Serial.write(blueTooth.read());
if (blueTooth.available()) <----
blueTooth.write(Serial.read());
}
...
3
votes
Arduino: Camera streaming
Not even close
In light of 1 it doesn't matter
Get a Pi if you want to do video
2
votes
How will Arduino sketch and Android app communicate over GPS?
How will i make arduino with gps to communicate with android app? i just need this for my school project.
as gps is one-way communication, you will have to either launch your own birds capable of two ...
2
votes
Change the baud rate of HC-05
I played a lot with HC-05 and HC-06 until I understand the way they work. Now i've big Android App communicating with HC at 115200 bauds and sending and receving heavy data.
I hope these tips will ...
2
votes
Control/Interacting with Android OS using Arduino board
What you've seen is most usually a bluetooth module which has a "virtual COM port" service -- you connect to the bluetooth module and you can then send a data stream up and down through this COM port, ...
2
votes
How to make a smooth serial print?
I bet your problem has nothing to do with “smoothness” (whatever that
means), but is entirely due to lack of message framing. The serial and
bluetooth links do not transmit messages: they transmit ...
2
votes
Accepted
Serial communication between a single Android device and multiple Arduino boards
Use a third Arduino, which serves as a hub. It is connected to your Android and to all Arduino Uno devices you want to interface. It passes the commands to all Arduino devices, and the feedbacks to ...
2
votes
Accepted
Use Android on Arduino TFT
No. Not even remotely. Android runs on a powerful computer not a tiny embedded microcontroller.
2
votes
Problem connecting Android app to Arduino
In the loop function you have a line
If (Serial.available() < 1) return;
This prevents further code to be processed if there is nothing in the hardware serial buffer. Think about that.
1
vote
Robot car not working
In short, among whatever other problems you might have, you've wired your TX and RX connections backwards according to your diagram and code.
Swap them either in hardware or in software.
According to ...
1
vote
Accepted
Send packet of multiple sensors data to Bluetooth module
There are many ways to transmit binary data over a byte-stream based interface like Serial (which is used by common bluetooth modules like the HC-05/HC-06). I will only describe one here.
First we ...
1
vote
What is the highest baud rate that can work between Android device and an Arduino connected to an HC05?
The HC-05 may only have implemented baud rates up to 1382400, even though the protocol is spec'd for up to 128000.
If you're using Software Serial to talk to the HC-05 from an Uno, 9600 baud is about ...
1
vote
Accepted
Wrong data receiving in my Arduino by bluetooth
Well, after a lot of research, it seems that my main problem was that I´m receiving and sending information at the same time. And with the library Softwareserial, only 1 can be active at the same time....
1
vote
HM-10 BLE controller is not responding to some AT commands
same as me... clone of a hm10.
not very much info on this board.
at command doesn't works when they are in caps ..
no need ? or = after command.
you can paired with at+connX (x is the device number, ...
1
vote
Receiving multiple Values from android via Bluetooth
If there are no other constraints, send them as a text with delimiters and a terminating character.
e.g. something like "123;45;678\n"
On the arduino, either manually check for those delimiters and ...
1
vote
Accepted
Arduino USB host + RS232
1) Which Arduino board is the best fit? 2) Is it an option to use Chinese boards for the sake of cost optimization? 3) Do I need separate RS232 and USB shield or it's ok to leverage built in USB and ...
1
vote
HC-05 connecting to Arduino
This issue has been resolved. There was an issue with the parity and stop bits.
When setting up for arduino comms, remember, baud rate, 1 stop bit, 0 parity bits.
1
vote
Accepted
Esp8266 not responding to GET request from Android app created using MIT App Inventor
I have found out the solution to this problem. The code that I had written in the Arduino IDE for the Esp8266 was not correct for handling the GET request. It only accepted data as a simple Web ...
1
vote
Accepted
Why can't my bluetooth receive serial data from my android phone, but can send serial data from my bluetooth to my android phone?
Your erroneous level shifting attempt from Bluetooth TX to Arduino RX is the root of your problem.
Pins 0 and 1 are also connected to the on-board USB interface chip via a pair of 1kΩ resistors. ...
1
vote
Arduino program has suddenly stopped updating
Thanks guys, taking the labour out of the ISR has solved the problem perfectly. Unfortunately, the advice wasn't given as an answer so I'm unable to credit you for it, but appreciate the solutions ...
1
vote
Accepted
Can you make it so, when your phone connects to the Hc-05 on a Arduino, a variable changes?
Detecting successful connection with HC-05
The HC-05 can be configured to do what you are after.
Search for "POLAR" in the AT set documentation.
AT+POLAR=0,1
should be what you need as per their ...
1
vote
Accepted
LSM9DS1: Inconsistent data from an accelerometer
The problem is how the accelerometer data is read, to be precise is in these lines:
result[0] = (buffer[1] << 8) | buffer[0]; // Store x-axis values
result[1] = (buffer[3] << 8) | buffer[...
1
vote
Arduino: Camera streaming
Assuming a 0.3 MP camera, that means 300,000 pixels. The Arduino (Uno) has a few KB of SRAM, so you need much more. External SRAM might be an option, but even 300.000 pixels need a lot (like multiple ...
1
vote
How do I make the HC-05 bluetooth module take data from the HC-SRO4, and then send it to my Android app?
First, it will read the values from the serial monitor. Then, I would like the HC-05 module to take these numbers and continuously send it to my Android app, which will then process what to do with ...
1
vote
HC-05 Bluetooth Module Blinking Red Light-Arduino Uno
Try this code(it's simpler):
char data ;
void setup()
{
Serial.begin(9600);
pinMode(13, OUTPUT);
}
void loop()
{
if(Serial.available() > 0)
{
...
1
vote
Unable to receive SMS on Android
In the SIM900 is an AT command that let you do a factory reset, your module will restart to the default values. It must be an AT command very similar to the SIM800.
The AT commando that (perhaps) ...
1
vote
Receive multiple data from arduino using String builder
You can convert each value to string before sending to bluetooth using string.contain("string"), like this:
if (sbprint.contains("C"){
temptv.setText(sbprint);}
if (sbprint.contains("H")){
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
android × 96arduino-uno × 41
bluetooth × 37
serial × 17
hc-05 × 9
arduino-mega × 7
arduino-nano × 6
usb × 6
esp8266 × 5
wifi × 5
sensors × 4
programming × 3
arduino-leonardo × 3
uploading × 3
accelerometer × 3
ble × 3
data × 3
arduino-ide × 2
c++ × 2
esp32 × 2
power × 2
led × 2
communication × 2
code-review × 2
serial-data × 2