-
-
Notifications
You must be signed in to change notification settings - Fork 7
Assembly
![](https://user-images.githubusercontent.com/36605644/183702449-c6f3fb2d-e3fe-41d1-b9b4-91c1cb5fd377.png)
To assemble the handheld, you will need both tools and soldering skills. It would be really cool if you had a hotair station - but in this tutorial I will show you how to assemble the Malinka just with a soldering iron. Tool checklist:
- cutting pliers
- tweezers
- solder (preferably thin and containing lead (Sn60Pb40), I use 0.4mm)
- desoldering wire
- kapton tape
- double sided tape
- flux or soldering paste
- IPA alcohol/isopropanol
- a multimeter (even a cheap one will do)
- a screwdriver
- ESD cloth along with an ESD brush
- third hand and/or PCB holder
- and of course, a soldering iron.
Optional, but really recommended:
- straight pliers
- desoldering pump
- compressed air
- a magnifier
- haribo bears
![](https://user-images.githubusercontent.com/36605644/183704973-146618c2-46a1-47fd-b507-26c418b1bcdf.png)
The Bill-Of-Materials is included in the repository. You will also need two M2.5 screws with nuts and washers for the assembly process. Don't forget about the SD card too!
Before starting the assembly process, make sure that you have everything you need - all parts and tools. Remember to print the case, and install system on the Pi before assembling the rest! The assembly process can take up to 6 hours, so prepare a cup of water and haribo bears too, just to keep you motivated during the process. Let's go!
We will begin with the hardest part - just so if you screw up, you won't waste as much time. Preheat your soldering station to your favorite temperature. Mount your PCB so it's rigid and so you can solder it in a comfortable way. Apply a generous amount of solder flux on the pins.
![](https://user-images.githubusercontent.com/36605644/183706627-da7c6fb5-0793-4d53-af47-1d8504cc4172.png)
Stick the connector in place, and align it so the pins are meeting the pads almost perfectly. Take your time. If you are sure you did it well, solder one mounting pad on the side of the connector:
![](https://user-images.githubusercontent.com/36605644/183707008-79015ad1-c477-45a4-ba73-0aafff51260d.png)
Solder the other side too, and check if nothing moved again. If you think everything's fine, then apply solder on all the pins. Basically, you want to make a huge solder bridge like here:
![](https://user-images.githubusercontent.com/36605644/183707295-8baa8120-eb71-4d1c-ac12-e394190aa6ba.png)
Don't panic if it looks ugly, everything's under control! Take the desoldering wire, and slide it across all the pins. Remember to cut down tinned fragments, and apply more flux if needed.
![](https://user-images.githubusercontent.com/36605644/183707808-d336baa8-5a89-48eb-a499-0a7bafebc0cd.png)
Once finished, it should look quite neat already. Make sure if there aren't any bridges left, and if so, remove them.
![](https://user-images.githubusercontent.com/36605644/183707990-679379e3-f019-415d-9355-557aeb496421.png)
After this step, the connector is basically soldered. Now we need to clean the remaining flux - apply a lot of IPA alcohol, and use a brush and some cloth to remove the remaining flux. It should be removed from the connector and pins, and of course be sure to brush the inside of the connector too. A good approach is to put some alcohol inside, wait a second, and then spray some compressed air inside. No flux can remain inside the connector! Remember to flip the lever during cleaning too.
![](https://user-images.githubusercontent.com/36605644/183708281-df457b97-e6fb-41e8-abe4-7ba2ac1c6dcb.png)
Once finished, the connector should look pretty good, and no flux should be visible.
![](https://user-images.githubusercontent.com/36605644/183708721-3eb1828c-b8c8-4fb0-89b8-c773964021e6.png)
![](https://user-images.githubusercontent.com/36605644/183708737-d713f1f8-480a-4619-8ff1-ae8125ab58b4.png)
If you made it this far, congratulations! Take a break, and eat a haribo bear. There are only 3 smaller connectors left!! Repeat the process for them too, but if you feel confident, try soldering them just by applying only the necessary amount of solder. Use a magnifier or your phone if you need to see connections more clearly, as I do:
![](https://user-images.githubusercontent.com/36605644/183709258-7ae6c179-b4a5-430f-8eb1-16398fc769e3.png)
Once we are done with them, the hardest part is over. Time for the semi-hard part - the Raspberry Pi. Don't mind that my Pi is cut in the corner, you don't need to do it. Mount the Pi in it's place using two screws, washers are necessary to not damage the PCB!
![](https://user-images.githubusercontent.com/36605644/183709705-46685978-bb1d-410a-8c32-3064fd495edd.png)
![](https://user-images.githubusercontent.com/36605644/183709747-08b61a7e-930d-4063-9cac-60bd311f5d45.png)
The Pi is surface-mount, which means that soldering it will be quite different. You need to put the tip of soldering iron into the "cup", put some solder on it, and remove the iron. Remember to apply the flux if needed. Repeat the process for the other 39 cups:
![](https://user-images.githubusercontent.com/36605644/183710273-c8f56247-7bc9-4fd5-a4cd-28fe45b20867.png)
Remember to clean it of remaining flux using IPA, cloth, and brush. This is also a good moment to desolder the power USB, as we don't need it. Do it very carefully. Once you think you're done, you must check if you have soldered all the pads correctly. Use some common pins and exposed pads for that, and check along with this list (first 3.3v pin is the square one):
![](https://user-images.githubusercontent.com/36605644/183711183-3fa64f4e-8b86-4df5-a7d6-10d65c1116e6.png)
3.3v, VBAT
I2C_SDA, VBAT
I2C_SCL, GND
RADIO_CE, BTN_SELECT
GND, BTN_UP
MCP_CS, RADIO_CSN
BTN_LT, GND
BTN_LEFT, BTN_RIGHT
3.3v, TFT_DC
TFT_MOSI, GND
BTN_Y, TFT_RESET
TFT_SCK, TFT_CS
GND, BTN_DOWN
BTN_RT, BTN_A
BTN_B, GND
BTN_X, SOUND_L
SOUND_R, GND
RADIO_MISO, BTN_START
TFT_LED, RADIO_MOSI
GND, RADIO_SCK
Once you're done with the Pi, and all connections are checked and fixed, it's time for another haribo bear(s). Now only small SMD components are left - let's begin with smallest U3 - tin one corner pad:
![](https://user-images.githubusercontent.com/36605644/183712586-d09ba9a0-033f-4317-b055-baf8a183d7cc.png)
Mount and align the IC properly. Spot that the dots are indicating the first pin - the dot on the IC must match the dot on the PCB!
![](https://user-images.githubusercontent.com/36605644/183712727-3a21bdce-056f-41b5-9f78-bf066c1a6633.png)
Solder the other corner, and all the remaining pins. As you can see, my IC twisted a little but it's fine as long as connections are correct:
![](https://user-images.githubusercontent.com/36605644/183712859-510fa10c-06a1-4292-a4d5-dfcb813af0a3.png)
Remember to take your time, and apply a lot of flux. Repeat the process for the U7, Q1, U1 and U2:
![](https://user-images.githubusercontent.com/36605644/183713045-480f5a81-b717-4569-98e4-7a81b6b2c762.png)
Now we will attach the radio module. If you don't want to use radio at all, you can omit soldering it, as well as the SMA connector. Once again, tin and align using one pad:
![](https://user-images.githubusercontent.com/36605644/183713257-84786e16-2214-49e7-a0c8-9b7e84667ac4.png)
Apply even more flux, and when pressing the module into the main board, solder the mounting pad. It will keep the module flat and attached well.
![](https://user-images.githubusercontent.com/36605644/183713442-0c6e3dc1-3b7f-42e4-8e4a-8cabcfccced0.png)
Solder the rest of the pins, and voila! This is the result you should have so far: (note: this is a picture of an older version, you need to solder R10, C12, C10 and R18 near the U2 too!)
![](https://user-images.githubusercontent.com/36605644/183713616-6d0e90d4-e514-49df-9d2b-acfb0439c0a1.png)
It's time to solder the connectors. The process is quite repetitive, as again, we need to attach the connector using one pad.
![](https://user-images.githubusercontent.com/36605644/183713769-530e88ad-d4d0-4b6e-adea-b1136debf76c.png)
Solder other pads (but for this USB-C connector, they must remain flat as LCD goes in top of them!
![](https://user-images.githubusercontent.com/36605644/183713898-a146aaa6-9348-4fc4-9afb-4d4a182b4a23.png)
And all you need to do is tin other pins as well.
![](https://user-images.githubusercontent.com/36605644/183714050-65a5185a-4c9a-44a5-a72d-6a8f43f4b1a5.png)
Make a similar thing with the SMA connector. It's meant to be mounted on the edge of thicker boards, so make sure it's flat on the radio side, and "floating" on the screen side:
![](https://user-images.githubusercontent.com/36605644/183717755-b9731446-968f-4e1c-9627-d8dc6234984c.png)
You will need to apply a little bit more solder to connect it on the other side as well.
![](https://user-images.githubusercontent.com/36605644/183718000-9bc53f8e-f3b0-4616-ac54-352e32f6ea60.png)
We will move our focus to an LED now. On it's underside, there's a green line indicating the cathode. That line must be facing the "LED1" label:
![](https://user-images.githubusercontent.com/36605644/183714471-176283f8-0cd5-445b-9c0e-9f283e0721a4.png)
Solder the resistors too. Follow the schematic to check all components' places!
![](https://user-images.githubusercontent.com/36605644/183714768-36938734-e8f4-47a3-a17f-3ec99a77c3ed.png)
Continue soldering the passive components, and don't forget about the D1 in the top left corner. A note here though, DO NOT solder L1-L4, or C3-C6 yet. Leave C3-C6 free and short L1-L4 as pictured. You can add them once your sound turns out to be of poor quality.
![](https://user-images.githubusercontent.com/36605644/185375031-2d0da134-1bd5-498c-af71-0dc2fc64a52d.png)
Keep those elements in case your audio ends up being poor quality.
![](https://user-images.githubusercontent.com/36605644/183714943-7e35942b-b9c0-44b7-b5c1-3a779a7a4442.png)
The audio capacitors are surface-mount too, despite being THT. Just cut their leads as shown:
![](https://user-images.githubusercontent.com/36605644/183715586-64163e43-1203-4fd5-bfdd-dd5283e8020e.png)
Bend them down:
![](https://user-images.githubusercontent.com/36605644/183715672-c5fe7806-4cdd-4b12-ab26-b413e6687f6a.png)
And attach in place. The blue/gray strip on them indicates the cathode (minus side). The other one goes on the plus! Make EXTRA sure that you haven't swapped their leads, or else they won't work properly.
![](https://user-images.githubusercontent.com/36605644/183715700-046d66cb-6333-450f-b6c0-ddc8cb5d73e1.png)
One of the last things to do is to connect the radio module with the SMA connector. There's a small IPX connector on it, so I grabbed myself a small kit with a coaxial wire and an SMA antenna. NOTE: That antenna is meant for GSM, not 2.4GHZ! It needs to be tested, so be careful. Cut it down to about 40mm in length, or whatever is suitable for your setup:
![](https://user-images.githubusercontent.com/36605644/183717214-1bfa4375-c6c2-48d5-9294-1db98d3a5b06.png)
![](https://user-images.githubusercontent.com/36605644/183717283-1b7c9c80-eb31-4c67-955b-84fad334b53f.png)
Very carefully strip the coaxial wire so the core and shield are exposed well. Make some kind of a "cross" shape as shown:
![](https://user-images.githubusercontent.com/36605644/183718356-3a2a0437-7646-4e5a-a6d9-9c114da70329.png)
Tin it (and make sure to not make bridges!)
![](https://user-images.githubusercontent.com/36605644/183718540-b3da0b49-cad8-4a11-af1a-6d9dd10bb697.png)
Solder it symmetrically, and once again make extra sure that the core isn't shorted to the shield. Use a multimeter to check it!
![](https://user-images.githubusercontent.com/36605644/183718604-6d133bb5-040c-46f1-85ed-5e1440b1ff6f.png)
This is another checkpoint. Eat some more haribos. We can boot up the Pi already! Make sure that your board looks just like this one:
![](https://user-images.githubusercontent.com/36605644/183721577-3c4e15c9-e584-4640-82dc-eafe48041f2f.png)
![](https://user-images.githubusercontent.com/36605644/183721666-6cfd5f9f-bd0e-4c31-869a-077332669591.png)
If you feel confident about your beautiful work, insert the SD card you prepared earlier. If everything goes fine, the green LED should start blinking. If not, well... welcome to the club of having a fried pi.
Just kidding, check if you connected the battery properly, if your SD card is all good, and try to maybe flip the switch. Once you finally got your Pi working, log in via the SSH and type in sudo shutdown now
. After a minute or two, flip the switch off and remove the battery.
Everything you see is exposed and goes under the screen, you must hide with a piece of kapton tape : audio jack, all test pads, as well as part of the USB C connector. Stick some double-sided tape too:
Do a similar thing for the battery.
![](https://user-images.githubusercontent.com/36605644/185246748-0f686146-2ed6-46db-979b-1879c47d28e3.png)
Now, open the connector levers and very carefully slide the large ribbon through the hole. Use tweezers to push it inside the connector, and once it's properly aligned, close the lever. Do a similar thing with the smaller ribbon too. The backside of the PCB should look like this:
But don't stick the screen yet, we will do that soon! One of the last things to do is to prepare the speakers. Cut the wire on one speaker so it matches the shorter one in the picture below, and use those wires to expand the second speaker. Once you're done, twist the wires so they look just like they do in the reference below. The shorter speaker goes to SPK_L and longer one to SPK_R.
Aaaaaaand we're done! Insert the battery and turn the Malinka on. If you can see that the screen shows EmulationStation after few seconds, there's nothing left but to attach it with the double-sided tape. If you don't see any picture, head to the troubleshooting page.
Shutdown the Pi again, and detach the battery. Push the controller buttons and check if they're sliding smoothly - they must slide smoothly.
Put the rubber pads on them. You can see that they're not symmetrical, one side is 1mm longer - make it parallel to the longer edge of the PCB (horizontal).
Don't forget about side buttons too! Make sure to slide the switch to the left.
Now, very carefully, push the PCB inside. The SMA connector should go all the way through the hole. The rubber pads must remain in place!
Press the PCB down. The USB connector on the Pi should 'jump' into the place, and power switch should be matched too.
Inspect the alignment of the rubber pads. Fix them if they're not in place - you can easily detect that by pressing button and "feeling something wrong"
Put the joysticks on place, and screw them but don't use too much force!!! The plastic mounts on them are really thin and too much torque can break them. Stop once you feel more resistance.
Pull up the lever, and even more carefully slide the ribbon inside using tweezers. The joysticks have carbon paths so they will wear out after 3 or 4 insertions. Once in place, you probably don't want to disconnect them.
Time for the triggers. A trigger in place should look like this:
The backside should look as shown. If the cables are getting over mounting holes, secure them using kapton tape.
Finally, gently push in the cover, making sure that triggers are still in place. The 6 screws shouldn't stick out at all.
This is how the finished product should look like!!
Head to the user guide to learn how to use Malinka!