I have mostly a general question, so I'm sorry if this is too broad. But I am working on plan for a robot and I wanna connect devices together.
Basically, I want to have an Android device connect to an Arduino Uno via Bluetooth, and then the Android Device connect to either another Android, or to a Bluetooth controller. The reason for this is that I want the main Android device to be used as a controller, and feed instructions to the Android device connected to the arduino, and that device to the arduino, and carry out that instruction. But is that even possible? If not, how can I work around it? And if it is possible, any examples?
Summary:
*Android Device to Android Device to Arduino via Bluetooth
*First device as a controller, second as a brain to arduino
*First communicates with second, second communicates with arduino
Yepp bro it's possible i did with some other development board other than arduino
but the important thing is concept and it's same for all developement boards.
In my project i created a connection between an android mobile & robot and then controlled its movement through an App like picking up an object using robotic arm and its motion.
Related
I am coding an application in Android Studio that uses analog inputs from an arduino. I am trying to send analog input from an Arduino Pro mini to an Android App. However, I cannot connect straight to the phone (USB port isn't available). The method I've thought of is to connect both the phone and Arduino to PC and read the Analog input using Android Studio and Use my phone to run the application instead of an emulator. Would this work in real time.
Is it possible to have the Android Studio run the app and the app still reads information from the Arduino real time? The application reacts to analog inputs from the Arduino. So I need to find a way to access the arduino in android studio and run the app through android studio in place of its emulator
I can't find any sources so if anyone has a clue please help me. Thank You!
You should post this to the Arduino StackExchange forum: http://arduino.stackexchange.com.
A couple things:
Android Studio is just for developing Android apps, it's not going to help you read data from the Arduino. You would need to write a separate app for the PC that would moderate between the Android and Arduino. Not fun.
When you say "USB port isn't available" I assume you mean the host port. Actually, many newer Android devices are able to be a USB host, so you would just need the right dongle to be able to connect the two. Then you would use the classes in package android.hardware.usb like UsbManager to connect to the Arduino.
Another thing you might think about is getting a BlueTooth shield for your Arduino and connecting to the Android with BlueTooth.
Hey! Wanna be a real Evil Genius(TM)? Write some code to flash the LED on the Arduino like Morse Code or Navy signaling, then write some Android code to read the video from the camera and turn the LED flashes back into data! Impress your friends! Put it on your resume!
Just some random ideas to get you going. I think the folks on the Arduino StackExchange forum can be more help.
I'm quite knowledgeable of as3 and writing programs/apps in flash cs6. I've also played around with my arduino uno, which I've read is psuedo-java. Very little knowledge of c languages.
I've seen people using Bluetooth to connect to an arduino with adobe air. I have an xbee shield but not the little BT adapter with it. I don't want to rely on BT connection anyway. I want it plugged in directly to my spare android phone's USB port.
I have used a usbhost program to connect thumb drives and game controllers, so I know that USB hosting is possible. Tried it with arduino and i get lights. I want to write a flash/as3 program to control the arduino while taking advantage of the phone's capabilities, such as camera, WiFi, bt and also the graphical interface that I can create flash. How do I go about this? I haven't found an ane for this.
I have tested it and success with Arduino uno using blink example.Check this out if you interested in.
https://github.com/GIGATeam/UsbExtension
I'm developing an Arduino project (but this is not important). For this project I need to communicate (radio control) to my Arduino from my PC. The idea is to send the message or the instruction to my smartphone (cheap Android), which is connected to the internet over 3g. Then the phone will communicate to Arduino thank to the audio port (jack audio), sending a frequency controlled pulse, that is quite easy to do.
The problem is the communication between the PC and the smartphone.
Somebody has an idea of how to achieve that, eventually creating a simple application, or better, directly from the opened smartphone browser (android froyo 2.2)?
Which is the best server technology to use, and the faster, considering the tipical 3g ping?I haven`t found any source on the web, so I hope in your answers.
The microcontroller can be, with Wifly and this firmware https://dl.dropboxusercontent.com/u/101922388/WiflySanUSB.zip , a server (switching the led signal through 192.168.1.195/YT in adress bar) or also a client (the AD converter value is inserted in google databank).
I believe this could solve your problem: htpp://www.muzzley.com
Download C#/java sdk/nodejs and build your app in your computer (and connect it to arduino has you would like)
http://www.muzzley.com/downloads
Build your own widget to run on the side of the smartphone through this widget: http://www.muzzley.com/documentation/widgets/webview.html
note: you do not need to worry about the smartphone app. It's already done. Just build your own interface
How it will work
[SMARTPHONE 3g/4G] ---> [Computer with app] ---> arduino
I hope it helps.
My company wants to develop an Apple or Android app to tackle with an external sensor device, lets say the temperature of milk via a temperature sensor. The external device is tbd and currently under investigation, could be using a connector or WIFI or Bluetooth.
Do we need to apply for Apple MFI program to get access to the protocols used for that?
Since we do not want to implement the external device, i guessMFI license is not needed. But where do we get ressources to learn how to connect?
For Android you could do this using an Arduino Module
You can do this using Bluetooth / WiFi as your need!
Then make an Android app and communicate with the Arduino Module to get your data via Bluetooth / WiFi
For Ios/Apple
A Plus side of using Arduino
You can use Arduino for Iphone As Well as For Android
How? here you go ----> http://www.raywenderlich.com/38841/arduino-tutorial-temperature-sensor
If you really need to Know the temperature of milk via a temperature sensor here is a Full Tutorial
Which uses a Temperature sensor to find the Temperature and Query it to your Iphone
1 All the Requirements are given.
2 Cost Of all the parts with links
3 Source Code is also provided
4 Working
5 Circuit Diagrams
6 Step by Step Guide to code
7.Libraries are provided
8 Everything needed is provided for free (Software part)
Know everything About Arduino http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CCsQFjAA&url=http%3A%2F%2Fwww.arduino.cc%2F&ei=K344UpiFCo2yrgfXi4CACQ&usg=AFQjCNENSvy_VhDmp9YsE0x0X702I5teeQ&sig2=utVrSYYIMBFAFStVGq--RQ&bvm=bv.52164340,d.dGI
Tutorials :-
http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&cad=rja&ved=0CFEQtwIwBA&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DkS5C5Xhsv24&ei=g3w4UrDcLsOQkQWA44DQAQ&usg=AFQjCNHED0FWP8FpK29uEnUzxDeyh6751g&sig2=2rfcYp4Zqx5dt-KVri5sfw&bvm=bv.52164340,d.dGI
http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=6&cad=rja&ved=0CFgQtwIwBQ&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DY9R5O0mbvME&ei=g3w4UrDcLsOQkQWA44DQAQ&usg=AFQjCNHSbk25-B0KJTejgr4QewfK5aNivw&sig2=YZCyYJb_AVmvgmXVoAWLLw&bvm=bv.52164340,d.dGI
http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CCsQFjAA&url=http%3A%2F%2Fblog.arduino.cc%2F2013%2F07%2F09%2Flet-your-arduino-talk-to-your-android-phone-without-any-android-programming%2F&ei=g3w4UrDcLsOQkQWA44DQAQ&usg=AFQjCNHRdHAkS8MBau7hN3Bv5HtN-fvU0A&sig2=lboevloczOpc28XwVM9cmQ&bvm=bv.52164340,d.dGI
http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0CDMQFjAB&url=http%3A%2F%2Fforum.arduino.cc%2Findex.php%3Ftopic%3D168329.0&ei=g3w4UrDcLsOQkQWA44DQAQ&usg=AFQjCNGQE5LOB60XfXmuiJdNYbIxqAqgJw&sig2=yk3dGNYeUOitvr6a4S8DkQ&bvm=bv.52164340,d.dGI
Just to expand a little more on Metalhead's answer. If you go the Arduino route, you will need to buy an Ethernet Shield or a Wifi Shield to use Ethernet or WiFi respectively. You can use Bluetooth if you are close enough to the sensor; you will still need to buy a Shield
One advantage of using the Wifi or Ethernet Shields is that you can use MQTT to remotely monitor your sensors over the Internet.
You can also look into a Raspberry Pi. It has more processing power than the Arduino and it comes with a built-in Ethernet card. If you are a Java programmer, you can install Java in a Raspberry Pi; you can't in an Arduino.
Android also gives you the option of using Android Open Accessory if you want to communicate and control the Arduino using USB or Bluetooth. You will have to be connected to the board directly via a USB cable (if using USB to communicate) since it needs the 5V from your phone to operate.
I'm working on a course project. We are making a circuit board, which has a LMX9838 chip connected to a ARM-based MCU. I want to make an application on Android to connect the smartphone to our board using bluetooth featured on the smartphone and LMX9838 Bluetooth controller. My app will be able to send command from the smartphone to the MCU via LMX9838 and it will be able to transfer data (e.g files) between the phone and the MCU too.
That's what I want to do. But I wonder if it is possible to connect bluetooth on the smartphone and the LMX9838 bluetooth controller? And if it is possible, how can I make it? I know my question is very unspecific but you guys could give me some hints about the basic step, please. Because I've never worked with bluetooth technology so my experience in it is nearly zero.
Anyone have any suggestion? Thanks in advance!