Game boy Pocket Zero project by Waffe

Show off your completed Game Boy Zero, or post your build logs here!
User avatar
waffe
Posts: 23
Joined: Wed Apr 24, 2019 10:35 pm
Has thanked: 14 times
Been thanked: 10 times

Re: Game boy Pocket Zero project by Waffe

Post by waffe » Sat May 04, 2019 11:19 am

KonnorJ wrote:
Sat May 04, 2019 11:12 am
The 32u4 is needed for hid, not 328p
To be fair i've not really read into everything but this guy does this, and i'm gonna try doing that.



also there is this which is the guide for the video: http://thezanshow.com/electronics-tutor ... utorial-36

User avatar
waffe
Posts: 23
Joined: Wed Apr 24, 2019 10:35 pm
Has thanked: 14 times
Been thanked: 10 times

Re: Game boy Pocket Zero project by Waffe

Post by waffe » Tue May 07, 2019 1:51 pm

Small update , removed some of the interior of the pocket to see how everything will fit. Will probably remove and alter some more when the game shell arrives! Also will do some sanding and final touches to make everything fit properly. You can see in one of the picture of what my idea of how everything fits. I don't know how I will layer the components atm, hot glue and plastic probably but if you have any suggestions would be great.

My shutdown circuit will probably be something like:
Image

That will be my first priority circuit-wise and after that I will work on the screen and lastly the buttons. If the shutdown circuit does not work I will probably go for the viewtopic.php?t=2260.
SpoilerShow
Image
Image
Image
I will begin my circuit tests on thursday after all the weekly school stuff is done!

Update: I soldered the circuit as the picture shows and it works , the safe shutdown works and the power supply turns off after the pi is off. Now I just need to get some battery monitoring going! There are some issues with the connection on the usb cable that i stripped I think so i will check that out tomorrow, and I will also try to replace the rocker with my own switch!
Image

User avatar
waffe
Posts: 23
Joined: Wed Apr 24, 2019 10:35 pm
Has thanked: 14 times
Been thanked: 10 times

Re: Game boy Pocket Zero project by Waffe

Post by waffe » Sat Jun 22, 2019 10:53 am

Figure I would update since it has been quite a while since last time. And most of the wait has been because it takes forever for stuff to arrive from China or other places. Right now I have every part except for my Joystick.

So what have I done up until now, well I have modded the case quite a bit and it took a lot of sanding and scraping and what not to get everything to fit and for the screen to be centered (this was a pain in the ass). I have 3d-printed a lot of parts and test parts for my shoulder buttons and joystick and screen and raspberry pi. I also painted my game boy and added some waterslide text on it, the paint turned out great but the waterslide is "soso". I should probably have followed the instructions better.

The screen was a pain in the a** to get to fit properly, I sanded and scraped and cut the inside edge of the gameboy pocket down to like 1 mm so it would be centered. That took at least a week and was very never wrecking. Used 80 grit ->200 grit sandpaper and a razorblade knife.

Used shoulder buttons from a joycon and they fit somehow and they work quite well. I have them glued to some tactile switches. The holes were made with a dremel and sanding so they would end up perfect. I kind of just eyeballed it which is what i've done with most things in this project.

I want to say my camera is not that good and i'm not that good at taking photos. I might put up a video when im done with the project so you can actually see what it looks like.

I pretty much only have some soldering to do and I will try to do some tomorrow and print out/make something to hold down the battery unless I just glue it on. I think the project will be done by the end of next week since ive already done most of the programming needed. I will update hopefully by the end of next week or during it. I am seriously impressed by people who post constant updates. It takes quite some time to write and take pictures etc.

Some pictures!
Pre paint:
SpoilerShow
Image
Painted with 5 layers of chaos black
SpoilerShow
Image
Painted with waterslide on and sanded a bit with 1500 grit
SpoilerShow
Image
With matte varnish and sanded a bit with 2000 grit to get rid of some uneven parts
SpoilerShow
Image
Shoulder buttons
SpoilerShow
Image
Backside
SpoilerShow
Image
Inside!
SpoilerShow
Image

User avatar
waffe
Posts: 23
Joined: Wed Apr 24, 2019 10:35 pm
Has thanked: 14 times
Been thanked: 10 times

Re: Game boy Pocket Zero project by Waffe

Post by waffe » Sat Jun 22, 2019 11:24 am

Update, made a small complement video!



User avatar
waffe
Posts: 23
Joined: Wed Apr 24, 2019 10:35 pm
Has thanked: 14 times
Been thanked: 10 times

Re: Game boy Pocket Zero project by Waffe

Post by waffe » Mon Jul 08, 2019 1:32 pm

Another update , small one! What I have left is soldering in the RPI and soldering the front panel stuff and then its done. But what has taken so long is in a simple word.. SPACE! I've rearranged stuff and reprinted stuff a millimeter here and there just to get everything to fit. It now closes with all the stuffs inside and. And aligning the screen was hell haha, also I have 3 dead pixels ..! But I will be happy with a finished project, does not need to be perfect. Been quite busy.

What is left:
-Soldering the front side buttons, leads and sound circuit
-Programming
-I might need slightly longer ribbon cables which is annoying cause I don't know where to get those besides china or ebay.

What i've done meanwhile:
-I bought a soldering iron so I don't have to go back and forth to school
-Printed and made a solder fan thingy with a carbon filter.

And pictures of the front panel:
Image

User avatar
waffe
Posts: 23
Joined: Wed Apr 24, 2019 10:35 pm
Has thanked: 14 times
Been thanked: 10 times

Re: Game boy Pocket Zero project by Waffe

Post by waffe » Sun Jan 26, 2020 1:37 am

Introduction:

Since I am done with this project after spending way too much time and money on it, I wanted to share some thoughts and my experience regarding modding and building your own devices.

Let this be a write up to beginners who are looking for some answers, or for anyone who will google something regarding a Gameboy Pocket and a Raspberry Pi.

When I went into this project, I had poor experience using microcontrollers, soldering, 3d-printing and plastic knowledge, using Linux, what parts to use and what configurations exists. In retrospect, I should have done more research before staring on this journey, but then, where is the adventure in that?

I have, during the span of this journey, acquired a lot of things: a soldering iron, a 3d printer, number of tools, a power supply unit, a handheld oscilloscope, and tons of components and wires to use in future projects.

The goal I set for myself was quite difficult: to put something inside of a Gameboy Pocket which is not that small compared to a smartphone, but still quite small if you are going to build it by hand.

Since I’m studying Electrical engineering, I started off with knowledge of electronics, making circuits and how to test them for problems. I thus knew that I would figure the circuitry out and would eventually get it working.
However, I was lacking several skills, such as, I don't know, any 3d-cad software whatsoever. That means that I could not model where to make the cuts, but, instead, I would have to do it all by hand.

How did it go? Well, I will try to explain every step, the problems I had, and how I solved them. I will also try to link as many parts and general links I used as possible. If I have some pictures or videos, I will add them to this post.

Modifying the Case:

This part was quite time consuming since I decided to insert big components and parts in the Gameboy Pocket case.
There is a workshop at my school that has power tools and drills, however, to use that workshop, I had to get permission from the school and to pass a test. The process was so slow that I got myself a Dremel copy before I could even pass the test. If you’re using one for the first time, it’s going to be loud and scary.
My advice would be to practice as much as possible on some ABS plastic before you start cutting into your own case.

I was insanely careful - maybe more than what was needed –: I snipped some of the insides out and sanded, snipped and sanded, snipped and sanded. Then, I used the dremel to clean some parts up, while being extremely careful not to let the dremel wander off into the plastic and create an unwanted hole.
To make a dremel as precise as possible, you should, if you can, strap the part down that you want to modify. If you hold the part in one hand and the dremel in the other hand, slipping can happen and *poof* there is a hole.

Now, modifying the inside was not that hard, but modifying the inside without affecting the outside was another story. Also, when I got my Dremel, I was like what the f*** are these tools. So I tried them all and watched some YouTube videos of people using them.

To fit that 2.8-inch display, I had to rip the entire guts out of the machine.
This was by far the hardest thing with the whole build. I had to do a lot of sanding and cutting and sanding and cutting and sanding and cutting and sanding and cutting for days and days and days to get this done without ruining the outside of the case.

One thing I am going to learn this year is how to use a CNC so I can automate this process. But I do not recommend using a 2.8 inch vertical screen to anyone: go with a 2.6 inch display with a horizontal connection if you are going to do a game boy pocket build.
Also, I ended up making the hole for the screen too large, so I had to do some 3d-printing and gluing to get the display to stay in place.
FYI, the custom screen lens I ordered from Bluishsquirrel took about 2 weeks with production and shipping, but ended up fitting perfectly so props to them!

It was insanely difficult to get the screen to perfectly fit in center: if you glue it from the back, you still need to turn the case and look at the front to make sure the screen is in the correct place. While doing this, the screen can move just a millimeter, and that will mess up the looks when turned on. That part took me a few hours and reattempts to do.
A good tip to know is that Isopropanol alcohol will make removing hot glue a breeze. Just dab it a little bit and it will come right off.

3D-printing:

I knew that I needed some custom parts for this build, because I couldn’t find anybody who had perfectly centered a 2.8-inch screen into a Gameboy pocket.
To achieve this, I had to remove all of the screw holes and 3D print custom buttons and brackets.
I had no experience doing any of this, and worked with the online software “Tinkercad”.
I started with using the 3D-printer at school, but it printed so horribly and stringy, that I decided to get myself a cheap 3D-printer and started a new journey with that.

I learned a ton of why my prints were not working and how to do it properly. Actually, I even took a break from this project to learn more about 3D-printing, which lasted about 6 months.
That’s one of the reasons why it took so long for me to finish.

Anyhow I made 100s of prototypes that I printed for the button wells, for the joystick, for the speaker, for the raspberry pi, for the back buttons, for the screen and so forth. No joke, I have a box full of PLA parts that I saved in case I need them for something in the future. This would have gone much faster if I took proper measurements and learned a real 3D-cad software, which I am now in the process of doing.

Soldering and installing the components:

Now, before I even started modding the case, I soldered the parts together to make sure it would work. This was quite a big mistake, because I had no experience in de-soldering.

Instead, I should have used a breadboard and be patient with it. To be fair, I should also have bought more than one part of everything, just for testing purposes.

The fact that I was not good with de-soldering made my solder joints quite messy, when I later soldered the parts in the case.

Another thing to point out regarding soldering is to use flux: it is quite amazing, and the solder will flow much better into the pads.
A critical error I made during soldering was that I moved my parts between the school and my home: a lot of wires snapped and had to be redone from scratch. However, I have yet to break a single solder from overheating with the soldering iron.
I learned how resilient boards are and how fragile components are. To minimize the number of wire breakage, I got myself my own soldering Iron, which was one of the best purchases ever.

Something that was awfully difficult was soldering directly inside of the case, because you need to hold the solder, the wire, the soldering iron. Unless you have 3 arms, this is impossible: you either have to pre-solder, or to align the cable inside of the hole.
Regarding wires: I used single core wires, which are the worst unless they are small. These pieces of sh**s snap all the time, and I had to redo the wires so many times. I used AWG 26, 28, 30, they all work fine. There were no problems with sound or power using thinner wires from my end.

Regarding the soldering iron I bought, there are a few things to consider. First, if you are using a new solder, it has a much higher melting point than old solders do ( which were used pre RoHS): it is somewhere between 280-310 degrees C. Then, the flow is also much worse and it releases toxic fumes. I built my own fume purifier, but you can also purchase one. If you only solder once every month, it’s probably not that bad.
If you use an old solder, it has a melting point of 180-200 ish degrees C, and you don’t have to worry as much about the fumes, but you need to wash your hands a lot.


Painting:

I custom painted my Shell to matte black. I also had no experience doing this, so I watched some videos and it turned out great.

For the sanding, I used 600-2000 grit: the low grits are risky because they can make quite sharp grooves on the plastic that you won’t be able to fix. Also, as far as I can tell, the wet sanding is much better than dry sanding on a plastic case.

Then, I applied the paint 3-5 times with thin layers, and, after a few hours, another 2-5 layers of varnish to seal it. It works amazingly well. It’s now been 6 months and the paint is still on my shell. Keep in mind though that any alcohol in contact with the dried paint will remove it: keep the isopropanol away!

I wanted some text on the Gameboy, so I used waterslide stickers, which was really difficult to find online in the correct font and size. I had a hard time with that part, as I had no idea how to do it and I couldn’t find any proper videos to help.
What I ended up doing: simply cut the sticker out and wet it with water, slide it on the plastic and it will fall off from the paper it’s attached to. You can then move it around and let it dry.
After it dries, you need to apply varnish to the sticker.

Now here is a problem if you use matte varnish: the sticker will look a bit frosty because of the way matter varnish lets in light. This happened to me: it’s not terrible but it’s a good thing to know. If you want a perfect sticker, use glossy varnish finish, as it affects the look of the whole shell.


Parts and ordering:

I ordered a 2.8 inch ili9341 that had a back PCB applied on it, I desoldered the screen from it and used a PCB made by VeteranGamer that I ordered from OSHpark to make the connection to the PI.

It was a nightmare because I broke the ribbon cable a little bit near one of the sides, and the ribbon cable was too thin to fit inside properly and make the connections. I had to re-flow the ribbon cable and use some masking tape to increase the thickness. It worked, but I had to shave off the top of the screen a little bit to make the led indicators fit above it inside the case.

As a tip, the aluminum can be removed without any problems. You can also snip off the edge of the white plastic easily. However, keep in mind that the LEDs inside reflect on the backside of the white plastic: don't remove all of it, or the screen won’t have any light to reflect on. Think of it as a projector without a white wall.
I sanded a little bit of the glass in the corner, and it worked fine by hand. I recommend not using a dremel, as it would make glass fly everywhere: not only is it really bad to breathe in, it also will fly under the screen and that's nearly impossible to fix.
You should also keep isopropanol alcohol away, as it will soak the weird plastic foam thingy inside and leave a mark inside – just like a coffee stain - which will be visible while the screen is on.

Anyhow, I bought a new screen that had no back-pcb and I soldered the ribbon cable directly to Veterangamers Pcb and it worked flawlessly.

Regarding ordering PCBS: it’s a nightmare to find Gerber files for something that someone never builds. You can either learn how to make PCBs or spend a really long time googling.
Definitely google similar builds for inspiration.
Note that importing anything in Sweden from outside EU is expensive AF, so be careful with that. Also the PCBs I ordered were too big and I had to trim them by hand using a dremel. Don’t breathe this dust in!!! Do it outside or use a mask.


Programming:

The programming was a mess as well. Getting everything to work was quite difficult, and, if you don't know Linux or python, it will be quite the challenge. I would definitely recommend learning these two.

Getting all the scripts to work and debugging them was not easy, especially not from SSH. Test-Reboot-Test-Reboot-Test-Reboot-Resolder-Test-Reboot-Resolder (Reebotoldering). It was a lot of soldering and rebooting.

I had the strangest problems with the teensy that I used in the end (because you could solder the d+ and d- connection) instead of an Arduino clone: it showed up as two gamepads instead of one in emulationstation and it would not recognize my key presses. I would have a Js0 that was a dud and a Js1 that would work when using jstest. This took me 2-3 weeks to solve.

This is the solution is that worked for me:

Revert to Arduino 1.6.4 and use teensy 1.23 (https://www.pjrc.com/teensy/td_123/). When compiling using these versions it would show up as one gamepad in emulationstation. Also I had to edit /opt/retropie/configs/all/autostart.sh and put in export __joy2key_dev="/dev/input/js1" for it to work in retroarch. Also had to go into the sudo raspi-config and select the gamepad as the user1 gamepad for retroarch.

Finishing thoughts and the future:

The hardest part of the project was getting back to it after it went on ice because I got a 3d-printer and had work. But I'm glad I did, and now I am done.

It might seem like this project was just a pain, which I would blame on my writing style.
I had tons of fun solving the problems and making it work. It was like assembling a puzzle where you make all the parts yourself. Now there are several more things that I could talk about, but this is already too long.

I want to thank all the people that upload code and the people on the forums. I would not be able to do it without you, and this project did change my life in many ways: I found a new passion of creating and building stuff, and I became way more skillful at tons of stuff.


Now I:
- Work part time with python in Linux
- Work in a workshop part time where I build stuff
- Am learning Altium to create some cool PCbs for future builds
- Am learning 3D-cad so I can CNC some cases in the future
- Have a better direction in what I want with life.

It was a blast making this, even though the process was tedious sometimes and mind boggling, thank you all! I will update with pictures within a week hopefully! Also to the people who want to do something similar: you can, if you want to put the time down!

If I missed something I will try to update the post.
Here is also a video of it almost done.

https://www.youtube.com/watch?v=E06RGtxUZx4
Last edited by waffe on Sun Jan 26, 2020 7:19 am, edited 3 times in total.

User avatar
waffe
Posts: 23
Joined: Wed Apr 24, 2019 10:35 pm
Has thanked: 14 times
Been thanked: 10 times

Re: Game boy Pocket Zero project by Waffe

Post by waffe » Sun Jan 26, 2020 2:40 am

Reserved for more text and pictures! Will try to format the previous post better and add more stuff so it can serve as some form of help to those who decide to embark on a crazy project.

Post Reply

Who is online

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