Raspberry Pi 5 All-in-One Mini Computer
by NickZero in Circuits > Computers
7381 Views, 39 Favorites, 0 Comments
Raspberry Pi 5 All-in-One Mini Computer
This is a simple Raspberry Pi 5 based all-in-one computer workstation using a Waveshare 10" screen and 3D printed stand and case.
Supplies
Raspberry Pi 5 + Cooler (I've used the official Active Cooler)
Suitable Pi 5 Power supply
Waveshare 10" screen (https://www.waveshare.com/wiki/10.1DP-CAPLCD)
(the screen kit comes with everything you need, buttons, USB and HDMI connectors etc)
3D Printer / Filament
M2.5 Screws (x5)
Keyboard / Mouse
SD Card - if not using the NVMe or network OS setup
Optional - NVMe HAT - I've used the Pineboard HatDrive! Nano + a 256GB 2242 NVMe drive
I purchased all of the parts from thepihut - here is a link to the screen:
https://thepihut.com/products/10-1inch-capacitive-touch-display
Setting Up the Pi
Add your cooler to the Pi and install the NVMe HAT if you are using one. Once you have done this, you can attach the Pi to the Screen along with the four long stand-offs. Add the USB and HDMI connectors. If you are using a wireless mouse/keyboard - now is also a good time to insert the USB reciever (use the USB 2 ports for this - leaving the USB 3's free.
You shoudnt need to do anything to configure the screen, but you can check Waveshare's wiki for configuration or other options. https://www.waveshare.com/wiki/10.1DP-CAPLCD
There are a couple of ways to install an OS on the Pi; the Pi foundation has great documentation here: https://www.raspberrypi.com/software/
Use the Imager to write the OS to your SD card. Once you have booted from that you can use the "SD Card Copier" to transfer the OS to the NVMe.
If you have a wired network you can install direct from the internet using the firmware loader; just plug in a network cable and power up the Pi. There are loads of great tutorials on YouTube or other Websites. (Google "pi network os install")
Printing the Parts
You will need to printout the following parts:
- Back Plate Case
- Power Button (Print in Transparent PLA)
- Plate Hinge Top
- Plate Hinge Bottom
- Hinge Nut
- Hinge Bolt
- PI logo Base
- Cable Tidy
I printed the case and base in Red, and the stand in White - print the Power button in transparent so that the LED can show through it.
I printed all the parts at "Dynamic Quality" (0.16mm layer height and 20% infill) - everything prints fine without supports.
Assembly
Connect the cable to the button board and insert it through the hole on the side (Pic 1), and press fit the board into the slot. I found this stayed in without glue, but you might want to check this yourself.
Feed the wire though the hole on the lower longer edge (Pic 2 / Pic 3 / Pic 4)
DONT FORGET to insert the power button... (Pic 4 / Pic 5)
Push the case onto the screen, lining up the the cutouts so that the case fits down snugly to the screen (Pic 6)
Connect the button board cable to the socket (on the right looking from the bottom - Pic 3)
Check that the power button is pushing onto the Pi correctly (you should hear/feel a click)
Push the Plate Hinge Top part on the the case - this might need a bit of persuasion, its a tight fit.
Now you can put the 4 M2.5 screws in to secure the case onto the stand-offs and one to secure the top hinge (Pic 7 / Pic 8)
Secure the lower hinge part using the printed Nut and Bolt - secure at a slight backwards angle.
Slide on the cable tidy, then slot into the base.
Power Up
Connect the USB C power to the Pi (not the Screen) at the top, connect your keyboard / Mouse and network (or connect wirelessly)
The Pi will power up on USB connect, but you can use the button to power up or shutdown after that.
The Pi will run a little hot as the airflow is not great, but we can adjust the fan to suit. The CPU temp can be checked with the command: vcgencmd measure_temp
If you want to adjust when the fan starts check this post:
Essentially you edit the config.txt file in /boot/firmware/ using the command: sudo nano /boot/firmware/config.txt
Add these lines to the end of the file:
dtparam=fan_temp0=65000
dtparam=fan_temp1=70000
dtparam=fan_temp2=75000
dtparam=fan_temp3=80000
(65000 = 65 degrees C, etc)
These temps are a bit on the high side, so you can adjust to suit - I prefer the fan to be off most of the time.
Final Thoughts
There is a socket for a direct speaker connection, but I have the 3.5mm jack connected to my sound bar - this works well but you can also connect a bluetooth speaker if you want audio.
Thanks for looking at my project - Please let me know what you think of this and if there are any adjustments or enhancements that could be made.