LEO USB Host
0. The start
haha, USB host can work on HTC Leo, but with external 5V (VBUS) supply.
I already able to finish some proof-of-concept and it's working
1. About cable
First of all, about my cable: I made my own cable by hands.
You must have external 5V supply, I used output from PC USB (not mobile, but good for testing)
photo of my cable:
scheme of my cable:
(actually miniUSB have 5pins, but it doesn't matter here)
2. Software
You need USBH driver, otherwise USB Host won't work!
I am developing my own driver, based on EHCI standard.
Driver doesn't available for community yet, because it's BUGGY.
3. Some testing
I was able to connect and use:
1)USB Reader with SD card
2)USB Keyboard
3)USB Mouse
4)USB Stick memory
At the end you can connect any USB device, if you have CE USB drivers for it, of course.
Leo display driver doesn't support mouse cursor, so mouse is working without cursor...
Because Windows CE support only FAT filesystem, NTFS partitions can't be used.
Also HTC's XT9 not very friendly for USB keyboard input.
4. Look
Some videos (haha, the Flame's camera is too bad and I couldn't use Leo's camera, because it's main object in my small cinema )
so, sorry for bad quality.
http://www.youtube.com/watch?v=wwq8Ia3o0UE
http://www.youtube.com/watch?v=1XrCUS_WDaU
5. Status
At this moment the USBH stuffs are not stable. Sometimes device can hang, so you need perform soft reset. Sometimes it can't detect any device. Also you can't switch mode back from Host to Client...
When I make it at least usable, I will release it
-CotullaCode
Fantastic!! You're a genius.
wow! first HSPL, now USB Host! Legend!
nice job, keep it up!
Is there theoretically a limit on the size of the SD card that can be used? Can I order my 64 Gb card already? lol
This is great! Wait... not just great - this is insane!!!
Keep up the good work!
Hahaha epic win. Dude you gave us HSPL, now this... wtf comes next?? TV OUT? FM radio transmitter or RDS?
damn nice!!!
where do you have the knowledge from? where do you work??
are these "creations" hobby - based?
keep up your work, its really fantastic
Well done Cotulla!
unfortunatelly i cannot understand well your suggestions regarding the cable.
In the drawing in fact you show a "miniusb connector" (htc uses a microusb) , a "usb plug" [that seems being a male usb connector] and a sort of "power injector" adapter.
On the contrary in the images (and in the videos) we can see see two "female usb" connectors and a "male usb" connector (i understand that is to get power from the pc. is this correct?).
Can you please clarify/better explain pin connections.
Looking forward to have the chance to test your new driver
i would in fact like to start testing your cable with available ones.
thanks
with the linux sources of the QSD8* driver available it's a good base.
wait until we have linux working on the leo. then you can also make use of all those devices you attach
e.g. you can use mass storage devices with all file systems known to man, any input device.. etc
Hahaha epic win. Dude you gave us HSPL, now this... wtf comes next?? TV OUT? FM radio transmitter or RDS?
Click to expand...
Click to collapse
built in coffee-maker?
where do you have the knowledge from? where do you work??
are these "creations" hobby - based?
keep up your work, its really fantastic
Click to expand...
Click to collapse
I am still studing Yes, it's my hobby
but I already have big experience with CE hacking/coding (few years...), so it's possible for me do such things...
miniusb connector" (htc uses a microusb)
Click to expand...
Click to collapse
this scheme is old. It was designed for Diamond. (Dmd have MiniUSB, not MicroUSB) but my diamond died later (oh, I will remember him in my heart when I got leo I continue to develop USBH...
On the contrary in the images (and in the videos) we can see see two "female usb" connectors and a "male usb" connector (i understand that is to get power from the pc. is this correct?).
Click to expand...
Click to collapse
yes. my cable have two female usb connectors and one male usb connector.
I connect USB device (mouse, kbd, reader) to one female and connect HTC MicroUSB -> USB cable to another female connector.
Male connector used as power source from PC.
clear? if not, I can make better scheme....
Also maybe instead of such cable we can use USB self powered Hub.
Woow, you know I have only two words: YOU ROCK !!!
Thumbs up, wish you fix the driver bugs soon and thanks for the great news.
P.S.: Might sound stupid, but do you think there's any chance, that other chipsets like QC MSM7500 have the hidden USB-host function too?
thank you for quick and kind answer.
A clearer full scheme of your cable as is (don't worry of microusb) would be welcome. i would like to understand which wires are connected to which pin and which are eventually unused.
I have tested various "powered" test connections [and also a powered hub) with some old drivers i still have from my old pda's and recently also with Zeno USB Host Drivers v6.0a (2009-02-12) but without any success.
regards
antoniof said:
A clearer full scheme of your cable as is (don't worry of microusb) would be welcome. I would like to understand which wires are connected to which pin and which are eventually unused...
Click to expand...
Click to collapse
At the first scheme it looks easy. You just connect the to DATA wires from a female-USB to a microUSB DATA wires and then to get the external power you need to rip up a USB male cable and connect the black and the red wire to the black & the red wire of the USB female. Data wires of the male USB remain unsused. Hope I understood it right.
Hey cotulla were did you find these hidden usb host functionalities? on what dll? is it specific to qsd8xxx devices? i would like to study it, see if i can find it on my acer s200.
thank you farokh, but i'm afraid some piece of info is still missing:
a) are the data wires in the picture "straight" (standard microusb data pin to standard female usb data pin) or eventually crossed
b) what about power wires between microusb and the female usb? have they to be connected or not.
Since the handmade cabling by Cotulla seems to be working i would highly appreciate to have from him his very scheme female/female/plug with specification of the used pinouts of each connector to try exactly replicating it.
as alexnvidia said, your a legend ,,,,, thnx... will be waiting to give it a try
wow you kick htc's a**, you are our hero
great work looking forward for final release ...
Very nice work you are doing there. Keep up the good work!
Related
Why only one usb!!!!!!
I think that anotherone may be very very usefull....
OR NOT?
Anyone agree?
For what?
pitt1983 said:
Why only one usb!!!!!!
I think that anotherone may be very very usefull....
OR NOT?
Anyone agree?
Click to expand...
Click to collapse
What do you wanna use it for? havent used mine a single time since i got the device.
ehm..
ehm..
usb key and mouse,
usb key and an external hdd
2 external hdd
mouse and external hdd
2 usb pen
an external dvd that need 2 usb
included hub need 2 usb
and i think many many many others uses
You get a free USB hub with Ethernet !!
Included in the package is a USB hub with 3 ports, AND an ETHERNET port !
Nice... I really do like my device
pitt1983 said:
ehm..
included hub need 2 usb
Click to expand...
Click to collapse
really ? why would they put a usb hub that does not work with the shift... seems weird !
everybody here is using the usb hub without any issue I believe.. because they would have complained earlier
The (much bigger) MacBook AIR also has only one USB port... and Apple doesn't include an 3port-USB-Hub with embedded ethernet port - the shift does.
But there are of course also technical reasons (besides space): Power! An additional USB Port would require additinal power (up to 0,5A at 5V) - thus, the internal power system must be bigger sized for this (and an "oversized" internal power system means: Inefficent under normal operating conditions).
And remember: Most USB Disks draw more than 0,5A from the USB port, especially at spinup time...
pitt1983 said:
included hub need 2 usb
and i think many many many others uses
Click to expand...
Click to collapse
not true. Did you try it ?
no need usb?
so noone need another usb?
I love my shift! i waited for it one year.
but i think that one more usb port can be more useful.
i repeat. LOVE THAT SHIFT!
McDoPDA said:
not true. Did you try it ?
Click to expand...
Click to collapse
if you use htc hub and two portable usb hdd you can't use them. or if i use an external dvd that bring alimentation by usb i can use it.
sorry for my english.
pitt1983 said:
if you use htc hub and two portable usb hdd you can't use them. or if i use an external dvd that bring alimentation by usb i can use it.
sorry for my english.
Click to expand...
Click to collapse
ok I see what you mean .. mmh well.. maybe you can find an usb hub with external power ? it would solve all the issues
external power
koala996 said:
ok I see what you mean .. mmh well.. maybe you can find an usb hub with external power ? it would solve all the issues
Click to expand...
Click to collapse
when i'm in office or at home i use an external power cable directly connected to the htc hub. but is not comfortable.
and when i'm out or in others places i can't use external power cable.
in my opinion not comfortable anymore.
Isn't the small USB port at the back of the Hub just power in? I didn't try yet, but it is obviously a IN port.
Axel
These usb options are great but I think you missing the point of the shift.
The shift is supposed to be a portable device, are you really going to bring all those wired devices with you? Do you really want to be connecting all that up each time you get to work or your desk at home? everyday?
Why not use bluetooth devices?
keyboard and mouse -bluetooth for sure.
Same goes for the pens, portable scanners and printers almost all of them can be found with a bluetooth options.
Hell I even use bluetooth devices for the serial connections on the routers and switches I work with.
Now your external dvd and hardrive to replace those you have to get creative -
For home and work I always map a drive from a desktop machine.
On the road you have a couple of options with flash drives at 16gb for $50-70 bucks do really need that old external harddrive that uses two ports?
32GB flash drives are now as low as $150. Quite few dvd's you can fit on that!
If you really want to be free of carrying stuff around sign up for sugarsync or some other online service and never carry your data again.
I almost never use the external usb hub that came with the shift. It is a last resort item for me, destined for the bottom of the laptop bag. Wifi, 3g and no cables will always be prefered over that thing.
You may like sticking with usb cable/dongle devices but consider switching a few out for more wireless solutions and I think you will like your shift a whole lot better. That rats nest of cables in your laptop bag will shink as well!
I am not knocking you question or the advise others have given just offering an alternative.
My dream is for somebody to find a way to charge the battery on my shift without a cable connected then I will die a happy man.
EinSiedler said:
Isn't the small USB port at the back of the Hub just power in? I didn't try yet, but it is obviously a IN port.
Axel
Click to expand...
Click to collapse
yes is a power in port. if shift had 2 ports i can be able to use it whitout a power connector at wall (sorry for the expression) i don't know how to say it in english.
however shift have one only usb port. and it is not comfortable.
stormforger said:
These usb options are great but I think you missing the point of the shift.
The shift is supposed to be a portable device, are you really going to bring all those wired devices with you? Do you really want to be connecting all that up each time you get to work or your desk at home? everyday?
Why not use bluetooth devices?
keyboard and mouse -bluetooth for sure.
Same goes for the pens, portable scanners and printers almost all of them can be found with a bluetooth options.
Hell I even use bluetooth devices for the serial connections on the routers and switches I work with.
Now your external dvd and hardrive to replace those you have to get creative -
For home and work I always map a drive from a desktop machine.
On the road you have a couple of options with flash drives at 16gb for $50-70 bucks do really need that old external harddrive that uses two ports?
32GB flash drives are now as low as $150. Quite few dvd's you can fit on that!
If you really want to be free of carrying stuff around sign up for sugarsync or some other online service and never carry your data again.
I almost never use the external usb hub that came with the shift. It is a last resort item for me, destined for the bottom of the laptop bag. Wifi, 3g and no cables will always be prefered over that thing.
You may like sticking with usb cable/dongle devices but consider switching a few out for more wireless solutions and I think you will like your shift a whole lot better. That rats nest of cables in your laptop bag will shink as well!
I am not knocking you question or the advise others have given just offering an alternative.
My dream is for somebody to find a way to charge the battery on my shift without a cable connected then I will die a happy man.
Click to expand...
Click to collapse
yeah charging batteries without power cord maybe the century revelation. i hope will be a reality...
i return to my argument ( always sorry for my english)
online storage are not very fast.. or capable for the gigabites that i need to carry with me.
every day i need to put on my pc's, shift included, customers files, personal files, try many new programs. and these actions (you well know on microsoft may destroy very fast a system configuration). an you know that vista business and ultimate have an usefull utility of backup. i need to backup and restore many times in a week or in a day my sistem. so, i need to carry with me many hdd or 8gb pen drive..
and this is my problem..
EinSiedler said:
Isn't the small USB port at the back of the Hub just power in? I didn't try yet, but it is obviously a IN port.
Axel
Click to expand...
Click to collapse
if you put your mobile phone power cord in the htc hub will be feeded up.
now when hub is feeded you can put more hdd or an external dvd. but if you unput power cord the dvd or the hdds not work yet...
Did you plug a power supply in the mini usb plug on the back? This is a powered USB hub.
i think htc could of added more usb ports but the biggest problem was the space. more usb ports could of made it bigger. never disassembled or looked at the disassembly pics close but im guessing there is no more room really.
Pawel062 said:
i think htc could of added more usb ports but the biggest problem was the space. more usb ports could of made it bigger. never disassembled or looked at the disassembly pics close but im guessing there is no more room really.
Click to expand...
Click to collapse
i saw by a cinese or corean site the shift got naked, i think that there is some littlle space to put another usb port. i think.
Erhhh its a umpc not a workstation
pitt1983 said:
ehm..
usb key and mouse,
usb key and an external hdd
2 external hdd
mouse and external hdd
2 usb pen
an external dvd that need 2 usb
included hub need 2 usb
and i think many many many others uses
Click to expand...
Click to collapse
This is not a workstation, if you need a all this you may have bought the wrong form factor. i have never used my usb port, i dont see what i should connect to this form factor, maybe a usb stick once in a while..
else use the usb hub and bluetooth mouse/keyboard
I posted this on Plopper's thread here(http://forum.xda-developers.com/showthread.php?t=923864) but thought it might be better here as I might get a quicker reply
"I have bought a 4 way USB hub which has a usb socket on its input lead. This can be plugged into your PC or into a usb mains charger or usb car charger.
If the input lead is plugged into one of the four output sockets and the lead is cut open and the red and black wires are exposed, a 2A 5v charger can be connected to these wires by twisting together and taping.
This then powers both sides of the hub with 2A supply and by-passes the protection.
It does sacrifice 1 output socket but HD2 +keyboard+mouse= happy Ubuntu
Will this work?"
I am dying to try it but thought I'd check with tech savvy types first.
Edit; I am thinking now that the green and white data cables in the input leads may have to be cut and the ends taped, but it may not matter(?)
Have attached photo of the hub and the charger
The charger is an old Nokia one and has a lump of plastic near the end which I assume houses a fuse of sorts.
Reading through Plopper's thread again I am sure this is OK, but am unwilling to brick my HD2!
You could get a 7 way usb hub and add things like external HDD or (my favourite) a usb fan to cool down your HD2!
Working
OK over 300 views of this thread and no reply!
this usually means the idea is a dud or its been done before!
I have searched around but can only find y-cables, which supply extra 500mA from another USB socket but only allow 1 device connection.
If this has been done before, I apologise.
However, I got bored of waiting and went ahead with cutting up leads and splicing wires. I flashed WM6.5 and loaded Ubuntu 0.3 (only one with USB host that I can find!)
AND IT WORKS!!!!!
I had to buy a micro USB cable because I didn't want to cut my stock one (get a data cable because a charging cable only has 2 wires in it).
Note on cable colours, apparently there may be variation on some manufacturer's cable core colours, take care to identify by tracing circuits on the hub and checking continuity from the pins to each core.
Also, being an electrician, I am wondering what the current carrying capacity of the tiny core cables are, I will have to look it up at some point (adiabatic equation) meanwhile check for overheating.
Enjoy! (something to do on wet weekend!)
Homemade USB
i made this, unfortunately i can't use it with 0.3 bucouse i installed magldr and i use Android, and linit tutorial doesn't work for me
http://i54.tinypic.com/2dquiwo.jpg
http://i54.tinypic.com/2zsxz6b.jpg
Impressive!
It sure beats the above from me.
What do you use it with?
What else might support USB hosting?
I prefer to use WP7 and Android too (see sig)
i made it for HD2 for use it with Ubuntu, i hope that the v0.4 come out soon and with usb host support...
Doh!
467 views after first posting this and after re-reading plopper's thread again I have realised what plopper and Mister B were saying in their last posts.
There is no protection in unpowered usb hubs, so no need to bypass it!
I have over-complicated everything.
It is only necessary to change the hub lead plug to a microUSB one and then connect the charger to the usb plug which you have just cut off, then plug it into one of the spare ports.
Oh well never mind!
i take a photo with HD2 on it http://i53.tinypic.com/34dr96v.jpg
很好很强大!
nice... ...but, don't smoke so much....
Guys,
For those using Android, you can try Dorimanx's latest 2.9.9 ROM which claims to have USB Host enabled. I don't have a USB OTG cable to try it on, but let us know if having a self-powered USB hub works on it. Thanks
nikola360 said:
i take a photo with HD2 on it i53.tinypic.com/34dr96v.jpg
Click to expand...
Click to collapse
OMG this thing is amazing! I really want to make something like this, got any pointers on how to do it?
wow thats the crazyest mod ever you should move to hardware moding scection! maby you will get more help!
bever86 said:
OMG this thing is amazing! I really want to make something like this, got any pointers on how to do it?
Click to expand...
Click to collapse
Thanks!....unfortunately i haven't a tutorial, i made it only with my fantasy, i saw 2 DVD cases and i made it.
Guys,
For those using Android, you can try Dorimanx's latest 2.9.9 ROM which claims to have USB Host enabled. I don't have a USB OTG cable to try it on, but let us know if having a self-powered USB hub works on it. Thanks
Click to expand...
Click to collapse
i tried it (XB V.19 that is based on it, with the same kernel USBH enabled) but unfortunately it doesn't work, i saw in the system partition of this rom and i saw that there aren't any driver for USB hardwares support (USB Keyboard, mouse, USB Flash memory...)...so i think that the problem is this (no drivers support)
nikola360 said:
i take a photo with HD2 on it http://i53.tinypic.com/34dr96v.jpg
Click to expand...
Click to collapse
This looks really cool, you should produce it and offer it, I guess I would buy it
hello guys , i know u can play music on nook simple touch ..... but i am asking about if i can use Samsung galaxy s3 headphone and connect to my nook .... it will run on it ....and if not .... what pins i must modified
i just want put direct headphone .... no usb jacks
thx
Sorry, you'd need an audio interface on USB somehow.
Maybe you could hack it internally but it would be a headache in one way or another.
The system-on-a-chip does support an interface to audio chips but you'd have to do a lot of work to get that going.
Renate NST said:
Sorry, you'd need an audio interface on USB somehow.
Maybe you could hack it internally but it would be a headache in one way or another.
The system-on-a-chip does support an interface to audio chips but you'd have to do a lot of work to get that going.
Click to expand...
Click to collapse
thx . MISS Renate for answer
um........ ok ..... is the s3 usb cable suitable with nook???
also the other part i need is headphone usb ..... right.?????,,,
my idea is just joint the right connection between them and also add mic and make them both work in same time and ........ the sum up i meant is create a headphone for nook simple touch ...... plug in and play ............ hope my idea reached u right ........ we wont touch the nook internal staff just the pin connection between nooks jack and headphone and mic ........ cuz iam always love listen to music while read or surf internet ...........i know ur great efforts in develop this appz ......... but i just wont play music or convert nook to ipad nearly possible
THX
Sent from my NOOK using xda app-developers app
The micro USB connector is used for a lot of things.
The five pins on it can be used for unrelated things if the hardware behind them supports them.
The options are
USB
CarKit (analog audio in and out)
MHL (HDMI-like video interface)
UART (logic level serial port for debugging)
Unfortunately, on the Nook we just have USB.
Renate NST said:
The micro USB connector is used for a lot of things.
The five pins on it can be used for unrelated things if the hardware behind them supports them.
The options are
USB
CarKit (analog audio in and out)
MHL (HDMI-like video interface)
UART (logic level serial port for debugging)
Unfortunately, on the Nook we just have USB.
Click to expand...
Click to collapse
can u tell me which parts i neer for my nook????
i can get sIII usb cable ...... and i will search for headphone usb ....... is that all i need????
best regards
Sent from my NOOK using xda app-developers app
You need an USB OTG adapter cable (brand, model not important, but it must say "OTG").
Something like this: http://forum.xda-developers.com/showpost.php?p=23683542&postcount=139
You need a USB audio adapter, something like this: http://www.amazon.com/dp/B001KT80IO/
Then you need to read the whole thread from the first link.
Renate NST said:
You need an USB OTG adapter cable (brand, model not important, but it must say "OTG").
Something like this: http://forum.xda-developers.com/showpost.php?p=23683542&postcount=139
You need a USB audio adapter, something like this: http://www.amazon.com/dp/B001KT80IO/
Then you need to read the whole thread from the first link.
Click to expand...
Click to collapse
iam not sure that i will find here ...... can u provide good deal to buy this online ......thx anyway
also can u provide me a pic with the connection. also I feel that will won't be portable.
Sent from my NOOK using xda app-developers app
i found this otg cable on online store in egypt ........ have alook if that the correct cable . i will buy it easly
http://egypt.souq.com/eg-en/micro-usb-otg-host-cable-for-samsung-and-htc-3995639/i/
That looks good.
Unfortunately I don't have any Egyptian pounds on me.
Consider if you have the option whether to get a right angle cable.
I find those easier, although it's hard to see from a photo
if it goes left or right out of the socket.
I have a couple that I bought that go down when the Nook is in landscape mode.
UMMMMMMM,......... lol...... just gimme links to the right cable with suitable handfree and i will go to virgin store or compu me ..... or try ask in electronics markt ........ anyway ...... i wont go buy anything till my exams finished ...mmmm thx for.ur great efforts ..
BEST regards
Sent from my NOOK using xda app-developers app
Renate NST said:
You need an USB OTG adapter cable (brand, model not important, but it must say "OTG").
Something like this: http://forum.xda-developers.com/showpost.php?p=23683542&postcount=139
You need a USB audio adapter, something like this: http://www.amazon.com/dp/B001KT80IO/
Then you need to read the whole thread from the first link.
Click to expand...
Click to collapse
Would it be possible, with some software modification in NST, to use something like this1, instead of a huge USB audio adapter?
or this2 or this3? Or best of all, can I simply use microUSB headset? like this
Nope, those adaptors will not work.
They are all just mechanical adaptors with no active electronics in them.
A micro USB connector is often used for multiple things, USB, MPL, UART, analog audio.
Inside the device these things must be supported.
Motorola handies often allow the sending of analog audio through the micro USB connector.
You only need a mechanical adaptor to be able to plug in headphones.
The Nook has no audio hardware inside.
You need an actual USB audio adapter.
Renate NST said:
Nope, those adaptors will not work.
They are all just mechanical adaptors with no active electronics in them.
A micro USB connector is often used for multiple things, USB, MPL, UART, analog audio.
Inside the device these things must be supported.
Motorola handies often allow the sending of analog audio through the micro USB connector.
You only need a mechanical adaptor to be able to plug in headphones.
The Nook has no audio hardware inside.
You need an actual USB audio adapter.
Click to expand...
Click to collapse
Thanks mademoiselle Renate!
My ideal plan: dig into NST and hide the good microUSB/USB sound adapter inside the Nook case. and just leave the microUSB cable outside. Do you think this is possible or just a childish dream?
Better: is it possible to extend 1 microUSB to multiple? like an extender. Any consequence on battery use?
You could connect a USB device inside a Nook.
For any audio adapter it would be best to just put in a separate headphone jack.
The problem comes when you want to use the Nook as a peripheral.
If you use an internal hub then everything has to switch direction.
It all gets complicated.
Hubs are kind of power hogs since they are usually on wall powered devices.
Since the OMAP3621 is designed for an audio interface, that would be a challenge but would use less power than a USB solution.
hi folks,
i would to like to build a micro usb hub.
e.g. 1 male connector and 2 female connector.
does anybody have experience in micro usb to stabilize the voltage and current?
thanx
KindsKoPP said:
hi folks,
i would to like to build a micro usb hub.
e.g. 1 male connector and 2 female connector.
does anybody have experience in micro usb to stabilize the voltage and current?
thanx
Click to expand...
Click to collapse
That would be interesting to see, I think your gonna need drivers for that as well because your gonna need a switch to cycle back and forth on what connector your using, and thats gonna be hard to do from scratch. I was contemplating doing something similar to that but wound up at a dead end. If you figure it out let me know.
it won´t need a driver. i want to build as a host hub. but the current is too low i think, so it is difficult to stabilizise the current,,
mbm262 said:
That would be interesting to see, I think your gonna need drivers for that as well because your gonna need a switch to cycle back and forth on what connector your using, and thats gonna be hard to do from scratch. I was contemplating doing something similar to that but wound up at a dead end. If you figure it out let me know.
Click to expand...
Click to collapse
It's not a question of stabilizing the current.
It's supposed to be 5 volts throughout the USB spec.
If you are using a cell phone as the host, that already produces regulated 5 volts through a charge pump.
The amount of current out of a cell phone is maybe around 100 mA.
That's what you have to work with.
If it's not sufficient for what you want then you need an external power source, not a regulator.
Hubs can be power hogs.
The spec says that a hub can take up to 100 mA all by itself.
To make a micro USB you can either take an existing hub and change the connectors.
Of course since the PCB pattern will not match up you'd have to wire the connectors in discreetly.
If you really wanted to make a real job out of this, buy a hub IC for $3,
lay out a PCB, slap on a 24 MHz crystal and connectors.
???
the idea is to build an mobile hub for tablets or smartphones for plugin external devices like sd card reader or usb stick and
mouse and keybord. hub will stick in a phone and plug in the external devices. i already had tried with a keyboard and mouse with standard usb and it works. i had already build some devices with micro usb connector. so i would like to use all devices at the same time and outdoor. i try to solve the idea without a lot of adapter..
if the usb give all devices 5v and 100mA at the same time, that would be great, without an additional IC power supplier..
thats all
i found out thats not possible to use more than 2 gadgets at the same time cause of the voltage without an external power supplier. keyboard and mice work at the same time but i f u want to plug in a 3rd gadget then wont work. 1 solution could be a mobile battery with 5v connecting with the hub. or make a built in battery in the hub..
@ renate. maybe u have an suggestion?
I have a jig for measuring current consumed by USB peripherals: http://forum.xda-developers.com/showpost.php?p=30668417&postcount=26
I use USB with only low power things like a keyboard or else
with a powered hub (also back-powering the Android).
The second option is more like a docking station.
KindsKoPP said:
hi folks,
i would to like to build a micro usb hub.
e.g. 1 male connector and 2 female connector.
does anybody have experience in micro usb to stabilize the voltage and current?
thanx
Click to expand...
Click to collapse
The 2 female connectors don't make much sense i think, because:
I can't think of any device you would like to connect with your phone as host that has a µusb connector..? You would need 2 additional OTG-cables in almost all cases
You would need OTG capability for security reasons: Imagine you hub is pluggend in you phone and you connect you computer to the hub too -> Data crash + 2 power sources in parallel -> risk of damage
I would use a normal tiny usb hub and only change the cable
u did not read my post above attentively or?
quote:
i had already build some devices with micro usb connector. so i would like to use all devices at the same time and outdoor. i try to solve the idea without a lot of adapter..
and the gadget are already automatically OTG. I already thought all about that before!
-schumi- said:
The 2 female connectors don't make much sense i think, because:
I can't think of any device you would like to connect with your phone as host that has a µusb connector..? You would need 2 additional OTG-cables in almost all cases
You would need OTG capability for security reasons: Imagine you hub is pluggend in you phone and you connect you computer to the hub too -> Data crash + 2 power sources in parallel -> risk of damage
I would use a normal tiny usb hub and only change the cable
Click to expand...
Click to collapse
Is there anyway we can use camera on Nook Hd+. As Nook HD or HD+ doesnt have an inbuilt camera. SO is there any app through which we can possibly use our laptop camera or any other, connecting it to the Nook via Bluetooth or USB or Wifi, thus, able to access camera on Nook.
In short, if we can use PC webcam as a camera on Nook by connecting it over USB or any. This will leave a huge room open for accessing great applications demanding the camera.
goldenlark said:
Is there anyway we can use camera on Nook Hd+. As Nook HD or HD+ doesnt have an inbuilt camera. SO is there any app through which we can possibly use our laptop camera or any other, connecting it to the Nook via Bluetooth or USB or Wifi, thus, able to access camera on Nook.
In short, if we can use PC webcam as a camera on Nook by connecting it over USB or any. This will leave a huge room open for accessing great applications demanding the camera.
Click to expand...
Click to collapse
First possible thing is Air Cam Live Video. But this maybe have many disadvantages for you.
Second i recommend look to this external link
For third i can say that Toshiba Folio 100 can use external USB webcam, but Folio have USB port too. I'm not familiar Nook 30 pin connector pinouts, but i hope there can be used for USB host too.
Yeah and hardware possibility is using some WiFi cam / spycam. Like this one on ebay (made just quick search for item, not for best price/deal). Disadvantage is that same time you can not connect your HD+ to another wifi network.
Edit: My mistake. This cam have two modes, infrastructure mode connecting it over local WiFi network or straight mode connecting HD/HD+ directly to camera.
Ip can will turn your phone into a wifi c connected comets which you can look at on some apps from play store,
Sent from my Barnes & Noble Nook HD+ using xda app-developers app
goldenlark said:
Is there anyway we can use camera on Nook Hd+. As Nook HD or HD+ doesnt have an inbuilt camera. SO is there any app through which we can possibly use our laptop camera or any other, connecting it to the Nook via Bluetooth or USB or Wifi, thus, able to access camera on Nook.
In short, if we can use PC webcam as a camera on Nook by connecting it over USB or any. This will leave a huge room open for accessing great applications demanding the camera.
Click to expand...
Click to collapse
I've been working on this issue for about 2 weeks. One important question: Do you want a cam for security/surveillance/monitoring or for video conferencing/calls/Skype? The options for the former are much broader, but remember most security cams do not have voice capability. I'm in the video call camp.
If money is no object, I would think an IP cam with mic could do the trick, or possibly B/T, but since I'm looking for a cheaper solution and to have fun with this challenge, I'm going the USB route. For this purpose you need to make the HD plus become a USB Host just like your PC or Laptop. Not a problem, theoretically, since that capability is built into the Android OS on your device, but getting it to talk with a USB device, such as a camera, is another matter. Connecting it is the second challenge; there is no USB OTG cable (the "special" cable for USB Hosts) for the Nook. It would have a female USB connector on one end and Nook's (f**k**g) proprietary 30 pin male connector on the other, through which you'd connect your USB device. I've come up with a hardware workaround, but I'm waiting for a special connector coming on a slow boat from China. A side hardware problem is the lack of power coming into the USB Host (the Nook) and the USB Slave (the Cam), but utilizing a powered USB hub could solve it.
So, if the hardware problem is overcome, will it work? Video cam APKs are aplenty on Google Play, but I don't yet know if they will play (pun intended) well with the Nook's USB host adaptor set-up. I'll let you know. Total costs with a new cam will be less than $20; if you already have a USB cam (with built in mic), it'll be about $5. Nice.
Flamers put away your blow torches. If I really wanted or needed a cam I wouldn't have bought the Nook HD+. I know that. This is for cheap thrills.
RustedRoot said:
but I'm waiting for a special connector coming on a slow boat from China
Click to expand...
Click to collapse
Can you share which one? I'm interested about it.
datas0ft said:
Can you share which one? I'm interested about it.
Click to expand...
Click to collapse
If anyone know something like this awesome app https://play.google.com/store/apps/...51bGwsMSwxLDMsImNvbS5waWNhZGVsaWMuZnhndXJ1Il0.
Maybe if I can use my laptop camera to be used as on Nook , I can get some nice effects and definitely skype
RustedRoot said:
I've been working on this issue for about 2 weeks. One important question: Do you want a cam for security/surveillance/monitoring or for video conferencing/calls/Skype? The options for the former are much broader, but remember most security cams do not have voice capability. I'm in the video call camp.
If money is no object, I would think an IP cam with mic could do the trick, or possibly B/T, but since I'm looking for a cheaper solution and to have fun with this challenge, I'm going the USB route. For this purpose you need to make the HD plus become a USB Host just like your PC or Laptop. Not a problem, theoretically, since that capability is built into the Android OS on your device, but getting it to talk with a USB device, such as a camera, is another matter. Connecting it is the second challenge; there is no USB OTG cable (the "special" cable for USB Hosts) for the Nook. It would have a female USB connector on one end and Nook's (f**k**g) proprietary 30 pin male connector on the other, through which you'd connect your USB device. I've come up with a hardware workaround, but I'm waiting for a special connector coming on a slow boat from China. A side hardware problem is the lack of power coming into the USB Host (the Nook) and the USB Slave (the Cam), but utilizing a powered USB hub could solve it.
So, if the hardware problem is overcome, will it work? Video cam APKs are aplenty on Google Play, but I don't yet know if they will play (pun intended) well with the Nook's USB host adaptor set-up. I'll let you know. Total costs with a new cam will be less than $20; if you already have a USB cam (with built in mic), it'll be about $5. Nice.
Flamers put away your blow torches. If I really wanted or needed a cam I wouldn't have bought the Nook HD+. I know that. This is for cheap thrills.
Click to expand...
Click to collapse
If anyone know something like this awesome app https://play.google.com/store/apps/...51bGwsMSwxLDMsImNvbS5waWNhZGVsaWMuZnhndXJ1Il0.
Maybe if I can use my laptop camera to be used as on Nook , I can get some nice effects and definitely skype
datas0ft said:
Can you share which one? I'm interested about it.
Click to expand...
Click to collapse
First, you must use a USB OTG cable with a special female USB connector (it'll look conventional) on one end which will identify the device as a USB Host. Unfortunately, most connectors on the other end are male micro usbs, or 30 pin Apple connectors, not the Nook 30-pin. I bought one with the male micro USB plug. Now I'll need a female micro USB to female USB adaptor to connect it to the Nook.. That's the special adaptor coming from China (http://www.ebay.com/itm/271094375029?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649).
The configuration of the set-up is this:
Plug in to a/c outlet a powered USB hub (2.0)
Connect the primary cable of the hub (i.e., the one that would go into a PC/laptop) to the hub and to the USB female end of OTG cable
Plug the OTG micro male to the like-female end of the special adaptor
Plug USB cable from the Nook into the other end of the special adaptor then into the Nook
Plug USB device you want to use with the Nook into one of the ports of the USB hub.
If all goes well the Nook should identify the device, but you'll need drivers and maybe an apk to use it. Whether the drivers load automatically or not remains to be seen.
If I get to that point I'll let you know what happens from there...
RustedRoot said:
The configuration of the set-up is this:
Plug in to a/c outlet a powered USB hub (2.0)
Connect the primary cable of the hub (i.e., the one that would go into a PC/laptop) to the hub and to the USB female end of OTG cable
Plug the OTG micro male to the like-female end of the special adaptor
Plug USB cable from the Nook into the other end of the special adaptor then into the Nook
Plug USB device you want to use with the Nook into one of the ports of the USB hub.
If all goes well the Nook should identify the device, but you'll need drivers and maybe an apk to use it. Whether the drivers load automatically or not remains to be seen.
Click to expand...
Click to collapse
It would be surprising if this works. USB OTG cables have 5 pins; they distinguish the host side from the peripheral side by shorting the fifth pin to either ground or +5V. But the Nook's USB cable ends in a 4-pin connector. There's no way to tell it to act as a host.
On the bright side, the Nook's kernel definitely contains support for host-side USB. It has drivers for mass-storage, HID (mouse, keryboard, etc.), serial, and video devices. To use these facilities, though, it would be necessary to wire up your own 30-pin connector. As far as I know, B&N has not made the pin-outs public.
Delta^1_1 said:
It would be surprising if this works. USB OTG cables have 5 pins; they distinguish the host side from the peripheral side by shorting the fifth pin to either ground or +5V. But the Nook's USB cable ends in a 4-pin connector. There's no way to tell it to act as a host.
On the bright side, the Nook's kernel definitely contains support for host-side USB. It has drivers for mass-storage, HID (mouse, keryboard, etc.), serial, and video devices. To use these facilities, though, it would be necessary to wire up your own 30-pin connector. As far as I know, B&N has not made the pin-outs public.
Click to expand...
Click to collapse
I was operating on the premise that only the female end of the OTG cable required the 4-to-5 jumper. Alas, the male end also requires the same configuration. I could tackle modding the female USB end, but the 30-pin connector is another story. Thanks again to B&N for making a proprietary cable. Another smart move on its part -- limiting the inherent functionality of this device. It hasn't made an OTG cable and probably never will since it is cutting back on its Nook investment. They blew it, but that's another story...
Appreciate your comments above.
I attach us electronic mechanic to investigate my opened HD+. Maybe we can find some interesting pins.
Only one i dont want to do, this is cutting off this 30 pin plug at cable side. Its hard and over prized to buy new cable to my destination.
RustedRoot said:
I bought one with the male micro USB plug. Now I'll need a female micro USB to female USB adaptor to connect it to the Nook.. That's the special adaptor coming from China (http://www.ebay.com/itm/271094375029?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649).
The configuration of the set-up is this:
Plug in to a/c outlet a powered USB hub (2.0)
Connect the primary cable of the hub (i.e., the one that would go into a PC/laptop) to the hub and to the USB female end of OTG cable
Plug the OTG micro male to the like-female end of the special adaptor
Plug USB cable from the Nook into the other end of the special adaptor then into the Nook
Plug USB device you want to use with the Nook into one of the ports of the USB hub.
If all goes well the Nook should identify the device, but you'll need drivers and maybe an apk to use it. Whether the drivers load automatically or not remains to be seen.
If I get to that point I'll let you know what happens from there...
Click to expand...
Click to collapse
How did this ultimately work out?
RoundSparrow said:
How did this ultimately work out?
Click to expand...
Click to collapse
No hardware fix, but follow this link to use a software hack which requires CM10.1 for your HD+: http://forum.xda-developers.com/showthread.php?t=2307585 That should work.
Doesn't work because we need a camera app. Any ideas for that?