I'm working actually on an android application. The goal of this app, is to connect in bluetooth one device (smartphone) too another device (raspberry pi). My radio module is connect into USB at raspberry pi.
My application actually can connect in bluetooth with this raspberry pi.
First of all, I want to know if it's possible to get the name of radio module with this app (port 9100 with bluetooth?).
Second, I made flowgraph with GNURADIO. It works well if want to send informations (FM transmitter). Now I want to transform this flowgraph in java code for send information (files, music..) from smartphone to this radio module.
I found this tutorial : http://gnuradio.org/redmine/projects/gnuradio/wiki/GRAndWalkthrough
I just drawed this if you do not understand me (Sorry about my english).
enter image description here
Is it a good tutorial for my project ?
Thanks for any help.
Related
I am struggling through one issue which is related to Android, Bluetooth Dongle and PIC micro-controller(16F1517). First i have to connect through my Android device and external Bluetooth dongle. Bluetooth dongle is connected with control Box(PIC micro-controller). Then i have to send some binary command from Android device to PIC micro-controller through Bluetooth. I tried a lot but did not get any luck to get rid this peace of work. I gone through below link
Question posted by me
nbCafe link
Here i have couple of doubts:
Can i get any library or interface for PIC micro controller through
which I can communicate from Android device?
Can i get any code sample for Android, so that i can use it?
I am working on a project that including an android phone that sends simple serial messages to a picaxe microcontroller(14m2) like '1','2','a' etc.
I searched alot on the web, and I only found a way that the android smartphone first "connecting" to the device and "discover" it, the problem is that PICAXE microcontroller is NOT a 'USB' device, and it can't be discoverd by the android, that means the android will not be able to send serial messages to the PICAXE.
if theres any way to send simple pulses from android to PICAXE, please let me know about it.
EDIT: There's any way to do that by connecting the AXE027 download cable with OTG?
I do some project with communicating over serial port. You can use chineese bluetooth adapters (see on ebay arduino bluetooth), those communicate with controllers via Usart and connect to phone by bluetooth. There is sample project Bluetooth chat from google about how to use bluetooth on android. On hardware iside, you can use arduino for receiving data by bluetooth and converting it in format of your controller. You wont have to use any wires
Use Case:
I am working on a project which involves a android phone and Raspberry Pi. Raspberry Pi unit would be planted with sensors in the field and once in a while user would walk around with the phone and try to get the readings from the Raspberry Pi. So the app's responsibility is to get the data and plot the graph.
Design:
I was planning to allow user to select the location of the file once the devices are paired. As of now, identification of available devices, programmatic pairing of devices has been done. But I am unable to navigate the Raspberry Pi's file system from android. How do you achieve that?
Any help would be appreciated. In case you pointing to this resource, please explain as well (taken from selected answer here).
You may deploy a Java application on your Raspberry pi and connect it with your Android app via a bluetooth socket:
Send data from android bluetooth to PC with bluecove
From there you can execute File.listRoots() and create your own remote dir browser.
I have Bluetooth device called FEIG OBID iScan - HF reader which will connect to PC through Bluetooth and send the data when reads HF tag.I have paired the device in my Android phone and generated code like
00:07:80:9C:C9:B9 now through my andriod program how can I connect to this device and get the data from the device(FEIG) in to android device.Please give any android source code to connect and get the data.
A few years ago I also tried to connect using bluetooh on my PC and send data to a terminal and also to a bluetooh module and I managed to do that using the following example:
Bluetooh chat example
(of course you need to adapt it to your needs)
The example above contains a server and a client that will send and receive messages/data using bluetooh connection, it will also show you how to search for devices and pair them.
I also found this example and I think it will also be useful to see and understand.
Android--Bluetooth-Connection-Code-Sample
Cheers
There are a number of threads regarding this topic, but I haven't been able to troubleshoot my issue yet and haven't seen much talk of using XBee-4 Nano. I am working on a Arduino/Android project where I need to have a remote XBee monitoring a button, once the button is pressed an notification is sent to my Android phone and I receive a message in the task bar saying the button was pressed.
I've been working on this for weeks... I've read many home automation book, walked through the XBee Lab manual, searched many forums, and installed the tools for Amarino. and the issue I'm having is not understanding how to get the XBee and Arduino to work enough to be discovered by . The Android portion I will be able to take care of.
The tools I have are
http://www.makershed.com/Xbee_Series_1_Starter_Kit_p/mkpx19.htm
(2) XBee 802.15.4 (Series 1) embedded-antenna modules.
(1) XBee USB Adapter for easy PC connection.
(1) XBee 5V/3.3V Adapter for microcontroller connection.
http://www.gravitech.us/xbadforarna.html
(2) XBee-4 Nano (shield for XBee and Arduino Nano)
(3) Arduino Nano
(1) Arduino Uno
X-CTU
Putty
Arduino IDE with Amarino
Android Phone
My ideal setup is connect configure XBee and Arduino Nano on the XBee-4 Nano shield to monitor a button, connect XBee/Arduino to Android phone, then on button press, phone receives a notification.
I am able to monitor the button and turn on LED on button press using the Adruino Nano. How do I sent this data from the Arduino to the XBee using XBee-4 Nano? Are the TX->RX and RX->TX already connected and the XBee will just broadcast the data, or do I need to manually set up jumpers to do this?
Next question is how do I discover the XBee module from my Android phone? I have successfully completed the Bluetooth chat project between my 2 XBee's. I have installed the Amarino on my phone, but when I have the XBee hooked up to either of the adaptors or XBee-4 Nano, I am unable to discover the xbee. Why is this? Is there something with the baud rate or other setting I need to update to be able to do the discovery? Is the issue with the adaptor I am using? There is power to the XBee since I can light up an LED using D05 = 1 and ground.
If you can point me in the right direction on how to use the XBee-4 Nano and how to discover the XBee from an Android phone (using Amarino), it would be much appreciated.
Thanks
Are the TX->RX and RX->TX already connected
yes, just look at the schematics: http://site.gravitech.us/Arduino/XBEE-4NANO/Schematic.pdf
how do I discover the XBee module from my Android phone?
What do you mean for "discover"?
if you mean when the xbee is plugged, you cant easily. xbee is transparent, they are like connecting cable directly. but they respond to come AT command, if i'm right, so you can try to use them (but probabily the BLUETOOTH card will respond), unless the request is done on the mini side, and only a specific signal is sent back to amarino.