USB Hub board

https://github.com/MiSTer-devel/Main_MiSTer/wiki

Moderators: Mug UK, Zorro 2, Greenious, spiny, Sorgelig, Moderator Team

Campus
Atarian
Atarian
Posts: 7
Joined: Mon Jan 21, 2019 1:46 am

Re: USB Hub board

Postby Campus » Thu Jan 31, 2019 9:30 pm

I have a noob question: Do I need an otg cable for the connection between USB board and DE10 or would a normal cable where only GND, D+ and D- are connected work as well?

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4926
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: USB Hub board

Postby Sorgelig » Fri Feb 01, 2019 4:17 am

You need the cable where ID pin is tied to GND, which is eventually an OTG cable.

Campus
Atarian
Atarian
Posts: 7
Joined: Mon Jan 21, 2019 1:46 am

Re: USB Hub board

Postby Campus » Fri Feb 08, 2019 7:01 pm

Today I started my first attempt to solder the USB board. I soldered U1, X1, C1-C6, R1-R3, R11 and LED15. I would expect that LED15 would show something when getting powered but nothing happens. I can measure 3.3V at the X1 but no voltage at any of the R for the LEDs. Did I damage the U1 or are there some components still needed that I am missing at the moment?

knc
Atariator
Atariator
Posts: 20
Joined: Fri Oct 26, 2018 10:55 pm

Re: USB Hub board

Postby knc » Sat Feb 09, 2019 8:01 am

Campus wrote:Today I started my first attempt to solder the USB board. I soldered U1, X1, C1-C6, R1-R3, R11 and LED15. I would expect that LED15 would show something when getting powered but nothing happens. I can measure 3.3V at the X1 but no voltage at any of the R for the LEDs. Did I damage the U1 or are there some components still needed that I am missing at the moment?

Is the LED the right way round

Campus
Atarian
Atarian
Posts: 7
Joined: Mon Jan 21, 2019 1:46 am

Re: USB Hub board

Postby Campus » Sat Feb 09, 2019 1:15 pm

knc wrote:
Campus wrote:Today I started my first attempt to solder the USB board. I soldered U1, X1, C1-C6, R1-R3, R11 and LED15. I would expect that LED15 would show something when getting powered but nothing happens. I can measure 3.3V at the X1 but no voltage at any of the R for the LEDs. Did I damage the U1 or are there some components still needed that I am missing at the moment?

Is the LED the right way round


I think it is. When applying 5V between R11 and GND it turns on red as expected.

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4926
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: USB Hub board

Postby Sorgelig » Sat Feb 09, 2019 2:38 pm

LED15 will on only when USB hub is connected and initialized by host.
It's not a simple power LED.

Campus
Atarian
Atarian
Posts: 7
Joined: Mon Jan 21, 2019 1:46 am

Re: USB Hub board

Postby Campus » Sat Feb 09, 2019 8:39 pm

Sorgelig wrote:LED15 will on only when USB hub is connected and initialized by host.
It's not a simple power LED.


So the hub must be connected to the OTG to get active, even when powered?

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4926
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: USB Hub board

Postby Sorgelig » Sat Feb 09, 2019 8:47 pm

Campus wrote:So the hub must be connected to the OTG to get active, even when powered?

not only connected, but initialized by host as i've said above.
If you press reset, LED15 turns off until Linux loaded.

Campus
Atarian
Atarian
Posts: 7
Joined: Mon Jan 21, 2019 1:46 am

Re: USB Hub board

Postby Campus » Sun Feb 10, 2019 10:32 pm

Sorgelig wrote:
Campus wrote:So the hub must be connected to the OTG to get active, even when powered?

not only connected, but initialized by host as i've said above.
If you press reset, LED15 turns off until Linux loaded.


I've finished soldering the board and fortunately everything worked. Just a few hints in case some other noob tries this: the LED15 only lights up if the board is connected to the DE10, has power and at least one USB device is connected. If no device is connected the led only blinks once when powering on. It's not necessary to use an OTG cable for the connection, I've successfully tried a standard USB cable as well, with D+, D- and GND connected.

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4926
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: USB Hub board

Postby Sorgelig » Mon Mar 11, 2019 11:34 am

Upcoming version 1.2:

1) re-arrange the USB ports.
2) micro-USB input for easier inter-board connection
3) remove the orange LEDs - they are useless.

20190311_190244.jpg


there is a place for power socket, but i've discovered better use of this:
20190311_190025.jpg


with this "connector" you can draw the 5v from DE10-nano internally without messing with external wires!
This is how it looks connected:
20190311_191101.jpg

connection is very solid, so i don't expect any problem.

USB Hub now can be connected by small bridge board:
20190311_191341.jpg

20190311_191407.jpg


bridge board supports original 10mm stand-offs with internal 5v connection as shown above, and 14mm (same as upper stand-offs) with traditional power socket:
20190311_191550.jpg
You do not have the required permissions to view the files attached to this post.

THaase
Captain Atari
Captain Atari
Posts: 183
Joined: Mon Oct 16, 2017 8:39 am
Location: Germany

Re: USB Hub board

Postby THaase » Mon Mar 11, 2019 11:37 am

Seems you liked my idea :D

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4926
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: USB Hub board

Postby Sorgelig » Mon Mar 11, 2019 3:48 pm

THaase wrote:Seems you liked my idea :D

Yeah. Actually it's not a new idea. A lot of Raspberry Pi accessories use such bridges for USB and HDMI.
But it seems the only possible way to have something more or less easy to repeat. And it doesn't require the wires :)

sawf01
Atari User
Atari User
Posts: 33
Joined: Sun Mar 11, 2018 9:05 am

Re: USB Hub board

Postby sawf01 » Mon Mar 11, 2019 3:54 pm

Fantastic work, especially the micro usb connector. Not only will it be easier with the bridge, but if that gets broken in the future the user can use an easily available cable to get them up and running again. :D

Unrealcpu
Atariator
Atariator
Posts: 26
Joined: Tue Oct 30, 2018 2:05 am

Re: USB Hub board

Postby Unrealcpu » Mon Mar 11, 2019 7:19 pm

im confused what connector are you using to get the 5v power to the USB?

can you post it on github ?

Figured it out ,
but why use a fork pin , is the usb not lining up with the DE? I would think a simple 2.54mm pin would work?
Last edited by Unrealcpu on Mon Mar 11, 2019 10:26 pm, edited 1 time in total.

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4926
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: USB Hub board

Postby Sorgelig » Mon Mar 11, 2019 7:33 pm

Unrealcpu wrote:im confused what connector are you using to get the 5v power to the USB?

can you post it on github ?

it's self-made connector. I've used one pin from Arduino long pin header. Also used a plastic part from other header as a stopper to simplify the soldering.
This is pure improvisation. I don't like the idea of additional 5v cable to USB board, so i did it. The original option with standard 5v DC socket is always available.

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4926
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: USB Hub board

Postby Sorgelig » Mon Mar 11, 2019 7:39 pm

There is also P2 jumper allowing to draw the 5V from micro USB when shorted. But with 7-port USB HUB it's unreal option. It's possible to modify DE10-nano board by routing 5V to VUSB pin. But it's more hacky than pin i did above :)

damopinn
Atariator
Atariator
Posts: 26
Joined: Tue Dec 04, 2018 3:24 pm

Re: USB Hub board

Postby damopinn » Mon Mar 11, 2019 8:57 pm

Hi, I think this connector could be a 'pogo pin'. they are little spring loaded connectors.
here is a youtube video of some on a raspberry pi.

https://www.youtube.com/watch?v=0Ol3_ME8Ssc

knc
Atariator
Atariator
Posts: 20
Joined: Fri Oct 26, 2018 10:55 pm

Re: USB Hub board

Postby knc » Mon Mar 11, 2019 9:06 pm

damopinn wrote:Hi, I think this connector could be a 'pogo pin'. they are little spring loaded connectors.
here is a youtube video of some on a raspberry pi.

https://www.youtube.com/watch?v=0Ol3_ME8Ssc

That would be great if the hole lined up with the pin of the dc jack

Poobah
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 118
Joined: Wed Aug 03, 2005 11:45 am
Location: Ohio, USA

Re: USB Hub board

Postby Poobah » Mon Mar 11, 2019 11:57 pm

Got a source for the USB Micro connector on the bridge board?
Thanks!

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4926
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: USB Hub board

Postby Sorgelig » Tue Mar 12, 2019 4:18 am

damopinn wrote:Hi, I think this connector could be a 'pogo pin'. they are little spring loaded connectors.
here is a youtube video of some on a raspberry pi.

https://www.youtube.com/watch?v=0Ol3_ME8Ssc

pogo pins have very limited travelling height and they are good if they contact from hole to hole. Otherwise connection spot will be very tiny and not acceptable for USB hub with many devices connected. The fork pin provides solid pinch contact.

knc wrote:That would be great if the hole lined up with the pin of the dc jack

I've missed a little. Originally it wasn't intended for internal connection between boards. So for 5v DC socket it's not a problem.
In the future i will will make it more precise.

Unrealcpu
Atariator
Atariator
Posts: 26
Joined: Tue Oct 30, 2018 2:05 am

Re: USB Hub board

Postby Unrealcpu » Tue Mar 12, 2019 5:14 am

Unrealcpu wrote:im confused what connector are you using to get the 5v power to the USB?

can you post it on github ?

Figured it out ,
but why use a fork pin , is the usb not lining up with the DE? I would think a simple 2.54mm pin would work?




About to order some on pcbmyway or can you just update it again so the hole lines up

just curious if it is possible to just use a 2.54mm straight pin cut to length and after soldering just bend a little to make contact with the 5v pin on the de 10? IMO the 2.54 straight pin would off a more solid connection, to me that fork is thin and easy to bend but i guess you want to pinch it idk.


Just think this either way its a poor connection and not good for resale since either solution to me it would seem that the 5v connection could bend easily or a regular user would not know how to fix this if something got bent during shipment. Maybe i am over exaggerating. I am surprised with this type of connection too with several powered usb devices the 5v line would be stable also, if the connection was slightly off. Also I guess as a reseller I am hoping everyone kept their stock standoffs to use with the usb hub

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4926
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: USB Hub board

Postby Sorgelig » Tue Mar 12, 2019 6:46 am

Just use standard 5v DC socket. I don't force you to use a custom solution.
I don't plan to make a new revision soon. Alignment with standard 5v DC socket is invisible. Different DC sockets may have slightly variable dimensions as well. It was there in v1.1 and so far no one complained.

sabreAZ
Retro freak
Retro freak
Posts: 11
Joined: Thu Dec 27, 2018 4:07 pm

Re: USB Hub board

Postby sabreAZ » Wed Mar 13, 2019 12:04 am

Tapping into the 5v, whether it's the forks or wired, is it as reliable as running a separate power source to power the USB hub? Is it better? Worse? I ask just cuz I'll be using a wifi dongle and an 8bitdo bt dongle. And worry about power draw. My current powered USB strip can't handle both, sadly

Unrealcpu
Atariator
Atariator
Posts: 26
Joined: Tue Oct 30, 2018 2:05 am

Re: USB Hub board

Postby Unrealcpu » Wed Mar 13, 2019 8:59 am

Poobah wrote:Got a source for the USB Micro connector on the bridge board?
Thanks!


rip the end off the connector , it will expose the pins



Return to “MiSTer”

Who is online

Users browsing this forum: elfbutt and 2 guests