Skip to content

DIY Hobby build with Raspberry Pi-4 Model B.

Notifications You must be signed in to change notification settings

LordBramster/Raspberry-Pi-4-DIY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi 4 Model B

Current Hobby-Build and DIY projects using a Raspberry Pi 4 Model B (8GB RAM).



Specs and Parts

Raspberry Pi 4 Model B (8GB LPDDR4-3200 RAM)
Raspbian: Raspberry Pi OS (32-bit)

32GB Micro SD Card

Argon NEO Case
Argon Fan Hat
Argon 18W 5V Power Supply w/ Switch

If you want more information about this Raspberry Pi 4 model, you can find it here.
Here are some other product links:


Getting Started

Here are the steps I took configure a brand new Raspberry Pi 4 Model B.


Raspberry Pi OS Image

My Raspberry Pi did not include a OS-boot Micro SD card. I wanted to flash the OS Image to a new Micro SD card.

  1. Download the Raspberry Pi OS Imager from https://www.raspberrypi.com/software/, or for Windows.
  2. Run the Raspberry Pi OS Imager installation.
  3. Mount the 32GB Micro SD Card onto your machine.
  4. Open the Raspberry Pi OS Imager.
  5. OS: choose Raspbian: Raspberry Pi OS (32-bit) Debian Port w/ Raspberry Pi Desktop.
  6. SD: choose the mounted 32GB Micro SD Card.
  7. Now make any last minute Advanced Settings changes as necessary.
  8. Select Write to flash the Micro SD Card with the OS Image (may take a few minutes).

Insert the Micro SD Card into the unpowered Raspberry Pi 4, for the first time. Proceed through the rest of the OS Installation on the Pi.


RPi Bash

$ [sudo] apt-get update
$ [sudo] apt-get update && [sudo] apt-get upgrade
$ [sudo] apt full-upgrade
$ [sudo] reboot

Hostname

$ [sudo] cat /etc/hosts
$ [sudo] nano /etc/hostname
$ [sudo] reboot
$ [sudo] nano /etc/hosts
$ [sudo] reboot
$ hostname

(on /etc/hosts under 127.0.1.1)


Argon Fan Hat Config

$ curl https://download.argon40.com/argon1.sh | bash
$ [sudo] reboot
$ argonone-config
Fan Power Settings:
55°C=10%
60°C=55%
65°C=100%

SSH

$ echo

Stressberry

$ [sudo] apt install stress
$ pip3 install stressberry --user
$ pip3 install --upgrade numpy
$ mkdir ~/TemperatureTests
$ cd ~/TemperatureTests
$ /home/pi/.local/bin/stressberry-run -n "My Test" -d 1800 -i 300 -c 4 mytest.out

Resources:

https://github.com/nschloe/stressberry https://core-electronics.com.au/guides/raspberry-pi/how-to-stress-test-temperature-on-raspberry-pi/

Custom Scripts

~/temperature.sh

$ touch ~/temperature.sh
$ chmod +x ~/temperature.sh
$ nano ~/temperature.sh
$ cat ~/temperature.sh
$ ./temperature.sh

temp.py

$ pip install gpiozero
$ python temp.py

About

DIY Hobby build with Raspberry Pi-4 Model B.

Topics

Resources

Stars

Watchers

Forks