HomeRaspberry PiRaspberry Pi NAS: (NAS-pi) Modding like a boss #part2

Raspberry Pi NAS: (NAS-pi) Modding like a boss #part2

Plex and RAID1 NAS drive build log

Previously in, I was trying to figure out if the project is doable. If you are interested in the Raspberry Pi NAS speed, and media playback please check the part 1. Everything has been working well but more prototyping was required. Yes, you can simply throw everything in a box and pretend you have a neat solution by hiding this monstrosity in a cupboard. I’m not going to do that. Currently, I’m waiting for a parcel with HDD enclosures and an acrylic glass. While this is in progress, there are things I need to do.

The Design of Raspberry Pi NAS

img_20161009_102731

There are two main issues we are going to solve. To power the Raspberry, there will be a microUSB sticking out of the side of it, or we are going to use pin2 and ground on GPIO which will provide the unfused power. I’m not a fan of either of the options, therefore I will be soldering the power cable directly to the PCB.

The second issue is the USB. I need to connect a cable going from the USB to my hub. Ideally, I’d like to have USB ports outside of the case for an easy access. This would leave us with another cable sticking out of our box. This is not going to happen. As above, I will solder the hub directly to the PCB.

Optional
Please forgive me the rather shoddy soldering jobs below. I’m not that great at it, but also this is still a prototype, and final soldering will be done when the case is built. Once the case is ready, cables will be cut to size and soldered properly. I may even add proper connectors as well.

USB modification

Raspberry NAS pi

The dual USB socket must go. I’m picking the middle one, mostly because if Ethernet wire is present, these are more difficult to access. There is no rule here, pick one and extract. I have to admit I was little impatient, and I have cut off the pins before using the soldering wick to remove the socket. Try doing it in short bursts to protect the PCB from overheating. If you are careful and patient you will also salvage a usable dual USB port for the future projects. Don’t damage the port too much, we will still need it.

dsc_3060

Once the port is detached, I cut the hub’s USB lead. I need the cables exposed so I could solder it to the board. As this is a USB 3.0 we have many more cables that we simply not going to use. Although I could use an online guide and trust the colours of the wires, I had my doubts. I saved the plug from the hub and using the multimeter I could identify the wires and pinout correctly. The default configuration should be Red (5V VCC), White (Data-), Green (Data+), Black (GND). If you are using less reputable source for the cables, please test the cables directly with a multimeter.

dsc_3058

RED, WHITE, GREEN, BLACK or is it?

test


Please don’t confuse the wires. Especially the red (5v VCC) and black (GND). Initially, I soldered the white and green in an opposite fashion. I’m happy to report that despite trying this out with a hub and a keyboard connected there was no damage to the USB.

Correct lineup

Next time I know I should take my time. But this is a prototype, and it is for the best that I will make all the silly mistakes so you wouldn’t have to. Once the wires are connected correctly I have tested the Raspberry Pi NAS again with the keyboard. This time, I was able to use it. Success!

Power

dsc_3067

It was the time for the microUSB bypass. A little bit of googling confirmed that if I wish to ignore the GPIO option, the best solution is to wire the power to P1,p2 test spots (RPI2) for 5V and P5 for GND. Avoid soldering your wires to the fuse directly. It is never a good idea. I also got little lucky, the microUSB cable I decided to cut for this use, turned out to be a charge only cable with 2 internal wires. This means less hassle. The cable will be placed internally so try picking one of the thinner ones.  The previous cable I used for this didn’t have the black wire!!

dsc_3069

The job was simple enough. Quicker than all that mess I had to go through with the USB port. As this is not the final solder I’m ignoring the safety and wires are not secured. This is mainly to show you, how should you proceed with your soldering. Later on, I will be making sure there is no risk of a surge and securing the cables with hot glue.

Raspberry Pi NAS 2.0

dsc_3072

I’m happy to report that the final test has been successful. Both hub and the RPI are powered by the adapter hooked up to the hub. Raspberry is booting up and I’m able to move to the next stage.

Shopping for components:

ItemAmazon UKAmazon USAAliexpress.comBanggood.comComments
1 x USB 3.0 4 port hub£8.99$9.99$6.64$11.99I picked the microUSB powerd one, other are available
4 x USB angled cables£6.99 pack of two$6.99 pack of two$1.68$2.99Plan the bends accordingly
1 x 2.5 -3 A 5V power supply£5.79$8.99$4.99$5.75Works from 2.4A but aim for 3A if possible
1 x Raspberry PI 2/3£32.00$35.10$39.50$39.99There is no speed penalty for RPI2
3 x HDD£5.95$8.99$8.49$9.49Needs to have a specific opening mechanism
USB hub with power 2.5A£12.22$16.99   

What’s next?

Currently, I’m waiting for a very clever HDD enclosure that will let me hot-swap the drives while fitted inside of the case. I’m also waiting for some fancy acrylic glass. I’m very impressed with the colours you can get. I will order the frosted glass effect for sections that suppose to cover the wires and nice transparent and fluorescent effect for sections where I can show off some LEDs etc.

PayPal

Nothing says "Thank you" better than keeping my coffee jar topped up!

Patreon

Support me on Patreon and get an early access to tutorial files and videos.

image/svg+xml

Bitcoin (BTC)

Use this QR to keep me caffeinated with BTC: 1FwFqqh71mUTENcRe9q4s9AWFgoc8BA9ZU

M5Paper

Programable, ESP32 based awesome dev platform with 4.7 e-ink display by M5Stack

More HATs

client-image
client-image

Argon One M.2

Enclose Raspberry Pi 4 inside this great case with custom I/O, cooling and GPIO and M.2 SSD support

More cases on

client-image
client-image

Best Raspberry Pi Projects

How to use Raspberry PI as WOL (wake on lan) server

0
While you could wake up your PC from a mobile directly, having a dedicated server capable of doing so is the best solution. The reason is simple. You can hook up as many devices as you wish with a single endpoint. This is why Raspberry Pi is perfect for this.

Slow Internet Warning

0
From time to time my Internet grinds to a stop. Since Raspberry Pi 4 comes with a 1Gbps Ethernet, I decided to take advantage of it and create a reporting system in NodeRED that will monitor and report when the ISP is not keeping the contractual agreements. Works with Alexa, Google Home, Android and Windows 10.

How fast Raspberry Pi NAS is?

0
Let's see how fast Raspberry Pi NAS really is?

Argon18: Argon ONE SSD modification

0
Argon One case just got better - now you can boot it from USB without ruining the design thanks to Argon 18: Argon One SSD modification

HOW TO...

How to boot Raspberry Pi 5 from NVMe M.2 SSD

0
This is how you can boot your Raspberry PI 5 from NVMe in 10 min! Check out these easy instructions

It took me 2 months to boot CM4 from NVMe

0
Complete beginners guide to Compute Module 4 boot from NVMe.

Raspberry Pi Zero 2 W vs other Zero boards

0
It's time to test the Raspberry Pi Zero 2 W against other Raspberry Pi boards from Zero series: power, WiFi, temperature and core performance

C/C++ and MicroPython SDK for Raspberry Pi Pico on Windows

0
A guide to SDK toolchain for Raspberry Pi Pico and C/C++ , Micropython on Windows.

A comprehensive guide to Grafana & InfluxDB

0
How to use Grafana and InfluxDB on Raspberry Pi for IoT sensors in home automation