[Q] Android and Arduino - USB Master - Android Software Development

I'm having no luck getting my cheap Android tablet to connect to an Uno.
The tablet has USB master, and you can plug a keyboard in - which works fine.
But it does not seem to detect the Uno, if I open a terminal on the Android and do ls /dev/tty, I just see a big list of devices - but nothing that stands out as being the Uno.
I was hoping to write an Android app (I can do that bit) to talk over USB to the Uno.
Anyone got any ideas on how I find the device? Anyone got this to work?
--
Simon Monk. memeapps.com

Related

[Q] USB Host Mode

I hope it wasn't asked before... tried search but nothing came up for Droid in HD2.
So is there a way to enable the Host-Mode on HD2 with Android?
Would be great to connect my selfmade external HDD which i use for travel to view some videos or to ahve more music without buying that expensive 16 or 32 GB cards.
Don't know if it works on android, but I read in ubuntu it does. You need a special cable with power supply though. You should try reading this
Android was not made for supporting USB host mode. So, although the HD2 is USB-host capable, you won't find an easy way to enable it on Android
You've got other solutions : if you don't mind using Windows Mobile, you can try Zeno USB host drivers on your HD2, or if you are a Linux fanatic, you can use Ubuntu, just to play your music & videos from you hard disk.

[Q] How to open ports on rooted Nook ST?

Hi all:
I would like to use an App to control my Logitech Squeezeboxes via my rooted Nook. However, the App does not find my Squeezeboxes on my network. I did some testing and found the problem:
On my rooted Nook, the ports 9000 tcp and 3483 tcp/udp seem not to be open (as seen w/ a port scanner).
However, these ports are used to find & communicate w/ the squeezeboxes.
-> How can I get these ports opened on my Nook??
(Note: This is a Nook internal problem - it is not the router / firewall blocking these....)
Thanks for your help.
Heiner
P.S. I would have posted in the android dev section, but as a newbie, I am not allowed to.....
xdaolli said:
Hi all:
I would like to use an App to control my Logitech Squeezeboxes via my rooted Nook. However, the App does not find my Squeezeboxes on my network. I did some testing and found the problem:
On my rooted Nook, the ports 9000 tcp and 3483 tcp/udp seem not to be open (as seen w/ a port scanner).
However, these ports are used to find & communicate w/ the squeezeboxes.
-> How can I get these ports opened on my Nook??
(Note: This is a Nook internal problem - it is not the router / firewall blocking these....)
Thanks for your help.
Heiner
P.S. I would have posted in the android dev section, but as a newbie, I am not allowed to.....
Click to expand...
Click to collapse
Does nobody have an answer to this?
Any help would be greatly appreciated....
Thanks, Heiner
Huh?
A port scanner looking at the open ports on the Nook is not going to show much except 5555 for ADB.
Are you saying that you can't connect to a 9000 port on a Logitech whatever-it-is from a Nook?
Are you using an app from Logitech or are you writing one?
Renate NST said:
Huh?
A port scanner looking at the open ports on the Nook is not going to show much except 5555 for ADB.
Are you saying that you can't connect to a 9000 port on a Logitech whatever-it-is from a Nook?
Are you using an app from Logitech or are you writing one?
Click to expand...
Click to collapse
Hi. Thanks for your feedback.
And yes: I can't connect to a 9000 port from the Nook.
(Also, I am using a Logitech App, which is not working.
There is a similar App form a 3rd party, which works. But I would like to use the Logitech one)
However, I don't understand your comment 'looking at the open port....'. Why should I see only 5555?
I also so 21 for FTP, but not the ports I need.
Again, I am a newbi, but that is exactly what I want:
Looking at port 9000 from the nook. To my understanding, that needs to be open on the Nook - and it isn't.
(On the other end - a Synology NAS, where the Logitech Squeezeboxserver is running, I can check the relevant ports and they are open.)
Any ideas?
Heiner
If the 3rd party app works, almost certainly your NST is permitting traffic out on port 9000.
What Renata means is this: you are on a PC trying to connect to 9000 on the NST. Nothing is listening on 9000, so there is no connection. (I am interested that ftp is listening, and wonder if that might not be a side effect of how it is rooted or an installed app.)
The test you need to do - and it was probably successful but not visible to you, from the success of the 3rd party app - is to issue commands using port 9000 FROM the NST itself.
The simplest way:
connect via ADB
su
from the ADB shell, try
telnet a.b.c.d 9000
where a.b.c.d is your squeeze / synology box.
If you get an answer, then you have reached it, and the problem is with teh Synology software.
I run a DS 409 at the house, and the Android client for the box, well, it is not very good.

Gaming on phone via laptop

Hello, is there a way to control s7 edge using laptops keyboard and mouse (preferably by connecting phone to laptop with usb) for playing games like Modern Combat? Or even stream/mirror to pc?
there maybe by using android SDK. this program acts like an android emulator on the pc for your S7E. There maybe one draw back in that the device may become very slow because al commands go through the usb cable.
You can buy a bluetooth gamepad, and the problem is solved Or you can download something like an Android Emulator (I don't know if I can tell you the name), and they already have the settings for Keyboard and mouse (I think).
Finally found a well working android emulator called Nox, its perfect for playing games like Modern combat
I"ve seen a computer mouse or keybord work with the OTG adapter that has been shipped with your S7, you could try that !

Newish Device - Mod for what purpose?

Ok so I'm just going to 'not' think like a mad scientist for once and await the marvels that I hope a should be unveiled by Someone..
So I got a replica-ish Cast Dongle for ten bucks..
Standard micro USB to hdmi
mira/dlna/airplay support
1 gb ram x2core
Labelled as Aircast.
Noted Rockchip-set.
1. What is the best way to get more info on the hw ki like specific model etc?
2. The ugly landing page at 192168491 does very little and I've so far failed to pair with Win 7 pc
(mirror / bonjour / chromecast) detected nothing.
3. Android WiFi Direct works
4. Bubble / Local Cast sometimes works
5. Android YouTube app doesn't see same with kodi
My question is
What potential does this m6 device have..?
What kind of modifications are popular and safe?
(eg id like to run Kodi direct off this device, is that a possibility?
I basically want to turn it into a set top box / smart TV + mirroring would be bonus)
What's the potential here And where would be a good place to start?)
Never worked with media microcomputer so I'm all ears.
Tia

USB Problem connecting Drone RC Controllers... (Mavic, Anafi)

Hi !
The last days i have been trying to get DJI GO (and Freeflight 6 for Parrot) to run on the Oculus Go. (DJI Mavic & Parrot Anafi Control Apps)
As you all know there is a way to let Android apps run in a kind of “cinematic mode” so it will be visible as a 3D Window and controllable by Oculus Go Virtual Controller.
(That is via Oculus TV sideloading)
So that worked at some point. (i can detail that later if things are working)
But now as i have an older DJI GO 4 running and the latest Freeflight 6 running there is a USB Problem of generic nature as it happens on DJI GO 4, Cuva, Freeflight 6, AR.Pro, … --> All apps that should interface to drone remote Controller via USB. (edited)
So its not an App-Level Problem but a general Oculus GO USB thing i fear.
(I have been using all kinds of OTG devices just fine until now, but the Drone Controllers should work as host devices like a PC or Mac)
If i have ADB enabled the connection of Mavic RC or Anafi RC is simply ignored (well its charging but thats all).
If i disable ADB there is a message that the “connected USB device wants ro access folders and files”. I can press “accept/allow” and the Dialog goes away. BUT that Dialog comes again after some seconds.
Drone App will never “see” the RC.
I guess when i plug in the RC, the Oculus GO wants to present itself as MTP device.
But thats sure not what the RC wants.
Do you have any info on how a “normal” SMARTphone operates with the RC ? USB mode or whatever ? If i would learn that i may learn how the Oculus Go can be convinced to work in the same way…
Greetings,
Ender
Also thought this
enderffx said:
Hi !
The last days i have been trying to get DJI GO (and Freeflight 6 for Parrot) to run on the Oculus Go. (DJI Mavic & Parrot Anafi Control Apps)
As you all know there is a way to let Android apps run in a kind of “cinematic mode” so it will be visible as a 3D Window and controllable by Oculus Go Virtual Controller.
(That is via Oculus TV sideloading)
So that worked at some point. (i can detail that later if things are working)
But now as i have an older DJI GO 4 running and the latest Freeflight 6 running there is a USB Problem of generic nature as it happens on DJI GO 4, Cuva, Freeflight 6, AR.Pro, … --> All apps that should interface to drone remote Controller via USB. (edited)
So its not an App-Level Problem but a general Oculus GO USB thing i fear.
(I have been using all kinds of OTG devices just fine until now, but the Drone Controllers should work as host devices like a PC or Mac)
If i have ADB enabled the connection of Mavic RC or Anafi RC is simply ignored (well its charging but thats all).
If i disable ADB there is a message that the “connected USB device wants ro access folders and files”. I can press “accept/allow” and the Dialog goes away. BUT that Dialog comes again after some seconds.
Drone App will never “see” the RC.
I guess when i plug in the RC, the Oculus GO wants to present itself as MTP device.
But thats sure not what the RC wants.
Do you have any info on how a “normal” SMARTphone operates with the RC ? USB mode or whatever ? If i would learn that i may learn how the Oculus Go can be convinced to work in the same way…
Greetings,
Ender
Click to expand...
Click to collapse
I have had the same thoughts about running freeflight on the go.... I don't exactly know how the app interfaces with the host device, so not much help there, but if you get it going, or I can help you out in some way, let me know! That would be awesome if you could get it going.
Hi,
i have not yet got it working, actually i did nothing more except waiting for the major FW update of the GO that should include UTB OTG Storage support.
I hope that will open up FF6 as well.
On another note FF6 works *perfectly* on a Mirage Solo Daydream Standalone Headset.
They really cared for a goos 2D to 3D Legacy App conversion !
Greetings,
Ender
Well, FF6 just had a major update also. May be worth looking at.
Has anyone looked into this lately?
Hi all,
Any news on this one?
Please see this thread. I am trying to run DJI fly on the Oculus Go.
https://mavicpilots.com/threads/dji-fly-app-on-oculus-go.77954/#post-882843
No success so far connecting the drone.
Any help will be appreciated.
Thanks a lot

Categories

Resources