2022 Developer Survey is open! Take survey.

Hot answers tagged

10 votes
Accepted

How to know positive and negative in breadboard

You decide which rails are positive and which are negative when you connect them to the + an - from your power supply or battery. A breadboard isn't polarised per se. It's just a bunch of cross-...
user avatar
  • 2,092
6 votes

Arduino server to read from multiple clients

Without knowing your exact implementation details... You should be OK as long as you don't have multiple clients connected at the same time. You may think that there are multiple clients connected to ...
user avatar
4 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 ...
user avatar
  • 1,290
3 votes
Accepted

Android <-> HC-05 <-> Arduino communication issue

As mentioned by @alex.forencich, SoftwareSerial is not designed to support simultaneous bi-directional communication. I found a link to AltSoftSerial library on Arduino site, and this lib seems to ...
user avatar
  • 151
3 votes

How to connect Android phone to Arduino?

You bet it's possible. I used a pretty cheap bluetooth module that I got from Amazon, and wrote an app using the information on the official Android Developers page to connect to the Arduino. There ...
user avatar
3 votes
Accepted

How do I view Serial Output on an Android Device?

These steps will allow your Android device to function as an Arduino Terminal. Download a Serial Terminal app. I'm using Android Hyperterminal, English version. Attach an OTG ("On The Go") cable to ...
user avatar
3 votes
Accepted

Input audio from jack to Arduino, and output by

The simplest solution: it really depends. There are a couple of things to consider: Bluetooth would probably be the least professional to impliment. The easiest way to do this is with an app. You can ...
user avatar
3 votes

Cheapest way to connect android device to arduino wirelessly

Solution 1 If you don't want to change the coverage radius, sadly none of them would help you to achieve a coverage of 50m. But if you are not using a camera feed and just want to control, I think ...
user avatar
  • 189
3 votes

How to know positive and negative in breadboard

As gre_gor said. A simple breadboard contains of rows and columns of connections but sometimes for convenience manufacturer marks or prints Positive and Negative symbol along the row as they are ...
user avatar
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
user avatar
  • 2,606
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()); } ...
user avatar
  • 5,596
2 votes

Is it possible to transmit Longitude and Latitude via RF433MHz?

If you are using Xbee modules in your project, why add 433MHz RF, just for the sole purpose of transmitting the location? With the 433Mhz, you will have to implement error-correction yourself.
user avatar
2 votes
Accepted

How to create a serial communication connection between Cubieboard running Android and Arduino

Using the library you linked should be a simple case of downloading the library's jar file from https://github.com/mik3y/usb-serial-for-android/releases and adding it as a reference/library/dependency ...
user avatar
  • 320
2 votes
Accepted

How does one build a door motion sensor project with Arduino Uno board to send alerts to an Android Phone?

If I could comment on this, I would say that this question really sounds like you haven't actually done any research to look into a solution. But, in simple terms: Arduino Uno, Android phone, GSM ...
user avatar
2 votes

Programmatically Upload Arduino Sketch From Android App

If I wanted to do this for a conventional Arduino I'd start by figuring out the operations against a serial API to talk to the bootloader, and perhaps test it against something exposing desktop serial ...
2 votes

How to send 1 byte from android to arduino

Your issue is probably this code (and similar) in the Android MainActivity: x = Integer.toString(u); Bluetooth.connectedThread.write(x); Remember that you are sending bytes, not ascii ...
user avatar
  • 186
2 votes

Controlling bigger motors with an arduino board

DC motors are typically driven with some sort of BJT/MOSFET solution that will be able to sink enough current to drive the motor because a microcontroller pin can only usually provide a few mA of ...
user avatar
  • 300
2 votes

Arduino bluetooth module as a server

There are two types of bluetooth devices for Arduino. Some are "slave" only and some are both "master or slave". There is little difference in price so you should buy one that is master or slave. ...
user avatar
  • 1,017
2 votes
Accepted

Controlling DC motor from Android device

The short answer is "you can't." For the Arduino to do anything useful it needs to have instructions telling it what to do. In your example the Arduino's job is to do something that the Android can't –...
user avatar
  • 1,636
2 votes

Configure HC-05

You are missing the line termination you must send '\n' after your data in order to receive the data or use conexion.println(entrada) rather then conexion.write(entrada)
user avatar
2 votes
Accepted

Sending data via bluetooth

I've found the problem It should be: Serial1.println("2"); instead of: Serial1.write("2");
user avatar
2 votes

HC-05 Bluetooth Module Blinking Red Light-Arduino Uno

There are several issues to consider: • Program downloading • HC-05 serial communication • Bluetooth pairing For the first issue: The serial-over-USB connection between the development computer and ...
user avatar
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 ...
user avatar
  • 335
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 ...
user avatar
  • 2,680
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 ...
user avatar
  • 35.5k
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, ...
user avatar
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.
user avatar
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 ...
user avatar
  • 1,553
2 votes
Accepted

Use Android on Arduino TFT

No. Not even remotely. Android runs on a powerful computer not a tiny embedded microcontroller.
user avatar
  • 101k
1 vote
Accepted

Using SIMCOM SIM800 as a Bluetooth SPP Client

By default i see that the Android handset i used did not have SPP profile enabled. You need to open a App which enables the SPP profile to be advertised. Then after that you can get that in AT+...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible