Worklog cy's Unnamed N64 Portable (Worklog)

cy

.
Joined
Sep 3, 2020
Messages
81
Likes
214
Portables
6
It's finally time for me to build something other than a G-Wii, and no, I'm not talking another Wii portable. The scope of this project is fairly straight forward: Make an N64 portable with USB pass-through for an N64 controller HUB and Composite AV out. For those who don't know what this means, it essentially means creating a way to output audio and video on a CRT(or modern display with an adapter) while simultaneously having a controller solution allowing for 4 player multiplayer. This shouldn't be rocket science for me considering I was able to pull off something similar to this in my last project. The challenging aspect of this project comes in the form of it being an N64 which I'm yet to portablize.

This project has been in my cards for a little while now. I bought an N64 motherboard, PIF relocation board, and N64 Joystick converter board from @SparkleBear a year or so ago, so this was always something I had intended on doing. It wasn't until recently however, that I've actually gotten to work on this project. Progress has been real slow so far but that is in part due to my lack of components and funding. That's going to change soon though, and I plan to purchase a PMS1 from @CrazyGadget at MGC at the end of this month meaning I'll be able to successfully trim and test my board. I will still be waiting on other components such as a screen and other unaccounted for items that'll be needed, so I'm not expecting progress on this project to be fast.

With all of that said, I have removed and relocated the PIF, U8, and U3 off of the N64 motherboard. As of right now, the rest of my PIF breakout board is unpopulated, although I do have plans for how I intend to populate the rest of it soonish at least, so keep an eye out for that little update. Anyways, here's how my PIF relocation is looking:

PIF relocation pre-resistors and caps.png


I've tested all legs of PIF and U8 with a multimeter and everything checks out so far. I'm looking forward to populating the rest of this board soon and hopefully trimming and testing the N64 after I get back from MGC. As for the jumper pak, I plan on simply relocating an N64 expansion pak which I picked up at MGC in 2021 for better compatibility with games. I am aware that RAM swapping is a thing, but I'm afraid that is a little out of the budget and scope of this project - fitting an expansion pak in this thing shouldn't be too difficult anyways. I'd like to thank @SparkleBear for advice with this as well as for supplying me with the components I needed for cheap. I'd also like to thank him for supplying me with some of this knowledge in the form of his worklog which you can find here. Also thanks to @Gman for designing the PIF relocation board and everyone responsible for the Advanced N64 Trimming Guide.
 

cy

.
Joined
Sep 3, 2020
Messages
81
Likes
214
Portables
6
Update time: I've populated the PIF relocation board with resistors and caps, I'd like to thank @SparkleBear again for advice and help with this. He suggested I purchase a book like this one which has a lot of common resistor and cap values physically available within the pages of the book. This wasn't quite enough though, this book had almost all the values I needed, but it didn't have the 47k ohm resistors needed by this board. It did have values that were close, but to ensure the relocation was done correctly, I looked into alternative solutions. @CrashBash told me that resistor stacking is a thing, and after a bit of math(and totally not just pulling up a calculator for this on the web), I discovered that if I put 51k and 680k ohm resistors in parallel by stacking them, I'd get the 47k ohms I'd need. So resistor stacking and populating I went until finally:

PIF relocation post-resistors and caps.png


I should've taken a side shot of the resistors so you could see they were stacked, but I suppose that is water under the bridge. Now my PIF relocation board was completely populated, although... It sure would've been nice to test and verify it worked... More on this later...

For now, I decided my best bet was to create a battery clip solution that I could easily implement into the portable as I'm tired of soldering directly to batteries. I shouldn't have to explain why this is a good idea and I actually already have some left over battery clips from my Ashida build. By "left over" I mean all of them because I wasn't able to get my hands on the right ones at the time and I was in a rush to finish it so I could bring it to MGC meaning I ultimately soldered to the batteries of that one. This left me with battery clips that I needed to design a solution for, so I did just that:

Battery Holder Prusa Slicer.png

Here's how the final design turned out:
20230317_224945.jpg

(let's ignore the fact I need to vacuum my floor)

This design was made for 18650s with specifically these battery clips(digikey part #36-209-ND). If anybody is interested in using this battery clip design for themselves, I'm including the model files in this post. Note that the scaling will need to be set to "2.54"% under scale factors in prusa slicer if you use the STL at it's current scale. It may also need to be rotated 90 degrees(note that the gcode of it is already scaled and rotated accordingly).

That's enough 3d design for now though, let's get to the more interesting part of this update post... The trim!

Originally I was planning on waiting to trim this puppy until I got the PMS1 I intended to power it with from @CrazyGadget , but I was really eager to continue my progress in this project and was dying to see if my PIF relocation would actually work. The problem is that even after trimming this thing, I still need a way to power it. A few weeks ago I ordered up two 18650s for this unit and I happened to have a singular PMS2 left. I didn't want to use it on this project or open it even really, so my original intention was to wait until after MGC... And then 4layer announced the return of PMS2's... With this, I was no longer worried about risking my precious last PMS2 and I decided to give the trim a go!

Here's what my outline looked like:
Pre Trim N64.png

Notice how I removed many of the unnecessary components like the power switch, reset button and many of the caps with hot air. The caps could've easily been de-soldered, but things like the power switch were gonna take more than just a soldering iron to remove. I also wanted to preserve the controller ports since a controller hub with USB pass-through is in the works for this project. Really, if it was even close to being in the way, I either de-soldered it, or removed it with hot air.

With all of that, I decided to go forward with the trim and here's the result I got:
Post Trim.png


Yeah, I kinda made the cardinal sin of forgetting to take a picture of it immediately trimming and sanding it. This picture shows the trim after I wired up the PIF and necessary voltages. I put the OEM cooling solution on for the time being since I wanted to test it for a few minutes to ensure it'd continue running once I turned it on. With all of that, I very nervously wired up a composite out connector I had lying around, hooked it up to an HDMI adapter, brought in a monitor to test it with, and turned it on... The following was my result:


As you can see, it boots! This trim was a lot more challenging than any Wii trim I've done. Even after removing components that would be in the way there was still a lot of care that need to be taken to ensure this trim was a success: Carefully triple checking my outline, ensuring I had the right trim for my motherboard revision(this was a revision 2 trim), not cutting my fingers off by holding the board in a stupid way(that was a bit harder than you'd expect, the N64 doesn't have a lot to hold on to), and not butchering the traces that connect the CPU, RCP, and Cartridge slot together by not slipping with the dremel and correctly/carefully following the outline I drew. It's a lot harder than it sounds believe it or not, or maybe I'm just really bad at using a dremel. Either way though, the trim is complete and it was successful as was my PIF relocation! Next update will likely be a little ways out, but I do plan on doing some case design in the meantime so who knows?

Thank you to @CrazyGadget @CrashBash @Gman @SparkleBear @That_Random_Guy (you know everything you did to help with this project ;) ) And last but not least, @Y2K . You're all awesome!
 

Attachments

cy

.
Joined
Sep 3, 2020
Messages
81
Likes
214
Portables
6
I am aware that RAM swapping is a thing, but I'm afraid that is a little out of the budget and scope of this project
SIKE!

Not only did I lie to all of you about not doing a RAM swap, but I lied to myself as well. Turns out I had a spare expansion pak lying around that I wasn't aware of... I still wasn't planning on doing this until I realized I'd have a much better time designing the unit around a jumper pak relocation than I would an expansion pak, so... I now proudly present my trimmed 8MB N64 with a jumper pak used to close the circuit instead of an expansion pak.

Here it is booting into Majora's Mask:

If you watch the full video, you'll find that Majora's Mask states that the expansion pak is undetected in the unmodified N64 and obviously is detected in the trimmed one. The point of this is to showcase what happens when you boot into MM without an expansion pak. Here's some better shots of the RAM swap:

1.jpg
2.jpg
3.jpg


(Getting one side angle with both sets of pins in focus proved impossible, so I ended up taking several pictures of it. These three pics do the best job showing off my work)

This ought to make the internals cleaner and the case smaller.
 
Last edited:

cy

.
Joined
Sep 3, 2020
Messages
81
Likes
214
Portables
6
Time for another update! I'm a bit overdue for this so there's gonna be a lot to share! After performing the RAM swap I was getting a bit tired of making my footprint smaller on something I couldn't really play yet, so I got to researching and beginning my first controller trim. After trimming, I wired it up using the controller pinout found here and with a little common sense I was able to test it! Here's how the trim came out and a video of me testing it:

Controller Trim.jpg


Sadly, I didn't think to take a picture of the trim outline ahead of time, but the good news is that it works!

A video of it working can be found here
(I wasn't able to embed this video unfortunately)

This was a delightful little trim to have out of the way, trimming something to be this tiny was difficult and kinda scary with how the dremel likes to jump around... I ended up having to hold on to it with a pair of pliers so I didn't put my hand at risk.

Having a trimmed controller was great and all, but I didn't even have a way to test it on my trimmed motherboard since I cut the controller connectors off. With this in mind, I decided it was time to design, print, and wire up the USB 3.0 breakout hub. This wasn't my first time doing something like this, and I wasted no time consulting resources like the N64 Trimming guide for controller pinout, and this website for USB 3.0 color coding and general pinout. After deciding what my pinout would be and saving it in notepad I began a few iterative test prints.

@Wesk recently uploaded a full N64 console scan which made designing the breakout hub for this project significantly quicker and easier. This gave me the proportions I needed and likely saved me many iterative test prints, so a big thanks to him for doing this scan! While what ended up being the final revision of this hub was printing, I decided to tackle the corrosion on the controller ports I had de-soldered. My dad recommended I use some vinegar on a Q-tip and really scrub it down good, afterwards he suggested I use a mixture of baking powder and water to neutralize it. Afterwards I hit with some IPA because it seemed like a good idea. My results were as follows:

Before.jpg


I didn't think to take a picture before starting the treatment, but the ports on the top are after using vinegar and baking soda and the ones on the bottom are after just vinegar. The corrosion was a lot worse before I treated with vinegar, so this picture doesn't really do the method a justice, but this worked incredibly well making the pins look almost new.

20230321_103005.jpg


I did the same for the contact points since it seemed like a good idea. The one on the left is before, and the one on the right is after. Doesn't look like I got that much off but Mr. Q-tip says otherwise so...

With clean controller connectors and a finished controller hub printed, I was ready to begin assembly. I didn't want to go through the headache of printing a bracket for the connectors to slide into and have it screw down into the hub, I also wanted to see how realistic it'd be to do all my wiring on the underside of the connectors since that'd yield the cleanest results. Here's how the overall wiring turned out:

Controller Hub 1.jpg


And here's how it sat in the hub:

Controller Hub 2.jpg


Now all that was left was to create a reliable solution for retaining the ports(since these were kinda just dangling there in their holes and plugging in controllers meant pushing them out). This was accomplished using 3d printed boxes to fill in the gaps:

Controller Hub 3.jpg


This was done in green since that's what I have the most of and it wouldn't show externally. Now all that was left was the lid which I designed to be a friction fit:

Controller Hub 4.jpg


With this the controller hub was done! The hub works exactly as intended and as expected, so does the controller trim! I'll show a video of this at the end of the thread since the video demonstrates something else cool that I got working.

That something else would be tackling the jumper pak relocation... This relocation didn't leave me with many options since I didn't want to increase the thickness of the unit, and I didn't want to trim and relocate the jumper pak. So I decided to look into the obvious solution of removing the components from it and terminating the RAM bus with said components. As expected, this had already been done by somebody else before me, that person being Akira. Somewhere along the way of researching it, I had discovered @YveltalGriffin was familiar with the Akira method, so I decided to ask him about it. He walked me through the process of doing this and was incredibly patient, serious thanks to him for help with this!

My first attempt didn't go so well, I struggled to get good solder joints and in general it ended up being a bit of a mess. Surprisingly, it ended up working for a bit, but sadly that didn't last which left me to redo it. But before I redid it, I heeded @YveltalGriffin 's advice of picking up some Chipquik SMD291 flux as he boldly claimed that would make it easy. To my surprise, he was right! My results were 10x better this time around, and after redoing and a little bit of troubleshooting, I got it working flawlessly(seriously, I played tested the unit for 20 mins and it has been problem free)! Here's a picture and video of it in action:

20230327_161845.jpg



As promised, this video showcases the USB 3.0 controller hub in action with all the controllers working. Somewhere along the way I decided to redo my PIF relocation since it was starting to get in the way, so this video also shows that nicely positioned on the back of the motherboard. The USB and PMS are still attached in a very temporary manner for the time being since there isn't really any getting around that right now. I'd like to thank both @Wesk and @YveltalGriffin again for their help with this project! Their efforts have given me better results and saved me a lot of time!
 
Top