[APP][3.1+][BETA testers needed]ArduinoControl - Android Apps and Games

I am working on an app to control Arduino micro-controllers, or really any serial device, from an Andriod tablet/phone.
Right now all that is done is a basic serial terminal sending and receiving tool, but there is much more to come, hopefully with multiple views with things suck as sliders to control anything you could imagine.
It requires a tablet with a USB host port (large computer end) or an adapter of any kind to allow you to plug the Arduino into the phone/tablet's micro USB port.
This app DOES NOT require any special Arduino, any one with a built in usb to serial controller will work. This includes the Mega, Uno, and most others.
I am not 100% sure if it will work without a usb host port, but it should as long as you give the arduino external power.
If you are interested in helping me with testing please reply here or PM me with the following info:
Device(s): phone/tablet and model/common name
Android version: 3.1, 4.0.4, etc
Rooted or not: yes or no
ROM+ Kernel: stock, CM9, CM10, AOKP, etc
Arduino(s): Mega, Uno, etc
Knowledge as to capability to trouble shoot: none, I know arduino and android well, I know enough to get by, etc
EXAMPLE in my case
Tablet- Acer Iconia tab a500 (Picasso)
4.1.2
Rooted
AOKP JB unofficial with the default kernel
Arduino Mega ADK and Uno
I know what I'm doing pretty well, so I should be able to help troubleshoot any problems to figure out the cause.
Thanks in advance to anyone that wants to help out
If you are interested in getting in on the project itself, let me know, Id be happy to accept any help as I am pretty new to android app developing.

I'd love to test this.
I have an Arduino Uno and an Acer Tab A500 on 4.0.3 rooted.
I have an ok knowledge of both Arduino and Android and I guess I should be able to help out here.
Though I have not much knowledge about Android development. Though I'm quite fit in the Arduino C language.

Related

USB host capabilities.

After searching and not finding what I was looking for, I always go to XDA. What android phones from Verizon have usb hosting capabilities. Specifically I want to connect and external hard drive to transfer files. I know you're probably wondering why I just don't use a computer, well my 4 year old son made my computer unusable. Thanks in advance for any help.
Sent from my DINC2
Just look at the market
Search: "usb host"
First result is okay
The problem is:
- Your hardware need to support it
- You need to be root.
But you can try!
---------------------------------
Fernando Setien
I've tried the usb host controllers app, but that was a no go. I have an incredible 2 that is rooted. I should have included this in my first post, but I failed to.
Sent from my DINC2
Also the kernel needs to support it and no stock kernel does that I know of.
Supposedly, Android 3.1 and newer support USB host mode. In some cases you'll need special adapters and/or a powered USB hub. Unfortunately, I'm too new of a user to post outside links (the forum won't let me), but there's much documentation on the Android developer site regarding host mode v. accessory mode, and at least one article/forum thread showing an Android 3.1 tablet with an Android 2.2 phone plugged into it, the tablet reading the phone's logs over the USB connection.
In other words, it's possible, but hardware limitations may make it difficult, as will whatever version of Android you're using.
YellowApple said:
Supposedly, Android 3.1 and newer support USB host mode. In some cases you'll need special adapters and/or a powered USB hub. Unfortunately, I'm too new of a user to post outside links (the forum won't let me), but there's much documentation on the Android developer site regarding host mode v. accessory mode, and at least one article/forum thread showing an Android 3.1 tablet with an Android 2.2 phone plugged into it, the tablet reading the phone's logs over the USB connection.
In other words, it's possible, but hardware limitations may make it difficult, as will whatever version of Android you're using.
Click to expand...
Click to collapse
I am running a ICS and it is not enabled by default. It maybe on Tablets but not mobile phones. A search will lead you to threads about it asking for it to be add to the kernel but you remove options when you do and there has not been alot of want for it.
Native support
At least Samsung Galaxy SII and Note does usb Host with the default ROM. You can see with cable you need (witch could be an issue too) on many blogs.

Android for Lenovo Yoga 13

Hi All,
I have been a long time XDA user, and follow and utilize a number of threads for my android devices!
(
For the first time ever i have not been able to find what I'm looking for and so I send out a plea for help (or lay out a challenge if people prefer them) !!
I have a lenovo yoga 13 and can run a live version of android 4.2 however i do not want to complete a hard drive install due to the lack of support for the wifi and BT.
I was wandering if anyone would be able to create a yoga 13 ROM including the driver for the realtek RTL8723a wifi/bt chip.
This has been working on Ubuntu elsewhere.
My knowledge does not extend passed installing ROMs so the process to learn this is beyond my grasp. I am happy to donate to developers should this help!!
I would love to do this myself but would not even know where to begin.
I have managed to install the relevant version of android and touchscreen etc works brilliantly, i just need the ability to connect to the internet.
I guess there are two options and some advise would be great:
1 - could i use a usb wifi adaptor that would be supported by Android rather than the built in realtex card.
2 - where should i begin to look or research if i wanted to learn how to modify the install in order to include the correct kernal or support for this version (I am assuming using the working ubuntu drivers in some way). Any recommended reference materials to get me started. I appreciate this option may require quite some time to fully understand android development.
Thanks
ussasx said:
I would love to do this myself but would not even know where to begin.
I have managed to install the relevant version of android and touchscreen etc works brilliantly, i just need the ability to connect to the internet.
I guess there are two options and some advise would be great:
1 - could i use a usb wifi adaptor that would be supported by Android rather than the built in realtex card.
2 - where should i begin to look or research if i wanted to learn how to modify the install in order to include the correct kernal or support for this version (I am assuming using the working ubuntu drivers in some way). Any recommended reference materials to get me started. I appreciate this option may require quite some time to fully understand android development.
Thanks
Click to expand...
Click to collapse
I am still really struggling with this and some help would be massively appreciated :/
For those interested
ussasx said:
I am still really struggling with this and some help would be massively appreciated :/
Click to expand...
Click to collapse
For anyone that is interested in android on the Lenovo yoga 13 check out console os
https://www.kickstarter.com/projects/mmv/console-os-dual-boot-android-remastered-for-the-pc
I am a backer and it looks like it will be funded.

Anyone know about USB Dev?

Hi,
Android Dev Noob and just looking at the SDK I have this question which probably someone will be able to tell be straight away.
I want to relay USB Host port data to a USB accessory port.
I am looking at the USB Host APIs >= Andriod 3.1
What I want to do is be able to relay the keyboard, mouse and touchscreen that I have connected on the host port and relay that to the OTG.
So here is my noob questions before I waste loads of time.
1... Is it possible to create device manifests on the fly.
I was thinking I could just make devices connected on the host appear as if they are on the accessory port.
If not then I guess I could create some default manifests and pick the most relevant.
2... This is hardware related but many tablets and android boxes have separate usb host & otg ports?
It is possible to have a host and accessory going at the same time.
This might makes things a little easier as the rationale is that I have a windows 8 machine and an RK3288 android box and I want to share the keyboard, mouse and touchscreen.
Video is easy as I can just swap the input between pc & hdmi.
I was thinking if I plugged all my devices into android I could just have a hot Key to redirect to windows 8 or don't capture and use devices on android.
I thought it might be a much simpler way without network needs and have read there are gesture problems with KVM products such as Synergy.
What do you think is it possible, does anyone know if this has already been done and there is an app?
Also if you have any better ideas or some pointers where to start all will be welcome.
Many Thanks
Stuart

help with developing small app for usb/serial/relay control

Hello i just signed up to forum so i couldnt put this in the appropriate forum but my question is
I would like to make a small app to control a usb to serial adapter that has 4 relays built in that i would like to switch on and off. i was thinking usb to rs232 adapter i saw ftdi has an android samples and hardware that may be suitable i also saw several usb serial adapters on fleabay i couldnt put links to any of it being new and other places but im not sure what would be best suited for the task. i have eclipse running along with android studio but im no programmer by any stretch of the word im able to mostly edit code or do things along that line. I did use the app inventer tool on mit website to make a concept apk but thats as far as i got so far. anyone offering any info on where to start on the hardware side and also im not sure of what to use as far as a designer/programmer/compiler the only programming i have done has been visually so something along those lines would be great.
the concept app was 4 on off sliders one for each relay
any advice or help appreciated thanks
Ryan
I wanted to add some more info my device is a in the family of AN-21 U 4.2.2 car stereo dvd nav unit devices from china i am not rooted but already have one ftdi usb serial device installed and working(obd interface) so my feeling is im all set with the ftdi drivers.
moderator can this be moved to appropriate forum? or do I need to make 10 posts to be able to make one there myself?

[Q] USB OTG and charge

I am aware that there are threads about doing this with a 100k resistor or a 36k resistor on the ID pin. However, this requires kernel support for such a cable. Would it be possible to compile a kernel with support for this for the OPO? If a kernel dev sees this, I would be willing to help write it and/or guinea pig it for you, I do have some java / C++ experience, but none with android kernels.
I've the same issue.
For my Nexus 7 (Tilapia) there is an special build based on CM10, for other devices it seems to be working with an Y-adapter.
So I'm a little confused, it is more than only switching PIN4+5 with an 100k or 38.k resistance. Due to the USB specification it should work, others say that it is only an recommendation. In the end it depends if that option is implemented in the hardware, wright?
Can anybody give some more detailed information about that? That would be great..
Back to my device: What I will do is to compile my own ROM with modification of the USB. Until now I compiled the AOSP-source, flashed my device with all vendor drives in it (and the device is working as well ). Also I can do changes with Eclipse,
It there a link or a tip, where and what to change in the AOSP-source? I'll be totally satisfied with a very simple solution e.g. that the USB controller is switched to the 'being charged'-Mode all the time (unindependend of host/client mode)
Can somebody help / give tips / links or also book / tutorials to me?
Thanks in advanced!

Categories

Resources