A robot that was built with NXT parts and NXT motors but is controlled by the Google ADK (Open Accessory Development Kit) Arduino Board by receiving accelerometer sensor input from an Android Nexus One. The ADK Board acts as a USB Host to the Nexus One and is able to send and receive commands. The NXShield sandwiches with the Google ADK Arduino Board and interfaces with NXT Sensors and NXT Motors.
Paste the following link in your browser:
youtube.com/watch?v=c3vBLH3YRo0
Let me know what you think, I will be putting a DIY instructions and documentation soon.
Related
I have an ePad (Android 2.1) that mounts usb devices in the normal Linux way so that I can use libusb to access them, I have managed to control my usb robot arm using an NDK app. Before I move onto making it a proper app instead of a hack job I wanted to know if the usb device files are standard to Android or if it's specific to my system.
Put it this way, if I make a nice cuddly app is it going to fail on most devices or work on most devices? (ones with USB OTG interface)
Sorry, I understand this could be a 'how long is a piece of string' type of question.
Many thanks,
Richard e Collins.
After a few hours of routing about on the internet I found an article on an exploit on the init daemon, google "android-root-source-code-looking-at-the-c-skills". This gave enough insight for me to deduce that this functionality I am getting is present on at least anything running 2.1 and above and is not a customisation unique to my device.
Has anyone successfully used the USB Accessory Development Kit given away at GoogleIO 2011 with any of the EVO Gingerbread 2.3.4 ROM images floating about?
I have one of those kits, have downloaded the SDK and ADK, and followed the installation instructions. When I install Demokit.apk on a borrowed non-rooted "generic" Nexus one with Gingerbread 2.3.4, the app on the phone controls the LEDs and relays on ADK board set as expected.
However I've also attempted the same with the gingerbread-evo-deck-1.2s ROM image on my own unactivated EVO (wireless only, no 3G or phone) without success. My experience is much like that of ObsidianX on the thread '[DEV][AADK] Google's Arduino based "ADK" Working on Nexus One', where an EVO slows to a crawl as soon as it is attached to the ADK board and the ADK does not respond even after waiting out the now doggedly slow UI. I'm not meaning to disparage the ROM image I'm using - it demonstrates a lot of very good work - but I would like to be able to use the USB accessory capability. Might someone be able to suggest an alternative ROM image that does work with USB accessories? Thanks.
Hi xda dev team !
I would like to write an android app which sends serial data (over USB as bridge) to a hobby
circuit. The app should work on my Motorola Defy+ (android 2.3.6) and look like
a text editor (with some exceptions) - the window content should be sent to my circuit.
The problem is that the only programming language I know is C and my Linux knowledge
is minimal, almost zero ! FTDI offers some "java drivers" on their site for USB to serial converter
chipsets, but those work only on android 3.1 and above (USB host capability on android device).
An alternative would be the use chipsets like FT 311/312 which act as usb hosts
and comunicate over AOA (Android Open Accessory) Protocols with android devices.
How do i know which AOA protocol version my phone has (i want to make my app upwards compatible
so it can be used by as much android devices as possible)? Also, which IDE should i use
taking into account that i'm a beginner in this matter ? Can somebody give me some tips
where to start from ?
thanks!
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?
Sent from my thl T6 pro using XDA Free mobile app
I want to control a ioio breakout for andriod via another android phone and ioio combination .....
Any ideas / thoughts and input generally is welcome .
Basically I would like remote control of as many channels as possible long distance like a android ioio combo rc set up with receiver and a transmitter / controller sending the control data to the radio controlled whatever ...
I intend to breakout of the android phone with the ioio to afford numerous gpio and thus control of stuff long range all controlled by a ioio controller set up attached to another android phone which is communicating ( some how ?.... Internet ?? ) to the first android phone and affording control through the ioio breakout which is inturn attached to the stuff to control.
I have looked at a arduino and gsm modem combo but there's only two pwm outputs which is no good especially when ioio has loads of servo outputs and a plethora of all else to boot hence I figure I best settle down and get started.
The 3g modem for arduino is a big investment beyond its value I thus far think hence ioio.
I appreciate that there's actually quite a lot to consider to have the arrangement all singing all dancing and I really know nothing of use beyond having a vague plan of attack and a general lack of direction so any input with abbreviations etc explained would be wicked as I have ADHD and otherwise waste ages reading how to to never actually recal what I've read unless its posed in a very logical progressive format.
A hundred thankx
Mat
Hi there,
I'm sorry but I don't find anything related to your question except this thread where you can ask directly: [APP][2.3.3+] IOIO Bluetooth Control Device - Android control hardware devices
Or you can start asking in one of this Q&A forum:
> Android Development and Hacking > Android Q&A, Help & Troubleshooting
or
> General discussion > Questions and Answers
Good luck