N2 based NAS

Share here your ideas for new projects
Post Reply
User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

N2 based NAS

Post by zyssai »

Hi!

I could have posted this in N2 forum but it will possibly be used by any other SBC.
I actually use an N2+ for my NAS.
Ubuntu OS was flashed into the emmc, and I use an external USB 3.5" hard drive enclosure.

That's working perfectly, but I want to add 2 more hard drives.
And I mainly want to give it a more professional look.
So no way to have N2 with 3 USB external enclosures, with all these power adapters. I don't what to have a spaghetti computer :D

So I will use a 3D printed enclosure, based on something like this, I need to modify design to fit N2 inside.

Image

To manage power, I will design a PCB, certainly powered by a classic laptop adapter to have sufficient power, then use a 12v regulator.
The idea is to start every hard drive independently, probably delayed by 1 or 2 seconds from each other's.

All of this managed by an ESP8266 with wifi connection, because I want to be able to start my NAS with Google Assistant or Alexa.

Image

So just one voice order and my NAS is starting.
One other order and Ubuntu shuts down, then once N2 is off, power off every hard drives.

I'll add a button in the front panel to do the same thing.
And another one because I want to be able to use WPS wifi connection.

So many ideas. I have a lot of work to do :D

Edit:

So as it is an idea, it just moved to another idea :D
Why design this to just use it for a NAS? Why not design a board to control power of any SBC, and add support for Google Assistant/Alexa? Let's move on!
Last edited by zyssai on Mon Jul 15, 2024 6:52 pm, edited 2 times in total.
These users thanked the author zyssai for the post:
odroid (Mon Jul 08, 2024 9:48 am)

User avatar
mad_ady
Posts: 12098
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, N2L, H2, H3+, Go, Go Advance, M1, M1S
Location: Bucharest, Romania
Has thanked: 663 times
Been thanked: 1322 times
Contact:

Re: N2 based NAS

Post by mad_ady »

Great idea! But isn't a NAS supposed to be always on, with the drives idle?

User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

Re: N2 based NAS

Post by zyssai »

mad_ady wrote:
Wed Jul 10, 2024 6:16 pm
Great idea! But isn't a NAS supposed to be always on, with the drives idle? Image
Thanks!
I totally agree, it is supposed to :D

But my personal usage don't need an always on state.
My top needs are:

- Personal data backup and distant access to it
- P2P behind vpn download
- Plex media server
- distant access to retro emulation

So no real need to have 24/7 online.
But I need to be able to power it on from anywhere :)

User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

Re: N2 based NAS

Post by zyssai »

So, to know the consumption of a SATA to USB adapter 5V rail, I replaced this 0R resistor by my ampmeter (after verifying this red wiring actually goes to correct 5V pin of USB cord).

Image
Image

Result to 0.1A for a 2.5" SSD, and 0.2A for a 3.5" old hard drive.
So I think I can get ride of a 5V line, and let USB ports manage this.

I only need to make a power board to manage 12V.
These users thanked the author zyssai for the post:
mctom (Wed Jul 17, 2024 6:05 pm)

User avatar
mctom
Posts: 4321
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S, N2
Location: Gdańsk, Poland
Has thanked: 638 times
Been thanked: 872 times
Contact:

Re: N2 based NAS

Post by mctom »

Those drives may draw much more current when actually doing something.
I would suggest getting rid of that resistor that you removed for your measurements and let 12V rail supply both 12V and 5V for your drives.
This power converter on board looks like it can support more than 200mA. :)
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

Re: N2 based NAS

Post by zyssai »

mctom wrote:
Wed Jul 17, 2024 6:14 pm
Those drives may draw much more current when actually doing something.
I would suggest getting rid of that resistor that you removed for your measurements and let 12V rail supply both 12V and 5V for your drives.
This power converter on board looks like it can support more than 200mA. :)

Thanks for the advices.
Do you talk about AMS1117 power convertor? If yes this seems to be 3.3v revision.

User avatar
mctom
Posts: 4321
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S, N2
Location: Gdańsk, Poland
Has thanked: 638 times
Been thanked: 872 times
Contact:

Re: N2 based NAS

Post by mctom »

L2 and D2 look to me as parts of 12V -> 5V converter, controlled by U3.
Especially if one end of L2 is connected to U3, and the other end to 5V rail.

If drives work without D1 resistor (and ammeter) then I suggest using these adapters without D1.
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

Re: N2 based NAS

Post by zyssai »

Thanks, I'll check voltages at this area asap.

I just received this tiny esp8266, I can't wait to test it :D

Image

User avatar
mctom
Posts: 4321
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polski
ODROIDs: XU4, M1, H3+, SP3, N2L, M1S, N2
Location: Gdańsk, Poland
Has thanked: 638 times
Been thanked: 872 times
Contact:

Re: N2 based NAS

Post by mctom »

When designing PCB remember to keep any copper away from the antenna area. :) It should be on the edge of the board.
These users thanked the author mctom for the post:
zyssai (Fri Jul 19, 2024 3:05 am)
Punk ain't no religious cult, punk means thinking for yourself!
OpenUPS
PiStackMon

User avatar
zyssai
Posts: 1264
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 602 times
Been thanked: 253 times
Contact:

Re: N2 based NAS

Post by zyssai »

Yeah I already thought about that, I'll use this one for testing but it's possible that I change later for another model with external antenna.

Post Reply

Return to “The Ideas”

Who is online

Users browsing this forum: No registered users and 1 guest