RISC-V Mini PC
Greetings everyone and welcome back; Here's something new but RISC-KY.
A Mini PC powered by the Vision Five 2 Single Board Computer from Starfive, which is equipped with the latest RISC-V-based SOC and runs Debian 11.
The whole build was constructed from scratch, starting with the model's design in Fusion 360, followed by the 3D printing of each component and assembly to produce a compact, square PC that resembles an Intel NUC.
This Mini PC has an inbuilt power source that is composed of up of four Li-ion Cells connected in parallel to a power module board.
The intention was to create a small, NUC-like PC with integrated power and cooling, enabling us to conveniently power the SBC for testing and possibly even some retro emulation.
Materials Required
These are the materials used in this build.
- Power Module (Provided by PCBWAY)
- SBC: Starfive Visionfive 2
- 3D-printed Parts
- Mini DC Fan 5V
- M2 Screws
- M3 Nuts and Bolts
StarFive's VisionFive 2
This is StarFive's VisionFive 2, an exciting new development in the SBC world's RISC-V category. The RISC-V architecture, which is entirely unique and distinct from ARM and X86, powers the VisionFive 2 SBC.
Here, this board packs the JH7110, a quad-core 64-bit SoC with RV64GC ISA, running up to 1.5 GHz, and integrated with IMG BXE-4-32 MC1, supporting OpenCL 3.0, OpenGL ES 3.2, and Vulkan 1.2.
VisionFive 2 is available with 2/4/8 GB LPDDR4 RAM options.
We are using the 8GB variant here.
Every peripheral I/O port, including an audio jack, Gigabit Ethernet, HDMI, and USB 3.0 connectors, is located on the front side.
The Type C power connector and Raspberry Pi-style GPIO header pins are located on the board's back, so we can even combine them with Thonny or terminal to create Python-driven electronics.
This board has an M.2 connector for Gen3x4 NVME SSDs, an eMMC socket that allows users to add an eMMC module to the board to enhance the amount of available storage, and a standard TF card slot.
They have also included a DIP switch that can be configured to run the operating system from three different sources: the TF Card, NVME, and eMMC.
Similar to the Raspberry Pi, this SBC also has standard MIPI-CSI and MIPI-DSI connectors for connecting displays and cameras.
As mentioned earlier, this board runs on a RISC-V chip, and what exactly is a RISC-V?
RISC-V is an open-source instruction set architecture (ISA) designed for creating custom processors for a wide range of applications. Initially developed at the University of California, Berkeley, RISC-V represents the fifth generation of processors based on the reduced instruction set computer (RISC) concept.
Put simply, RISC-V leverages simplified and condensed instruction sets, which contributes to the system's overall energy efficiency and increased speed above conventional processors. (While in theory quicker, RISC-V based boards are now extremely slow, barely beating the Raspberry Pi 3 and lacking in power compared to the Pi 4).
Fun fact: both ARM and RISC-V follow the reduced instruction set design philosophy. The key distinction between the two is RISC-V's openness and ARM's closedness; ARM uses a closed instruction set architecture (ISA) based on RISC that is licensed to businesses like Apple, for example, with their M Series processors. RISC-V is a relatively new architecture that is currently open source, suggesting that it may have potential in the future as more businesses should be able to build and modify it.
In terms of raw power, ARM currently leads, but we will have to wait and see.
It is evident that we will need some time to get things right, as our Starfive was having trouble with standard online browsing. Perhaps in the future, it will perform even better.
You can get more information about this SBC here:
https://www.starfivetech.com/en/site/boards
https://doc-en.rvspace.org/VisionFive2/Landing_Page/VisionFive_2/introduction.html
Benchmark Comparison
We have provided a benchmark score obtained from Geekbench 5, where we receive a multi-core score of 276 and a single-core score of only 78.
The Raspberry Pi 3B Plus, in contrast, has a multi-core score of 258, which is somewhat lower than Vision Five 2, but a single-core score of 98, which is higher.
The Raspberry Pi 4's single-core score is 256, while its multi-core score is 617. These numbers are significantly lower than what we achieved on the new Raspberry Pi 5 with the NVME hat, which scored 824 in the single-core test and 1836 in the multi-core test.
Design Process
The Starfive Vision Five 2 board and the power module board were the first boards the model modeled. We measured both boards and created an exact 3D model that would be used to design the body.
This mini PC's enclosure is made up of three separate parts: the bottom lid part, which holds the power module in place, the Middle Section, which holds the start-five board in place and has two slots for placing the rocker switch, and the TOP Section, which contains the fan and grill assembly.
In addition, we have incorporated four foot parts that screw into the bottom lid section and raise the PC somewhat off the ground.
We have attached a nametag that says "RISC-V Mini PC" to the front face of the middle section. Two color filament will be utilized for making this part through the 3D printing process.
Once the model was finished, we exported each component and used Grey PLA and Transparent PLA to 3D print them using a 0.6mm Nozzle and 0.2mm layer height.
Power Module
For powering the single-board computer, we are using this awesome power management board that we got from the PCBWAY gift shop.
This circuit is a Power Management Board that contains four lithium-ion cell holders, each connected in parallel with a Power management IC.
This board basically boosts 3.7 volts of Li-ion Cells to 5 volts for powering XYZ stuff through the USB Port or multiple CON2 Ports provided onboard.
We can get a wide range of outputs from this device, from 3.3V to 5V.
What makes it special?
- Battery protection (overcharge or over-discharge)
- Miniature USB port input
- Type a USB output.
- 0.5 A current charging.
- 1 switch controls USB output /5 ~ 8 V input voltage.
- Output of 3 V and 1 A and output of 5 V and 2 A.
- LED indication (green, red for charging)
- 3 V output port.
- The 5 V output port should be careful with "+" and "-", and the direction you should follow is "+" and "-" on the PCB.
PCBWAY Giftshop
As for sourcing this component, I got this circuit from PCBWAY's Giftshop
PCBWAY gift shop is an online marketplace where you can get a variety of electronics modules and boards for their genuine price, or you could use the PCBWAY currency, which is called beans.
You get beans after ordering something from PCBWAY as reward points, or you can also get them by posting any project in the PCBWAY community.
They are presently celebrating their tenth anniversary in business by hosting a tour that includes a few activities in which you can take part and win some goodies, such as special coupons and the chance to open blind boxes filled with merchandise from their gift shop.
Over the past ten years, PCBWay has distinguished itself by providing outstanding PCB manufacturing and assembly services, becoming a trusted partner for countless engineers and designers worldwide.
Their commitment to quality and customer satisfaction has been unwavering, leading to significant growth and expansion.
You guys can check out PCBWAY if you want great PCB service at an affordable rate.
Power Module Assembly
- We connected red and black wires to the Type C Breakout board's VCC and GND ports using a soldering iron. We then connected the red and black wires to the power module's 5V and GND.
- We additionally upgraded the push button's terminals on the board with a bell-style rocker switch. We linked the Rocker switch to the terminals of the existing PSU button so that it could be used to turn the power module on or off.
- Subsequently, we inserted four 3.7V 2900mAh Li-ion batteries into the cell holder located on the rear side of the power module, taking care to align the cells with the designated polarity on the board. Incorrect cell placement will undoubtedly result in a short circuit.
- Following the placement of the cell, we use a multimeter to measure the output voltage by switching the rocker switch. 5V is seen on the output side, confirming that the setup is operating.
Cooling Fan
We connected a 5V mini PC fan to the module's 5V output by placing a rocker switch between the fan's 5V and the power module's 5V.
The user can turn the DC fan on or off by using the rocker switch.
Top Lid Fan Assembly
- We installed the DC fan and fan grill on the top lid part, which holds the fan in place.
- next, we used four M3 Allen key type bolts and nuts to fasten the fan to the top lid part.
Middle Section Assembly
The assembly of the mid section was quite easy: we just needed to insert the SBC into the upside-down orientation and use four M2 screws to fasten it to the mid section using the provided screw bosses.
Switch Assembly
- After removing the switch that is attached to the DC fan, we install it in the switch slot located on the left side of the midsection.
- Next, we reattach the DC fan switch to the switch.
- In the same manner, we installed a bell-shaped rocker switch on the center section's right face, which will serve as the primary power-on switch.
Top Lid-Middle Section Assembly
We mount the top section fan assembly and the mid section together with four M2 screws.
Bottom Lid-Power Module Assembly
We install the power module on the bottom lid section and fasten it with four M2 screws.
Final Assembly
- The assembly process begins with the wires of the Power ON/OFF rocker switch being soldered in parallel with the ON/OFF switch terminals that are positioned onboard.
- Likewise, we linked the DC fan's terminals to the power module's 5V and GND.
- After adding the power module, the Type C Port on the Starfive board is connected to it. Power for the SBC will be supplied by this port.
- The midsection and the bottom lid were then linked together, and four M2 screws were used to permanently fasten them together.
- We attach the SBC Nametag on the front face of the Mid Section using Superglue.
- Finally, we install the model's four feet and fasten them with four M2 screws to the bottom lid.
- The Assembly Process is now completed.
Results
This straightforward build resulted in a functioning RISC-V PC with onboard power, driven by the new Starfive VisionFive 2 board.
In order to get started operating the Mini PC, we connected a monitor via the HDMI port and added a mouse and keyboard via the USB ports.
Once the Power ON OFF rocker button is pressed, the mini PC powers on. We then turn on the cooling fan to ensure that the CPU temperature stays low.
The SBC has Debian installed, and we will test the VisionFive 2 SBC using this PC setup and compare it to the current arm-based board.
For now, the objective has been completed, which was to make a small PC setup.
Overall, this project was a success and needs no further revisions.
In addition, we appreciate PCBWAY's support of this project. Visit them for a variety of PCB-related services,, such as stencil and PCB assembly services, as well as 3D printing services.
Thanks for reaching this far and I will be back with a new project pretty soon.
Peace.
RISC-V Mini PC
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(1)
- Josue Fernandez Sep 25,2024
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Arnov Arnov sharma
- WALKPi PCB Version Greetings everyone and welcome back, This is the WalkPi, a homebrew audio player that plays music fr...
- Delete Button XL Greetings everyone and welcome back, and here's something fun and useful.In essence, the Delete Butt...
- Arduino Retro Game Controller Greetings everyone and welcome back. Here's something fun.The Arduino Retro Game Controller was buil...
- Super Power Buck Converter Greetings everyone and welcome back!Here's something powerful, The SUPER POWER BUCK CONVERTER BOARD ...
- Pocket Temp Meter Greetings and welcome back.So here's something portable and useful: the Pocket TEMP Meter project.As...
- Pico Powered DC Fan Driver Hello everyone and welcome back.So here's something cool: a 5V to 12V DC motor driver based around a...
- Mini Solar Light Project with a Twist Greetings.This is the Cube Light, a Small and compact cube-shaped emergency solar light that boasts ...
- PALPi V5 Handheld Retro Game Console Hey, Guys what's up?So this is PALPi which is a Raspberry Pi Zero W Based Handheld Retro Game Consol...
- DIY Thermometer with TTGO T Display and DS18B20 Greetings.So this is the DIY Thermometer made entirely from scratch using a TTGO T display board and...
- Motion Trigger Circuit with and without Microcontroller GreetingsHere's a tutorial on how to use an HC-SR505 PIR Module with and without a microcontroller t...
- Motor Driver Board Atmega328PU and HC01 Hey, what's up folks here's something super cool and useful if you're making a basic Robot Setup, A ...
- Power Block Hey Everyone what's up!So this is Power block, a DIY UPS that can be used to power a bunch of 5V Ope...
- Goku PCB Badge V2 Hey everyone what's up!So here's something SUPER cool, A PCB Board themed after Goku from Dragon Bal...
- RGB Mixinator V2 Hey Everyone how you doin!So here's a fun little project that utilizes an Arduino Nano, THE MIXINATO...
- Gengar PCB Art Hey guys and how you doing!So this is the GENGAR PCB Badge or a Blinky Board which is based around 5...
- R2D2 Mini Edition So here's something special, A Mini R2D2 PCB that speaks ASTROMECH.Astromech is a fictional language...
- C-3PO Blinky Board Hey guys and how you doing!So this is the C3P0 PCB Badge or a Blinky Board which is based around 555...
- WALKPi Breadboard Version Greetings everyone and welcome back, Here's something loud and musical.Similar to a traditional walk...
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
74 0 0 -
DIY Laser Power Meter with Arduino
87 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
121 0 2 -
-
A DIY Soldering Station Perfect for Learning (Floppy Soldering Station 3.0)
418 0 1 -
Custom Mechanic Keyboard - STM32
244 0 3