Is the USB hub necessary?

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
Post Reply
greenols
Posts: 11
Joined: Wed May 17, 2017 4:24 pm
Has thanked: 4 times

Is the USB hub necessary?

Post by greenols » Sat May 20, 2017 11:15 pm

I am building a GBZ and my PCB doesn't have a usb hub. What are the uses for one? Would it work without one?

Thanks,
~Greenols

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: Is the USB hub necessary?

Post by VeteranGamer » Sun May 21, 2017 12:00 am

greenols wrote:
Sat May 20, 2017 11:15 pm
I am building a GBZ and my PCB doesn't have a usb hub. What are the uses for one? Would it work without one?

Thanks,
~Greenols
you only have one usb port on the pi zero/zero w...

if you use a teensy, leonardo or any other controller that will use up that port leaving you nothing to connect a keyboard or a wifi dongle if you dont have a zero w... you gonna need additional usb ports (you will need wifi and a keyboard at some point)

if you wire your pcb up to the gpio, this leaves the port on the pi free to be used


if your using pi 3 then ignore the above info (it has more than enough usb ports on it)

User avatar
brigghius
Posts: 33
Joined: Fri Apr 28, 2017 8:53 am
Has thanked: 15 times
Been thanked: 5 times

Re: Is the USB hub necessary?

Post by brigghius » Sun May 21, 2017 2:05 am

greenols wrote:
Sat May 20, 2017 11:15 pm
I am building a GBZ and my PCB doesn't have a usb hub. What are the uses for one? Would it work without one?

Thanks,
~Greenols
The raspberry pi zero has just one usb input.
If u want to connect an external usb and an audio usb controller, u can't do this. if u use also an arduino pcb for the controller, is impossible.

i do this: gpio for the controller and monitor power supply, on the hub audio usb controller, external usb, power supply for Pi zero, power supply for audio amplifer.
my hub has 4 port

everything is clear? sorry for my bad English

greenols
Posts: 11
Joined: Wed May 17, 2017 4:24 pm
Has thanked: 4 times

Re: Is the USB hub necessary?

Post by greenols » Sun May 21, 2017 8:33 am

VeteranGamer wrote:
Sun May 21, 2017 12:00 am
greenols wrote:
Sat May 20, 2017 11:15 pm
I am building a GBZ and my PCB doesn't have a usb hub. What are the uses for one? Would it work without one?

Thanks,
~Greenols
you only have one usb port on the pi zero/zero w...

if you use a teensy, leonardo or any other controller that will use up that port leaving you nothing to connect a keyboard or a wifi dongle if you dont have a zero w... you gonna need additional usb ports (you will need wifi and a keyboard at some point)

if you wire your pcb up to the gpio, this leaves the port on the pi free to be used


if your using pi 3 then ignore the above info (it has more than enough usb ports on it)

I have a zero w, and my pcb has everything but a USB hub. So should I do it?

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: Is the USB hub necessary?

Post by VeteranGamer » Sun May 21, 2017 8:40 am

greenols wrote:
Sun May 21, 2017 8:33 am
VeteranGamer wrote:
Sun May 21, 2017 12:00 am
greenols wrote:
Sat May 20, 2017 11:15 pm
I am building a GBZ and my PCB doesn't have a usb hub. What are the uses for one? Would it work without one?

Thanks,
~Greenols
you only have one usb port on the pi zero/zero w...

if you use a teensy, leonardo or any other controller that will use up that port leaving you nothing to connect a keyboard or a wifi dongle if you dont have a zero w... you gonna need additional usb ports (you will need wifi and a keyboard at some point)

if you wire your pcb up to the gpio, this leaves the port on the pi free to be used


if your using pi 3 then ignore the above info (it has more than enough usb ports on it)

I have a zero w, and my pcb has everything but a USB hub. So should I do it?

what do you mean by everything (a pic would help)

if you have everything on the pcb then just wire it up to the pi zero w usb usb test point, then you may not need a usb hub

you also really dont need a external access usb port for the GBZ build when using a pi zero w, but then you will need a computer to ssh into it

greenols
Posts: 11
Joined: Wed May 17, 2017 4:24 pm
Has thanked: 4 times

Re: Is the USB hub necessary?

Post by greenols » Sun May 21, 2017 9:38 am

VeteranGamer wrote:
Sun May 21, 2017 8:40 am
greenols wrote:
Sun May 21, 2017 8:33 am
VeteranGamer wrote:
Sun May 21, 2017 12:00 am


you only have one usb port on the pi zero/zero w...

if you use a teensy, leonardo or any other controller that will use up that port leaving you nothing to connect a keyboard or a wifi dongle if you dont have a zero w... you gonna need additional usb ports (you will need wifi and a keyboard at some point)

if you wire your pcb up to the gpio, this leaves the port on the pi free to be used


if your using pi 3 then ignore the above info (it has more than enough usb ports on it)

I have a zero w, and my pcb has everything but a USB hub. So should I do it?

what do you mean by everything (a pic would help)

if you have everything on the pcb then just wire it up to the pi zero w usb usb test point, then you may not need a usb hub

you also really dont need a external access usb port for the GBZ build when using a pi zero w, but then you will need a computer to ssh into it
Here is the photo. It is similar to the board used in Wermy's custom part tutorial. It justn doesn't have a usb hub. Also, What does ssh mean.
Attachments
0.jpg
0.jpg (250.89 KiB) Viewed 9672 times

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: Is the USB hub necessary?

Post by VeteranGamer » Sun May 21, 2017 10:05 am

greenols wrote:
Sun May 21, 2017 9:38 am
VeteranGamer wrote:
Sun May 21, 2017 8:40 am
greenols wrote:
Sun May 21, 2017 8:33 am



I have a zero w, and my pcb has everything but a USB hub. So should I do it?

what do you mean by everything (a pic would help)

if you have everything on the pcb then just wire it up to the pi zero w usb usb test point, then you may not need a usb hub

you also really dont need a external access usb port for the GBZ build when using a pi zero w, but then you will need a computer to ssh into it
Here is the photo. It is similar to the board used in Wermy's custom part tutorial. It justn doesn't have a usb hub. Also, What does ssh mean.
Ok, not a bad board...

You can get away without needing a USB hub, you only really might need one extra USB port (and that might only be once in a blue moon)

But as you are you will need to ssh into the build when you hook up your board/pcb as you'll not have the ability to hook up a keyboard

https://github.com/RetroPie/RetroPie-Setup/wiki/SSH

I would suggest that you setup your pi zero w and retropie before you hook up the board/pcb...

Meaning sort your config out, move over your roms, setup your wifi and enable ssh via raspi-config... That way when you hook up the board/pcb only a minimal amount may be needed via ssh

ICMF
Posts: 279
Joined: Mon Mar 06, 2017 1:52 pm
Has thanked: 3 times
Been thanked: 97 times

Re: Is the USB hub necessary?

Post by ICMF » Sun May 21, 2017 10:15 am

Taking a step back, USB is used for:
Arduino button control
Audio
WiFi
Bluetooth
External access

The ZeroW already has bluetooth and wifi, so you don't need USB for those. The AIO board has audio and your controls, so you don't need USB for those, either. So the only use for a USB hub would be if you want to connect other input devices (controllers, keyboards, etc.)

It's a custom device, so what you need depends on what you want to do with your build.

As for SSH... it's a way of remotely accessing your Pi's operating system, so you can tweak the Pi's settings from your PC. The benefit being, you don't have to remove the SD card from your GBZ, or hook up a keyboard/mouse/monitor to your Pi.

https://raspberrypi4dummies.wordpress.c ... ssh-putty/

You will need to adjust settings and the Config file on your SD card. If the SD card is buried inside your GBZ, it's a lot more convenient. If the SD card is easy to access (mounted in the cartridge, for instance), it's less important - you can pop it out and mount it in another (loose) Pi Zero (it's good to have a backup for troubleshooting), or plug it into your PC to edit.

Again, it just depends what you want from your custom build.

User avatar
marketus
Posts: 106
Joined: Sun Dec 18, 2016 9:35 am
Location: Ferrol, Spain
Has thanked: 23 times
Been thanked: 6 times

Re: Is the USB hub necessary?

Post by marketus » Sun Jun 04, 2017 5:41 pm

so everything you need to edit and configure in your pi (software stuff let's say), to do that it's just simple as insert the microSD in your PC?
To set the GPIO sound output you need to have powered on the pi or only need to edit the config file in the microsd?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest