My New PCB Prototypes

Show off your completed Game Boy Zero, or post your build logs here!
Post Reply
Dividion
Posts: 95
Joined: Fri Mar 30, 2018 5:42 am
Has thanked: 58 times
Been thanked: 69 times

My New PCB Prototypes

Post by Dividion » Wed Aug 01, 2018 8:36 pm

Hey all,

For a couple of months now I've been working on some new boards that I think will be useful in non-AIO builds. I think there are plenty of AIO boards out there now, and I have no intention of competing with Kite's. But I still think these will be pretty handy, especially for first-time builders.

Since I started building GBZs, I've thought the biggest drawback of the Pi0w is the single USB port. Stripping down USB hubs is annoying, though in some cases it's pretty easy, plus you get some extra wire out of the deal. The compact options like the nanohub and Tinkerboy's bare hub are the perfect size for a GBZ build, but (even when they're in stock) you can get 3-4 strippable hubs for similar cost. (And the Tinkerboy one wasn't even an option when I started working on this.) So I came up with some options.

First, this was pretty much my prototype design. It's a basic 4-port USB 2.0 hub. Like other FE1.1s hubs, it doesn't work with combinations of high speed and full speed devices, but it seems to do the job nevertheless.
Image

It's small, at 0.5x1.4 inches, but that's pretty boring, plus you still need to run 4 wires to it, taking up space inside the build. So how about we kick things up a notch, and alleviate that problem?
Image

Now we're talking. This one sits flush with the back of the Raspberry Pi. It connects to the same four pads we're used to. A couple of the boards to follow also connect this way, because having tried it a few times I think it works fantastically.

As you might've been thinking, this is probably best suited if you're using a screen bracket like the one Hoolyhoo came up with that places the SD card at the contrast port. You'd be right, with the next couple of boards especially-so. The one above doesn't necessarily need to be placed there, but I'd recommend it for the next two.

Image
Image

This one is really intended toward new GBZ builders. It sheds the USB hub and focuses on simply providing easy pads for connecting the most-commonly-used attachments, like a composite display, PWM audio, an ADS1015 and safe shutdown button. And I'm sure you've noticed the through-hole pads at the bottom for connecting the button board to the GPIO pins without long wires. If the Pi0w is aligned with the contrast port, those wires only need to be about a half- to one-inch long. (picture later) I went with the ABXY positioning used by the common button board sold on Amazon (which was my first build) and also included with a bunch of kits (like the ones from thegodofgaming on ebay). It still works great with other arrangements though.

You might also notice the lack of connections to the GPIO pins at the top. I wanted to leave the SPI pins open, so this will work with VeteranGamer's SPI connectors. And that space in the middle of the board... It *should* be possible to solder down that first USB hub I showed there. (I haven't had the opportunity to test that yet.) And if you plan to use a Teensy or Pro Micro, you don't even need to solder most of the GPIO pins.

Next up is, in my opinion, the best of the bunch. It combines the last two boards, and adds in USB audio using the CM102S+ audio chip, which has an integrated amp. This addresses the second biggest issue with the Pi0w (I think), and that's that the PWM audio isn't good enough. In my testing, the Hub+CM102 draws 35-50mA, and can go up to 60mA if you crank it up. Here it is:
Image

But wait, there's more! These are still prototypes, but I designed a couple SPI screen connectors also. They require wires to be run to the GPIO pins on the Pi, so they're not as convenient as VeteranGamer's design, but that also makes it so the parts should be easier to acquire.
Image Image

And lastly, before I post a few real-world photos, here is the common ground PCB I came up with. I wanted to put a fun and unique (I hope) spin on it, and also have one with six button pads where the through-hole pins all line up with the earlier boards. Tada!
Image

I seriously considered putting holes in the extra buttons to use as a drill guide, but the darn hockey puck tried to bite my hand off.

Here's my initial prototype of the USB backplate. This one only has the USB hub without the CM102. I came to the conclusion that having the USB hub, with GPIO inputs and PWM audio kind of defeated the purpose. In this iteration, I was powering the hub with the 3.3V, which required 1 less capacitor. When I added the CM102 audio, I really didn't have room to run those extra traces and switched it all to 5V. You can just make out the micro-USB power port on the Pi underneath.
Image

And here's my minimal USB hub prototype with the CM102S+ test. I was trying out different resistors and capacitors. Using the 47uF capacitors just before the speakers, it makes a vwooosh sound while powering up. I'm expecting to use smaller ones on the PCB.
Image

Here's one of the builds I'm putting together now using the twin of the above prototype board. (Can't let them go to waste, right?) You can see just how short the wires running to the button board are. That's a prs-tech button board.
Image

And finally, here's the reflow oven I built for baking all that SMD goodness. This was a fun build. I did put a stainless steel mesh over the baking rack since that picture though, because some of these boards are pretty small and can fall through without it while trying to place the PCB. (Gravity, amirite?) At first I had considered the one on Amazon that was just over $200 and still needed a bunch of modifications, but then I found just the right video on youtube. It was the best video I'd seen for building a reflow oven, from about four years ago, and it only had a couple hundred views. The new parts for this one ran just under $100, and I used just a few parts I had lying around.
Image

My next batch of prototype PCBs is set to arrive next week, which includes the board that contains the combined USB hub+CM102, the button board, and the SPI boards. I've got a small batch of the minimal hub (blue), backplate USB (green) and basic GPIO assist boards too, so hopefully those'll get into the hands of the community sooner rather than later.

I'd love to know what you think. Thanks!

PS. And I'd like to give a special thanks to this outstanding community and my appreciation for your willingness to answer questions, share information, and help everyone learn new skills so they go beyond their limits. Since I started working on these builds, it's motivated me to learn Sketchup (I'd never designed a 3d model before), and I'd never designed a PCB before either, or understood nearly as much about electronics or soldering as I do now. And I know I've still got a long way to go, but it's a journey I'm looking forward to.

Also, please let me know if you have any questions. I'm usually hanging out in the Retropie Handhelds group on Facebook these days, but I'll keep an eye on this thread.
Check out my store for GBZ boards and accessories: http://pocketadventures.com

User avatar
Moonsword
Posts: 34
Joined: Fri Jul 07, 2017 11:20 pm
Has thanked: 14 times
Been thanked: 7 times
Contact:

Re: My New PCB Prototypes

Post by Moonsword » Wed Aug 01, 2018 8:45 pm

I like the look of the boards and the functionality they provide, it would make a DMG build a lot easier, it would also do the same for SP builds.

I just have one question, how well will these work with a Pi3?

Dividion
Posts: 95
Joined: Fri Mar 30, 2018 5:42 am
Has thanked: 58 times
Been thanked: 69 times

Re: My New PCB Prototypes

Post by Dividion » Wed Aug 01, 2018 8:59 pm

Moonsword wrote:
Wed Aug 01, 2018 8:45 pm
I like the look of the boards and the functionality they provide, it would make a DMG build a lot easier, it would also do the same for SP builds.

I just have one question, how well will these work with a Pi3?
The GPIO assist boards don't, since they need to sit flush with the Pi0w in order for the holes to line up. The Pi3 has components on the bottom, so it's not flat, and if you set it face up on top, the pin placement doesn't line up anymore. I'm sure someone could get creative and place one face down on top of a Pi3, but I don't think it would be very effective that way. Also note that the pads on the back are different between the Pi0 and Pi0w, so they shouldn't work for a Pi0 either.

Regarding the other components, the tiny USB hub will work, but the Pi3 already has plenty of USB ports. So that leaves the SPI adapter and button board. Those should work just fine.
Check out my store for GBZ boards and accessories: http://pocketadventures.com

drifftr6x
Posts: 18
Joined: Tue Sep 13, 2016 7:11 pm
Has thanked: 6 times
Been thanked: 4 times

Re: My New PCB Prototypes

Post by drifftr6x » Wed Aug 01, 2018 9:56 pm

this looks cool. Love new toys to play with. cant wait to get one. will you be selling these boards?

Dividion
Posts: 95
Joined: Fri Mar 30, 2018 5:42 am
Has thanked: 58 times
Been thanked: 69 times

Re: My New PCB Prototypes

Post by Dividion » Wed Aug 01, 2018 10:07 pm

drifftr6x wrote:
Wed Aug 01, 2018 9:56 pm
this looks cool. Love new toys to play with. cant wait to get one. will you be selling these boards?
Thanks! Yes, I'm planning to make them available. A few I mentioned should be ready in a couple weeks (though I'm still working on the logistics for shipping them). I'm getting the prototypes for the others next week, so they might still have a few kinks I need to iron out.
Check out my store for GBZ boards and accessories: http://pocketadventures.com

BadMrRictus
Posts: 1
Joined: Wed Aug 01, 2018 9:13 am
Has thanked: 1 time

Re: My New PCB Prototypes

Post by BadMrRictus » Thu Aug 02, 2018 9:20 am

Those look like a lot of fun! I’ll have to keep an eye for sale time.

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: My New PCB Prototypes

Post by Helder » Thu Aug 02, 2018 11:47 am

Finally someone doing something a *little* different (although Tinkerboy has the same things on his new board), good work there.

Now a question for you on the usb audio and hub, is the CM102S+ full speed or High speed? Reason I ask is that the FE1.1s will set the speed to whatever you have hardwired for the other ports, so if that is a full speed and not a high speed USB IC then it will have similar issues to what I had on the AIO I built a few years ago (it's been about 2 years now).

In case anyone doesn't know the difference here is some info:
https://arstechnica.com/uncategorized/2003/10/2927-2/
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

Dividion
Posts: 95
Joined: Fri Mar 30, 2018 5:42 am
Has thanked: 58 times
Been thanked: 69 times

Re: My New PCB Prototypes

Post by Dividion » Thu Aug 02, 2018 1:43 pm

Helder wrote:
Thu Aug 02, 2018 11:47 am
Finally someone doing something a *little* different (although Tinkerboy has the same things on his new board), good work there.

Now a question for you on the usb audio and hub, is the CM102S+ full speed or High speed? Reason I ask is that the FE1.1s will set the speed to whatever you have hardwired for the other ports, so if that is a full speed and not a high speed USB IC then it will have similar issues to what I had on the AIO I built a few years ago (it's been about 2 years now).

In case anyone doesn't know the difference here is some info:
https://arstechnica.com/uncategorized/2003/10/2927-2/
Hey Helder,

Yeah, that's the FE1.1s. I've only run into one device that I couldn't get to work with it, and that's this USB sound card: https://www.aliexpress.com/item/High-Qu ... 14644.html
It works great with this one though (as long as you don't accidentally wire the USB wires in reverse, which seems to fry the sound card without even a satisfying sizzle or pop): https://www.aliexpress.com/item/5V-USB- ... 89429.html
And it's worked with the other devices I've tried with it, like the logitech wireless keyboard (unifying receiver) and the CM102S+ chip (a little ironic, since the sound card it doesn't like uses the CM108). I haven't tested all of my flash drives, but so far they work (though I'm not sure what speed they're running at).

I'm also not sure if it's the same chip that Tinkerboy's using, though his seems to use one more capacitor than I do. We do seem to have similar ideas when it comes to picking components though... Maybe we get the same google results. :)

I just checked the datasheet for the CM102 and it says it's USB 2.0 Full Speed compatible. (The CM108 datasheet said the same thing, so I'm not sure why that one didn't work for me.) In the datasheet for the USB hub, it lists the different power consumptions depending on how many devices are attached, and it lists them as either all high speed or all full speed, never in a combination. So with the CM102 at full speed, I'm guessing everything runs at full speed. That's actually good for saving power, but not so good if you want to transfer data quickly.
Check out my store for GBZ boards and accessories: http://pocketadventures.com

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: My New PCB Prototypes

Post by Helder » Thu Aug 02, 2018 2:55 pm

Yes on the full data speeds but some devices like some keyboards (logitech always works it seems) and some usb wifi cards and usb flash drives often are not recognized. When you have the CM102S+ hooked up and you use a USB Drive does it recognize on the Pi? If so then you might be ok.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

Dividion
Posts: 95
Joined: Fri Mar 30, 2018 5:42 am
Has thanked: 58 times
Been thanked: 69 times

Re: My New PCB Prototypes

Post by Dividion » Thu Aug 02, 2018 4:09 pm

Helder wrote:
Thu Aug 02, 2018 2:55 pm
Yes on the full data speeds but some devices like some keyboards (logitech always works it seems) and some usb wifi cards and usb flash drives often are not recognized. When you have the CM102S+ hooked up and you use a USB Drive does it recognize on the Pi? If so then you might be ok.
The two Kingston drives (the one in the upper left, and the one that failed) both caused the Pi to reboot when they were plugged in. After the reboot, the one in the upper left worked, but the other was still never recognized. Tried it a couple of times too. All of the other drives were recognized and worked just fine.
Image
Check out my store for GBZ boards and accessories: http://pocketadventures.com

Post Reply

Who is online

Users browsing this forum: Google Adsense [Bot] and 1 guest