From 16d28628aca9b2d356de31c319f5e7bc0f5b2b02 Mon Sep 17 00:00:00 2001
From: Bradley Taunt
Date: Sat, 8 Jun 2024 13:43:37 -0400
Subject: Remove incorrectly generated files, fix up markdown articles
---
build/cheap-portable-pi/index.html | 61 ++------------------------------------
1 file changed, 2 insertions(+), 59 deletions(-)
(limited to 'build/cheap-portable-pi')
diff --git a/build/cheap-portable-pi/index.html b/build/cheap-portable-pi/index.html
index 5da494c..7a08484 100644
--- a/build/cheap-portable-pi/index.html
+++ b/build/cheap-portable-pi/index.html
@@ -3,11 +3,12 @@
+
Portable Pi: Cheap Raspberry Pi Zero Hacker Terminal
-
+
Navigate to the boot folder of the microSD device - we will be adding 2 files here
-
First add a completely empty file and name it ssh (no file extension)
Next add an empty file named wpa_supplicant.conf
Open the wpa_supplicant.conf file in a code / text editor and paste the following (be sure to change country to your proper country code, as well as properly setting your network name / password):
Assemble the Raspberry Pi Zero with the Battery HAT (li-ion battery attached) connected via GPIO pins, and the 3.5 display connected on-top of the battery HAT’s pins
Turn on the battery HAT switch to power the RPi Zero. Give the device roughly 90 seconds to perform the initial boot
-
Note: the display will turn on but only show a white screen - this is normal
-
Connecting to your Zero via SSH
-
Open the terminal on your Raspberry Pi desktop and enter the following command:
-
ssh pi@raspberrypi.local
-
You will then be asked if you wish to trust this device (say yes), then prompted for the pi user’s password - which is raspberry. After a moment you will be directly connected to your Raspberry Pi Zero. Hooray!
-
We just want to make a couple small configuration changes before going forward (mostly for security):
-
Run the command sudo raspi-config
Select “Change User Password” from the menu and change the password
After that, select “Network Options” and change your device name
-
This will avoid any conflicts of connecting to newer RPi devices down the line
-
That’s it!
-
Installing display driver
-
Next we will need to download and run the drivers needed for our 3.5-inch display to play nicely with our Pi Zero (just a blank white screen doesn’t help us much). While connected to our RPi Zero via SSH, run the following commands:
If you have snail-paced rural internet like I do, now is a good time to go and grab a coffee while this download completes.
-
Once the download has finished, extract the contents and navigate to the new directory and install the driver:
-
sudo tar xzf LCD_show_v6_1_3.tar.gz
cd LCD_show_v6_1_3
sudo ./LCD35_v
-
Once completed, the RPi Zero will reboot and everything should work as expected!
-
Installing software
-
I’m not going to jump into heavy details about installing terminal-based software for this setup. The links I’ve attached in the software section should provide you with more than enough information to get started. For reference, I’m using a very basic set of applications:
-
Neomutt (emails)
Lynx (quick and simple web browsing)
Nano (writing notes / blog posts in a hurry)
Vim (making any config edits or project work)
-
There you have it - a terminal-based, portable Raspberry Pi Zero “hacker” device.
-
Is it practical? Not really. Can it replace any other portable device you might own? Probably not. Is it fun to make and experiment on? You bet! And in the end - isn’t that what matters most with pet Pi projects?