<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.waterwaysinwhittlesea.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bobblybook</id>
	<title>Sensors in Schools - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.waterwaysinwhittlesea.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bobblybook"/>
	<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php/Special:Contributions/Bobblybook"/>
	<updated>2026-11-27T00:28:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4332</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4332"/>
		<updated>2022-06-30T02:16:36Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive. An SSD will also last almost forever, and is more reliable than an SD card which will wear out after a number of years.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from the speed upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power and high performance - instead we want efficient, low power and high compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
*Even though the Pi 4 has a USB-C port, don't be tempted to use a USB-C to USB-C cable! The USB-C port on the Pi is only USB2.0 - for high speeds you need to use the blue rectangular USB port on the side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Shopping List:&amp;lt;br /&amp;gt;&lt;br /&gt;
*SATA-based SSD of your choice (I chose Kingston A400M, the M.2 version, 240GB). Estimated cost: around $50 or less.&lt;br /&gt;
*A matching enclosure, WITH support for UASP and TRIM functions (I chose an Archgon MSD-211 enclosure). Estimated cost: $20-30.&lt;br /&gt;
*(Optional): A USB3 cable if not included with the enclosure. Mine came with it and I think most do.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
*ALTERNATIVE: Argon ONE M.2 case for Raspberry Pi 4. Holds both the Raspberry Pi 4 and an M.2 SATA SSD. Note that you still need to buy the SSD separately.&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Parts_overview.jpg | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(Optional, recommended) If you have a computer with a spare M.2 or SATA slot, it's best to first install your new SSD there. This will allow you to update the firmware to the latest version, which can't be done while it's in the USB enclosure.&amp;lt;br /&amp;gt;If using an M.2 drive, these are installed at an angle and then flattened against the spacer to be horizontal, and then a small screw is added from the top to keep it in place.&amp;lt;br /&amp;gt;[[File:M_2_angle.jpg | 500px]][[File:M_2_flat.jpg | 500px]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;The firmware update is done with a tool from the manufacturer - this is what the Kingston one looks like:&amp;lt;br /&amp;gt;[[File:Ssd_firmware.png | 600px]]&amp;lt;br /&amp;gt;In my case, the drive already had the latest firmware installed, so no updates were necessary.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
#Switch off the PC and remove the drive, then install it in the portable enclosure.&lt;br /&gt;
#Download the Raspberry Pi imager software: https://downloads.raspberrypi.org/imager/imager_latest.exe&lt;br /&gt;
#Connect the SSD enclosure to your PC, then run the imager software.&amp;lt;br /&amp;gt;[[File:Imager_ssd1.png | 500px]][[File:Imager_ssd2.png | 500px]]&lt;br /&gt;
#Don't choose the default OS - select &amp;quot;Raspberry Pi OS (Other)&amp;quot;. Then choose &amp;quot;Raspberry Pi OS (64-bit)&amp;quot;. This will install the 64-bit version instead.&lt;br /&gt;
#Select the matching USB storage device from the list (make sure to select the correct one! Disconnect other devices if you're not 100% sure). Then click &amp;quot;Write&amp;quot; and wait for it to download, flash and verify.&amp;lt;br /&amp;gt;If everything went well, you should see a message similar to this:&amp;lt;br /&amp;gt;[[File:Imager_sd2.png | 500px]]&lt;br /&gt;
#Now you can unplug the SSD drive, set up the Raspberry Pi 4, plug in the SSD to one of the blue USB3 ports and then plug in the power. Attach a screen, keyboard and mouse to the Raspberry Pi and then go through the basic configuration steps. Once you get to the basic Pi desktop, there are a number of configurations which need to be checked.&lt;br /&gt;
#(Optional) You can enable VNC server (Raspberry Icon -&amp;gt; Preferences -&amp;gt; Raspberry Pi Configuration -&amp;gt; Interfaces -&amp;gt; enable VNC) and set up your Raspberry Pi's IP address, then do the rest of these steps remotely over VNC.&lt;br /&gt;
#Firstly, do a full update of all software via the terminal: &amp;lt;code&amp;gt;sudo apt update&amp;lt;/code&amp;gt;, and then &amp;lt;code&amp;gt;sudo apt upgrade&amp;lt;/code&amp;gt;.&lt;br /&gt;
#Check UASP: Open up a new terminal and type the following: &amp;lt;code&amp;gt;lsusb -t&amp;lt;/code&amp;gt;.&amp;lt;br /&amp;gt;You should see a couple of results, and one of them should show 'Driver=uas'. If this is the case, then the drive is successfully connected with UASP.&amp;lt;br /&amp;gt;[[File:Lsusb-t.png]]&lt;br /&gt;
#Check TRIM: In the terminal, type the following command: &amp;lt;code&amp;gt;sudo fstrim -v /&amp;lt;/code&amp;gt;. This will probably return a message of &amp;quot;fstrim: /: the discard operation is not supported.&amp;quot;&amp;lt;br /&amp;gt;This means that TRIM isn't enabled for the drive, and is usually the default setting. If this is the case, it needs to be enabled for the drive.&lt;br /&gt;
#Check for TRIM support: Run the command &amp;lt;code&amp;gt;lsblk -D&amp;lt;/code&amp;gt;. Have a look for the 'sda' drive, and the two columns 'DISC-GRAN' and 'DISC-MAX'. If both of these are NOT zero, then your drive is capable of TRIM!&amp;lt;br /&amp;gt;[[File:Lsblk.png]]&lt;br /&gt;
#Enable TRIM support: In the terminal, type &amp;lt;code&amp;gt;sudo su&amp;lt;/code&amp;gt;. This is a bit like a permanent version of the sudo command - everything from now on will be run as super user (admin), until you close this terminal. The command prompt should have also changed to show &amp;quot;root@raspberrypi&amp;quot;.&lt;br /&gt;
#Run the following line: &amp;lt;code&amp;gt;find /sys/ -name provisioning_mode -exec grep -H . {} + | sort&amp;lt;/code&amp;gt;. It's probably easier to copy and paste this one. You should have one result. At the end of the (very long!) line, there should be &amp;quot;provisioning_mode&amp;quot;. It's likely set to &amp;quot;full&amp;quot;, but we need it set to &amp;quot;unmap&amp;quot;. If yours shows &amp;quot;unmap&amp;quot; already, you can skip this next step.&amp;lt;br /&amp;gt;[[File:Prov_mode-full.png]]&lt;br /&gt;
#Run the following line. Make sure you replace the long path with the one in the terminal from the previous step (leave off the &amp;quot;:full&amp;quot; but keep everything else): &amp;lt;code&amp;gt;echo unmap &amp;gt; /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/provisioning_mode&amp;lt;/code&amp;gt;.&lt;br /&gt;
#After running that command, run the find command again (press the up key twice in the terminal) to check that the provisioning_mode has been changed to &amp;quot;unmap&amp;quot;.&lt;br /&gt;
#Now you can try running &amp;lt;code&amp;gt;fstrim -v /&amp;lt;/code&amp;gt; again. This time it should hopefully give a different message:&amp;lt;br /&amp;gt;[[File:Trim-enabled.png]]&lt;br /&gt;
#If you get a similar output, then TRIM is working on the drive! However when you reboot the Pi, it will revert back. To set the TRIM setting permanently, there are only a few more steps you need to do.&lt;br /&gt;
#Run &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; in the terminal. This will list all attached USB devices. You may have a few, especially if you have a USB mouse and keyboard attached. Find the one associated with the storage drive. There are two important codes here, separated by a colon (:). Keep these handy, we will need them in the next step.&amp;lt;br /&amp;gt;[[File:Lsusb.png]]&lt;br /&gt;
#Type the following in the terminal: &amp;lt;code&amp;gt;mousepad /etc/udev/rules.d/10-trim.rules&amp;lt;/code&amp;gt;. Make sure to type it exactly as shown. Mousepad is the text editor on Raspberry Pi and it should pop up with a new, blank file.&lt;br /&gt;
#Copy and paste this line into the empty text file: &amp;lt;code&amp;gt;ACTION==&amp;quot;add|change&amp;quot;, ATTRS{idVendor}==&amp;quot;174c&amp;quot;, ATTRS{idProduct}==&amp;quot;55aa&amp;quot;, SUBSYSTEM==&amp;quot;scsi_disk&amp;quot;, ATTR{provisioning_mode}=&amp;quot;unmap&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
#IMPORTANT! Change the vendor and product IDs in this line of code to match the ones from the terminal output a few steps earlier. the vendor ID is the code before the colon (:), and the product ID is the code after. They should both be 4 characters long. Close mousepad and save the file.&lt;br /&gt;
#This code will enable TRIM by changing the provisioning mode to &amp;quot;unmap&amp;quot;, just like we did manually earlier. Now we just need to schedule the TRIM process to be run periodically. Type &amp;lt;code&amp;gt;sudo systemctl enable fstrim.timer&amp;lt;/code&amp;gt; into the terminal. This will enable a weekly timer, which is the preferred way to TRIM SSDs on Linux distributions (as opposed to continuous TRIM).&lt;br /&gt;
#We're done! To test the performance, you can run the following benchmark in a terminal: &amp;lt;code&amp;gt;sudo curl https://raw.githubusercontent.com/TheRemote/PiBenchmarks/master/Storage.sh | sudo bash&amp;lt;/code&amp;gt;. This will give your drive a performance score, and if you fill in the prompts at the end, it will be published publicly on pibenchmarks.com.&lt;br /&gt;
&lt;br /&gt;
Here are my benchmarking results:&lt;br /&gt;
&lt;br /&gt;
[[File:Ssd_benchmark.png]]&lt;br /&gt;
&lt;br /&gt;
The benchmarking site incorrectly identifies my SSD as an NVMe drive, but it's not.&lt;br /&gt;
You should get a result similar to mine if everything is set up correctly. If the number is significantly less then you should double check all of the above settings, your firmware versions and verify that you are connected via UASP.&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi should now feel much more responsive and be significantly faster when updating software, loading programs, or copying files.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Trim-enabled.png&amp;diff=4331</id>
		<title>File:Trim-enabled.png</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Trim-enabled.png&amp;diff=4331"/>
		<updated>2022-06-30T02:15:33Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Prov_mode-full.png&amp;diff=4330</id>
		<title>File:Prov mode-full.png</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Prov_mode-full.png&amp;diff=4330"/>
		<updated>2022-06-30T02:10:33Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Lsusb-t.png&amp;diff=4329</id>
		<title>File:Lsusb-t.png</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Lsusb-t.png&amp;diff=4329"/>
		<updated>2022-06-30T02:10:18Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Lsusb.png&amp;diff=4328</id>
		<title>File:Lsusb.png</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Lsusb.png&amp;diff=4328"/>
		<updated>2022-06-30T02:10:00Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Lsblk.png&amp;diff=4327</id>
		<title>File:Lsblk.png</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Lsblk.png&amp;diff=4327"/>
		<updated>2022-06-30T02:09:46Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4326</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4326"/>
		<updated>2022-06-30T02:02:04Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive. An SSD will also last almost forever, and is more reliable than an SD card which will wear out after a number of years.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from the speed upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
*Even though the Pi 4 has a USB-C port, don't be tempted to use a USB-C to USB-C cable! The USB-C port on the Pi is only USB2.0 - for high speeds you need to use the blue rectangular USB port on the side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Shopping List:&amp;lt;br /&amp;gt;&lt;br /&gt;
*SATA-based SSD of your choice (I chose Kingston A400M, the M.2 version, 240GB). Estimated cost: around $50 or less.&lt;br /&gt;
*A matching enclosure, WITH support for UASP and TRIM functions (I chose an Archgon MSD-211 enclosure). Estimated cost: $20-30.&lt;br /&gt;
*(Optional): A USB3 cable if not included with the enclosure. Mine came with it and I think most do.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
*ALTERNATIVE: Argon ONE M.2 case for Raspberry Pi 4. Holds both the Raspberry Pi 4 and an M.2 SATA SSD. Note that you still need to buy the SSD separately.&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Parts_overview.jpg | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(Optional, recommended) If you have a computer with a spare M.2 or SATA slot, it's best to first install your new SSD there. This will allow you to update the firmware to the latest version, which can't be done while it's in the USB enclosure.&amp;lt;br /&amp;gt;If using an M.2 drive, these are installed at an angle and then flattened against the spacer to be horizontal, and then a small screw is added from the top to keep it in place.&amp;lt;br /&amp;gt;[[File:M_2_angle.jpg | 500px]][[File:M_2_flat.jpg | 500px]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;The firmware update is done with a tool from the manufacturer - this is what the Kingston one looks like:&amp;lt;br /&amp;gt;[[File:Ssd_firmware.png | 600px]]&amp;lt;br /&amp;gt;In my case, the drive already had the latest firmware installed, so no updates were necessary.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
#Switch off the PC and remove the drive, then install it in the portable enclosure.&lt;br /&gt;
#Download the Raspberry Pi imager software: https://downloads.raspberrypi.org/imager/imager_latest.exe&lt;br /&gt;
#Connect the SSD enclosure to your PC, then run the imager software.&amp;lt;br /&amp;gt;[[File:Imager_ssd1.png | 500px]][[File:Imager_ssd2.png | 500px]]&lt;br /&gt;
#Don't choose the default OS - select &amp;quot;Raspberry Pi OS (Other)&amp;quot;. Then choose &amp;quot;Raspberry Pi OS (64-bit)&amp;quot;. This will install the 64-bit version instead.&lt;br /&gt;
#Select the matching USB storage device from the list (make sure to select the correct one! Disconnect other devices if you're not 100% sure). Then click &amp;quot;Write&amp;quot; and wait for it to download, flash and verify.&amp;lt;br /&amp;gt;If everything went well, you should see a message similar to this:&amp;lt;br /&amp;gt;[[File:Imager_sd2.png | 500px]]&lt;br /&gt;
#Now you can unplug the SSD drive, set up the Raspberry Pi 4, plug in the SSD to one of the blue USB3 ports and then plug in the power. Attach a screen, keyboard and mouse to the Raspberry Pi and then go through the basic configuration steps. Once you get to the basic Pi desktop, there are a number of configurations which need to be checked.&lt;br /&gt;
#(Optional) You can enable VNC server (Raspberry Icon -&amp;gt; Preferences -&amp;gt; Raspberry Pi Configuration -&amp;gt; Interfaces -&amp;gt; enable VNC) and set up your Raspberry Pi's IP address, then do the rest of these steps remotely over VNC.&lt;br /&gt;
#Firstly, do a full update of all software via the terminal: &amp;lt;code&amp;gt;sudo apt update&amp;lt;/code&amp;gt;, and then &amp;lt;code&amp;gt;sudo apt upgrade&amp;lt;/code&amp;gt;.&lt;br /&gt;
#Check UASP: Open up a new terminal and type the following: &amp;lt;code&amp;gt;lsusb -t&amp;lt;/code&amp;gt;.&amp;lt;br /&amp;gt;You should see a couple of results, and one of them should show 'Driver=uas'. If this is the case, then the drive is successfully connected with UASP.&lt;br /&gt;
#Check TRIM: In the terminal, type the following command: &amp;lt;code&amp;gt;sudo fstrim -v /&amp;lt;/code&amp;gt;. This will probably return a message of &amp;quot;fstrim: /: the discard operation is not supported.&amp;quot;&amp;lt;br /&amp;gt;This means that TRIM isn't enabled for the drive, and is usually the default setting. If this is the case, it needs to be enabled for the drive.&lt;br /&gt;
#Check for TRIM support: Run the command &amp;lt;code&amp;gt;lsblk -D&amp;lt;/code&amp;gt;. Have a look for the 'sda' drive, and the two columns 'DISC-GRAN' and 'DISC-MAX'. If both of these are NOT zero, then your drive is capable of TRIM!&lt;br /&gt;
#Enable TRIM support: In the terminal, type &amp;lt;code&amp;gt;sudo su&amp;lt;/code&amp;gt;. This is a bit like a permanent version of the sudo command - everything from now on will be run as super user (admin), until you close this terminal. The command prompt should have also changed to show &amp;quot;root@raspberrypi&amp;quot;.&lt;br /&gt;
#Run the following line: &amp;lt;code&amp;gt;find /sys/ -name provisioning_mode -exec grep -H . {} + | sort&amp;lt;/code&amp;gt;. It's probably easier to copy and paste this one. You should have one result. At the end of the (very long!) line, there should be &amp;quot;provisioning_mode&amp;quot;. It's likely set to &amp;quot;full&amp;quot;, but we need it set to &amp;quot;unmap&amp;quot;. If yours shows &amp;quot;unmap&amp;quot; already, you can skip this next step.&lt;br /&gt;
#Run the following line. Make sure you replace the long path with the one in the terminal from the previous step (leave off the &amp;quot;:full&amp;quot; but keep everything else): &amp;lt;code&amp;gt;echo unmap &amp;gt; /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/provisioning_mode&amp;lt;/code&amp;gt;.&lt;br /&gt;
#After running that command, run the find command again (press the up key twice in the terminal) to check that the provisioning_mode has been changed to &amp;quot;unmap&amp;quot;.&lt;br /&gt;
#Now you can try running &amp;lt;code&amp;gt;fstrim -v /&amp;lt;/code&amp;gt; again. This time it should hopefully give a different message:&lt;br /&gt;
#If you get a similar output, then TRIM is working on the drive! However when you reboot the Pi, it will revert back. To set the TRIM setting permanently, there are only a few more steps you need to do.&lt;br /&gt;
#Run &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; in the terminal. This will list all attached USB devices. You may have a few, especially if you have a USB mouse and keyboard attached. Find the one associated with the storage drive. There are two important codes here, separated by a colon (:). Keep these handy, we will need them in the next step.&lt;br /&gt;
#Type the following in the terminal: &amp;lt;code&amp;gt;mousepad /etc/udev/rules.d/10-trim.rules&amp;lt;/code&amp;gt;. Make sure to type it exactly as shown. Mousepad is the text editor on Raspberry Pi and it should pop up with a new, blank file.&lt;br /&gt;
#Copy and paste this line into the empty text file: &amp;lt;code&amp;gt;ACTION==&amp;quot;add|change&amp;quot;, ATTRS{idVendor}==&amp;quot;174c&amp;quot;, ATTRS{idProduct}==&amp;quot;55aa&amp;quot;, SUBSYSTEM==&amp;quot;scsi_disk&amp;quot;, ATTR{provisioning_mode}=&amp;quot;unmap&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
#IMPORTANT! Change the vendor and product IDs in this line of code to match the ones from the terminal output a few steps earlier. the vendor ID is the code before the colon (:), and the product ID is the code after. They should both be 4 characters long. Close mousepad and save the file.&lt;br /&gt;
#This code will enable TRIM by changing the provisioning mode to &amp;quot;unmap&amp;quot;, just like we did manually earlier. Now we just need to schedule the TRIM process to be run periodically. Type &amp;lt;code&amp;gt;sudo systemctl enable fstrim.timer&amp;lt;/code&amp;gt; into the terminal. This will enable a weekly timer, which is the preferred way to TRIM SSDs on Linux distributions (as opposed to continuous TRIM).&lt;br /&gt;
#We're done! To test the performance, you can run the following benchmark in a terminal: &amp;lt;code&amp;gt;sudo curl https://raw.githubusercontent.com/TheRemote/PiBenchmarks/master/Storage.sh | sudo bash&amp;lt;/code&amp;gt;. This will give your drive a performance score, and if you fill in the prompts at the end, it will be published publicly on pibenchmarks.com.&lt;br /&gt;
&lt;br /&gt;
Here are my benchmarking results:&lt;br /&gt;
&lt;br /&gt;
[[File:Ssd_benchmark.png]]&lt;br /&gt;
&lt;br /&gt;
The benchmarking site incorrectly identifies my SSD as an NVMe drive, but it's not.&lt;br /&gt;
You should get a result similar to mine if everything is set up correctly. If the number is significantly less then you should double check all of the above settings, your firmware versions and verify that you are connected via UASP.&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi should now feel much more responsive and be significantly faster when updating software, loading programs, or copying files.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4325</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4325"/>
		<updated>2022-06-30T02:00:43Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive. An SSD will also last almost forever, and is more reliable than an SD card which will wear out after a number of years.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from the speed upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
*Even though the Pi 4 has a USB-C port, don't be tempted to use a USB-C to USB-C cable! The USB-C port on the Pi is only USB2.0 - for high speeds you need to use the blue rectangular USB port on the side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Shopping List:&amp;lt;br /&amp;gt;&lt;br /&gt;
*SATA-based SSD of your choice (I chose Kingston A400M, the M.2 version, 240GB). Estimated cost: around $50 or less.&lt;br /&gt;
*A matching enclosure, WITH support for UASP and TRIM functions (I chose an Archgon MSD-211 enclosure). Estimated cost: $20-30.&lt;br /&gt;
*(Optional): A USB3 cable if not included with the enclosure. Mine came with it and I think most do.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
*ALTERNATIVE: Argon ONE M.2 case for Raspberry Pi 4. Holds both the Raspberry Pi 4 and an M.2 SATA SSD. Note that you still need to buy the SSD separately.&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Parts_overview.jpg | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(Optional, recommended) If you have a computer with a spare M.2 or SATA slot, it's best to first install your new SSD there. This will allow you to update the firmware to the latest version, which can't be done while it's in the USB enclosure.&amp;lt;br /&amp;gt;If using an M.2 drive, these are installed at an angle and then flattened against the spacer to be horizontal, and then a small screw is added from the top to keep it in place.&amp;lt;br /&amp;gt;[[File:M_2_angle.jpg | 500px]][[File:M_2_flat.jpg | 500px]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;The firmware update is done with a tool from the manufacturer - this is what the Kingston one looks like:&amp;lt;br /&amp;gt;[[File:Ssd_firmware.png | 600px]]&amp;lt;br /&amp;gt;In my case, the drive already had the latest firmware installed, so no updates were necessary.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
#Switch off the PC and remove the drive, then install it in the portable enclosure.&lt;br /&gt;
#Download the Raspberry Pi imager software: https://downloads.raspberrypi.org/imager/imager_latest.exe&lt;br /&gt;
#Connect the SSD enclosure to your PC, then run the imager software.&amp;lt;br /&amp;gt;[[File:Imager_ssd1.png | 500px]][[File:Imager_ssd2.png | 500px]]&lt;br /&gt;
#Don't choose the default OS - select &amp;quot;Raspberry Pi OS (Other)&amp;quot;. Then choose &amp;quot;Raspberry Pi OS (64-bit)&amp;quot;. This will install the 64-bit version instead.&lt;br /&gt;
#Select the matching USB storage device from the list (make sure to select the correct one! Disconnect other devices if you're not 100% sure). Then click &amp;quot;Write&amp;quot; and wait for it to download, flash and verify.&amp;lt;br /&amp;gt;If everything went well, you should see a message similar to this:&amp;lt;br /&amp;gt;[[File:Imager_sd2.png | 500px]]&lt;br /&gt;
#Now you can unplug the SSD drive, set up the Raspberry Pi 4, plug in the SSD to one of the blue USB3 ports and then plug in the power. Attach a screen, keyboard and mouse to the Raspberry Pi and then go through the basic configuration steps. Once you get to the basic Pi desktop, there are a number of configurations which need to be checked.&lt;br /&gt;
#(Optional) You can enable VNC server (Raspberry Icon -&amp;gt; Preferences -&amp;gt; Raspberry Pi Configuration -&amp;gt; Interfaces -&amp;gt; enable VNC) and set up your Raspberry Pi's IP address, then do the rest of these steps remotely over VNC.&lt;br /&gt;
#Firstly, do a full update of all software via the terminal: &amp;lt;code&amp;gt;sudo apt update&amp;lt;/code&amp;gt;, and then &amp;lt;code&amp;gt;sudo apt upgrade&amp;lt;/code&amp;gt;.&lt;br /&gt;
#Check UASP: Open up a new terminal and type the following: &amp;lt;code&amp;gt;lsusb -t&amp;lt;/code&amp;gt;.&amp;lt;br /&amp;gt;You should see a couple of results, and one of them should show 'Driver=uas'. If this is the case, then the drive is successfully connected with UASP.&lt;br /&gt;
#Check TRIM: In the terminal, type the following command: &amp;lt;code&amp;gt;sudo fstrim -v /&amp;lt;/code&amp;gt;. This will probably return a message of &amp;quot;fstrim: /: the discard operation is not supported.&amp;quot;&amp;lt;br /&amp;gt;This means that TRIM isn't enabled for the drive, and is usually the default setting. If this is the case, it needs to be enabled for the drive.&lt;br /&gt;
#Check for TRIM support: Run the command &amp;lt;code&amp;gt;lsblk -D&amp;lt;/code&amp;gt;. Have a look for the 'sda' drive, and the two columns 'DISC-GRAN' and 'DISC-MAX'. If both of these are NOT zero, then your drive is capable of TRIM!&lt;br /&gt;
#Enable TRIM support: In the terminal, type &amp;lt;code&amp;gt;sudo su&amp;lt;/code&amp;gt;. This is a bit like a permanent version of the sudo command - everything from now on will be run as super user (admin), until you close this terminal. The command prompt should have also changed to show &amp;quot;root@raspberrypi&amp;quot;.&lt;br /&gt;
#Run the following line: &amp;lt;code&amp;gt;find /sys/ -name provisioning_mode -exec grep -H . {} + | sort&amp;lt;/code&amp;gt;. It's probably easier to copy and paste this one. You should have one result. At the end of the (very long!) line, there should be &amp;quot;provisioning_mode&amp;quot;. It's likely set to &amp;quot;full&amp;quot;, but we need it set to &amp;quot;unmap&amp;quot;. If yours shows &amp;quot;unmap&amp;quot; already, you can skip this next step.&lt;br /&gt;
#Run the following line. Make sure you replace the long path with the one in the terminal from the previous step (leave off the &amp;quot;:full&amp;quot; but keep everything else): &amp;lt;code&amp;gt;echo unmap &amp;gt; /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/provisioning_mode&amp;lt;/code&amp;gt;.&lt;br /&gt;
#After running that command, run the find command again (press the up key twice in the terminal) to check that the provisioning_mode has been changed to &amp;quot;unmap&amp;quot;.&lt;br /&gt;
#Now you can try running &amp;lt;code&amp;gt;fstrim -v /&amp;lt;/code&amp;gt; again. This time it should hopefully give a different message:&lt;br /&gt;
#If you get a similar output, then TRIM is working on the drive! However when you reboot the Pi, it will revert back. To set the TRIM setting permanently, there are only a few more steps you need to do.&lt;br /&gt;
#Run &amp;lt;code&amp;gt;lsusb&amp;lt;/code&amp;gt; in the terminal. This will list all attached USB devices. You may have a few, especially if you have a USB mouse and keyboard attached. Find the one associated with the storage drive. There are two important codes here, separated by a colon (:). Keep these handy, we will need them in the next step.&lt;br /&gt;
#Type the following in the terminal: &amp;lt;code&amp;gt;mousepad /etc/udev/rules.d/10-trim.rules&amp;lt;/code&amp;gt;. Make sure to type it exactly as shown. Mousepad is the text editor on Raspberry Pi and it should pop up with a new, blank file.&lt;br /&gt;
#Copy and paste this line into the empty text file: &amp;lt;code&amp;gt;ACTION==&amp;quot;add|change&amp;quot;, ATTRS{idVendor}==&amp;quot;174c&amp;quot;, ATTRS{idProduct}==&amp;quot;55aa&amp;quot;, SUBSYSTEM==&amp;quot;scsi_disk&amp;quot;, ATTR{provisioning_mode}=&amp;quot;unmap&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
#IMPORTANT! Change the vendor and product IDs in this line of code to match the ones from the terminal output a few steps earlier. the vendor ID is the code before the colon (:), and the product ID is the code after. They should both be 4 characters long. Close mousepad and save the file.&lt;br /&gt;
#This code will enable TRIM by changing the provisioning mode to &amp;quot;unmap&amp;quot;, just like we did manually earlier. Now we just need to schedule the TRIM process to be run periodically. Type &amp;lt;code&amp;gt;sudo systemctl enable fstrim.timer&amp;lt;/code&amp;gt; into the terminal. This will enable a weekly timer, which is the preferred way to TRIM SSDs on Linux distributions (as opposed to continuous TRIM).&lt;br /&gt;
#We're done! To test the performance, you can run the following benchmark in a terminal: &amp;lt;code&amp;gt;sudo curl https://raw.githubusercontent.com/TheRemote/PiBenchmarks/master/Storage.sh | sudo bash&amp;lt;/code&amp;gt;. This will give your drive a performance score, and if you fill in the prompts at the end, it will be published publicly on pibenchmarks.com.&lt;br /&gt;
&lt;br /&gt;
Here are my benchmarking results:&lt;br /&gt;
&lt;br /&gt;
[[File:Ssd_benchmark.png]]&lt;br /&gt;
&lt;br /&gt;
The benchmarking site incorrectly identifies my SSD as an NVMe drive, but it's not.&lt;br /&gt;
You should get a result similar to mine if everything is set up correctly. If the number is significantly less then you should double check all of the above settings, your firmware virsions and verify that you are connected via UASP.&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi should now feel much more responsive and be significantly faster when updating software, loading programs, or copying files.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Ssd_benchmark.png&amp;diff=4324</id>
		<title>File:Ssd benchmark.png</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Ssd_benchmark.png&amp;diff=4324"/>
		<updated>2022-06-30T01:53:24Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4323</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4323"/>
		<updated>2022-06-30T01:24:40Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
*Even though the Pi 4 has a USB-C port, don't be tempted to use a USB-C to USB-C cable! The USB-C port on the Pi is only USB2.0 - for high speeds you need to use the blue rectangular USB port on the side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Shopping List:&amp;lt;br /&amp;gt;&lt;br /&gt;
*SATA-based SSD of your choice (I chose Kingston A400M, the M.2 version, 240GB). Estimated cost: around $50 or less.&lt;br /&gt;
*A matching enclosure, WITH support for UASP and TRIM functions (I chose an Archgon MSD-211 enclosure). Estimated cost: $20-30.&lt;br /&gt;
*(Optional): A USB3 cable if not included with the enclosure. Mine came with it and I think most do.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
*ALTERNATIVE: Argon ONE M.2 case for Raspberry Pi 4. Holds both the Raspberry Pi 4 and an M.2 SATA SSD. Note that you still need to buy the SSD separately.&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Parts_overview.jpg | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(Optional, recommended) If you have a computer with a spare M.2 or SATA slot, it's best to first install your new SSD there. This will allow you to update the firmware to the latest version, which can't be done while it's in the USB enclosure.&amp;lt;br /&amp;gt;If using an M.2 drive, these are installed at an angle and then flattened against the spacer to be horizontal, and then a small screw is added from the top to keep it in place.&amp;lt;br /&amp;gt;[[File:M_2_angle.jpg | 500px]][[File:M_2_flat.jpg | 500px]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;The firmware update is done with a tool from the manufacturer - this is what the Kingston one looks like:&amp;lt;br /&amp;gt;[[File:Ssd_firmware.png | 600px]]&amp;lt;br /&amp;gt;In my case, the drive already had the latest firmware installed, so no updates were necessary.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
#Switch off the PC and remove the drive, then install it in the portable enclosure.&lt;br /&gt;
#Download the Raspberry Pi imager software: https://downloads.raspberrypi.org/imager/imager_latest.exe&lt;br /&gt;
#Connect the SSD enclosure to your PC, then run the imager software.&amp;lt;br /&amp;gt;[[File:Imager_ssd1.png | 500px]][[File:Imager_ssd2.png | 500px]]&lt;br /&gt;
#Don't choose the default OS - select &amp;quot;Raspberry Pi OS (Other)&amp;quot;. Then choose &amp;quot;Raspberry Pi OS (64-bit)&amp;quot;. This will install the 64-bit version instead.&lt;br /&gt;
#Select the matching USB storage device from the list (make sure to select the correct one! Disconnect other devices if you're not 100% sure). Then click &amp;quot;Write&amp;quot; and wait for it to download, flash and verify.&amp;lt;br /&amp;gt;If everything went well, you should see a message similar to this:&amp;lt;br /&amp;gt;[[File:Imager_sd2.png | 500px]]&lt;br /&gt;
#Now you can unplug the SSD drive, set up the Raspberry Pi 4, plug in the SSD to one of the blue USB3 ports and then plug in the power. Attach a screen, keyboard and mouse to the Raspberry Pi and then go through the basic configuration steps. Once you get to the basic Pi desktop, there are a number of configurations which need to be checked.&lt;br /&gt;
#Firstly, do a full update of all software via the terminal: &amp;lt;code&amp;gt;sudo apt update&amp;lt;/code&amp;gt;, and then &amp;lt;code&amp;gt;sudo apt upgrade&amp;lt;/code&amp;gt;.&lt;br /&gt;
#Check UASP: Open up a new terminal and type the following: &amp;lt;code&amp;gt;lsusb -t&amp;lt;/code&amp;gt;.&amp;lt;br /&amp;gt;You should see a couple of results, and one of them should show 'Driver=uas'. If this is the case, then the drive is successfully connected with UASP.&lt;br /&gt;
#Check TRIM: In the terminal, type the following command: &amp;lt;code&amp;gt;sudo fstrim -v /&amp;lt;/code&amp;gt;. This will probably return a message of &amp;quot;fstrim: /: the discard operation is not supported.&amp;quot;&amp;lt;br /&amp;gt;This means that TRIM isn't enabled for the drive, and is usually the default setting. If this is the case, it needs to be enabled for the drive.&lt;br /&gt;
#Check for TRIM support: Run the command &amp;lt;code&amp;gt;lsblk -D&amp;lt;/code&amp;gt;. Have a look for the 'sda' drive, and the two columns 'DISC-GRAN' and 'DISC-MAX'. If both of these are NOT zero, then your drive is capable of TRIM!&lt;br /&gt;
#Enable TRIM support: In the terminal, type &amp;lt;code&amp;gt;sudo su&amp;lt;/code&amp;gt;. This is a bit like a permanent version of the sudo command - everything from now on will be run as super user (admin), until you close this terminal. The command prompt should have also changed to show &amp;quot;root@raspberrypi&amp;quot;.&lt;br /&gt;
#Run the following line: &amp;lt;code&amp;gt;find /sys/ -name provisioning_mode -exec grep -H . {} + | sort&amp;lt;/code&amp;gt;. It's probably easier to copy and paste this one. You should have one result. At the end of the (very long!) line, there should be &amp;quot;provisioning_mode&amp;quot;. It's likely set to &amp;quot;full&amp;quot;, but we need it set to &amp;quot;unmap&amp;quot;. If yours shows &amp;quot;unmap&amp;quot; already, you can skip this next step.&lt;br /&gt;
#Run the following line. Make sure you replace the long path with the one in the terminal from the previous step (leave off the &amp;quot;:full&amp;quot; but keep everything else): &amp;lt;code&amp;gt;echo unmap &amp;gt; /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/provisioning_mode&amp;lt;/code&amp;gt;.&lt;br /&gt;
#After running that command, run the find command again (press the up key twice in the terminal) to check that the provisioning_mode has been changed to &amp;quot;unmap&amp;quot;.&lt;br /&gt;
#Now you can try running &amp;lt;code&amp;gt;fstrim -v /&amp;lt;/code&amp;gt; again. This time it should hopefully give a different message:&lt;br /&gt;
#&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4322</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4322"/>
		<updated>2022-06-30T01:12:46Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
*Even though the Pi 4 has a USB-C port, don't be tempted to use a USB-C to USB-C cable! The USB-C port on the Pi is only USB2.0 - for high speeds you need to use the blue rectangular USB port on the side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Shopping List:&amp;lt;br /&amp;gt;&lt;br /&gt;
*SATA-based SSD of your choice (I chose Kingston A400M, the M.2 version, 240GB). Estimated cost: around $50 or less.&lt;br /&gt;
*A matching enclosure, WITH support for UASP and TRIM functions (I chose an Archgon MSD-211 enclosure). Estimated cost: $20-30.&lt;br /&gt;
*(Optional): A USB3 cable if not included with the enclosure. Mine came with it and I think most do.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
*ALTERNATIVE: Argon ONE M.2 case for Raspberry Pi 4. Holds both the Raspberry Pi 4 and an M.2 SATA SSD. Note that you still need to buy the SSD separately.&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Parts_overview.jpg | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(Optional, recommended) If you have a computer with a spare M.2 or SATA slot, it's best to first install your new SSD there. This will allow you to update the firmware to the latest version, which can't be done while it's in the USB enclosure.&amp;lt;br /&amp;gt;If using an M.2 drive, these are installed at an angle and then flattened against the spacer to be horizontal, and then a small screw is added from the top to keep it in place.&amp;lt;br /&amp;gt;[[File:M_2_angle.jpg | 500px]][[File:M_2_flat.jpg | 500px]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;The firmware update is done with a tool from the manufacturer - this is what the Kingston one looks like:&amp;lt;br /&amp;gt;[[File:Ssd_firmware.png | 600px]]&amp;lt;br /&amp;gt;In my case, the drive already had the latest firmware installed, so no updates were necessary.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
#Switch off the PC and remove the drive, then install it in the portable enclosure.&lt;br /&gt;
#Download the Raspberry Pi imager software: https://downloads.raspberrypi.org/imager/imager_latest.exe&lt;br /&gt;
#Connect the SSD enclosure to your PC, then run the imager software.&amp;lt;br /&amp;gt;[[File:Imager_ssd1.png | 500px]][[File:Imager_ssd2.png | 500px]]&lt;br /&gt;
#Don't choose the default OS - select &amp;quot;Raspberry Pi OS (Other)&amp;quot;. Then choose &amp;quot;Raspberry Pi OS (64-bit)&amp;quot;. This will install the 64-bit version instead.&lt;br /&gt;
#Select the matching USB storage device from the list (make sure to select the correct one! Disconnect other devices if you're not 100% sure). Then click &amp;quot;Write&amp;quot; and wait for it to download, flash and verify.&amp;lt;br /&amp;gt;If everything went well, you should see a message similar to this:&amp;lt;br /&amp;gt;[[File:Imager_sd2.png | 500px]]&lt;br /&gt;
#Now you can unplug the SSD drive, set up the Raspberry Pi 4, plug in the SSD to one of the blue USB3 ports and then plug in the power. Attach a screen, keyboard and mouse to the Raspberry Pi and then go through the basic configuration steps. Once you get to the basic Pi desktop, there are a number of configurations which need to be checked.&lt;br /&gt;
#Firstly, do a full update of all software via the terminal: &amp;lt;code&amp;gt;sudo apt update&amp;lt;/code&amp;gt;, and then &amp;lt;code&amp;gt;sudo apt upgrade&amp;lt;/code&amp;gt;.&lt;br /&gt;
#Check UASP: Open up a new terminal and type the following: &amp;lt;code&amp;gt;lsusb -t&amp;lt;/code&amp;gt;.&amp;lt;br /&amp;gt;You should see a couple of results, and one of them should show 'Driver=uas'. If this is the case, then the drive is successfully connected with UASP.&lt;br /&gt;
#Check TRIM: In the terminal, type the following command: &amp;lt;code&amp;gt;sudo fstrim -v /&amp;lt;/code&amp;gt;. This will probably return a message of &amp;quot;fstrim: /: the discard operation is not supported.&amp;quot;&amp;lt;br /&amp;gt;This means that TRIM isn't enabled for the drive, and is usually the default setting. If this is the case, it needs to be enabled for the drive.&lt;br /&gt;
#Check for TRIM support: Run the command &amp;lt;code&amp;gt;lsblk -D&amp;lt;/code&amp;gt;. Have a look for the 'sda' drive, and the two columns 'DISC-GRAN' and 'DISC-MAX'. If both of these are NOT zero, then your drive is capable of TRIM!&lt;br /&gt;
#Enable TRIM support: In the terminal, type &amp;lt;code&amp;gt;sudo su&amp;lt;/code&amp;gt;. This is a bit like a permanent version of the sudo command - everything from now on will be run as super user (admin), until you close this terminal. The command prompt should have also changed to show &amp;quot;root@raspberrypi&amp;quot;.&lt;br /&gt;
#Run the following line: &amp;lt;code&amp;gt;find /sys/ -name provisioning_mode -exec grep -H . {} + | sort&amp;lt;/code&amp;gt;. It's probably easier to copy and paste this one. You should have one result. At the end of the (very long!) line, there should be &amp;quot;provisioning_mode&amp;quot;. It's likely set to &amp;quot;full&amp;quot;, but we need it set to &amp;quot;unmap&amp;quot;. If yours shows &amp;quot;unmap&amp;quot; already, you can skip this next step.&lt;br /&gt;
#Run the following line. Make sure you replace the long path with the one in the terminal from the previous step (leave off the &amp;quot;:full&amp;quot; but kepp everything else): &amp;lt;code&amp;gt;echo unmap &amp;gt; /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/provisioning_mode&amp;lt;/code&amp;gt;.&lt;br /&gt;
#After running that command, run the find command again (press the up key twice in the terminal) to check that the provisioning_mode has been changed to &amp;quot;unmap&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4321</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4321"/>
		<updated>2022-06-30T00:26:34Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
*Even though the Pi 4 has a USB-C port, don't be tempted to use a USB-C to USB-C cable! The USB-C port on the Pi is only USB2.0 - for high speeds you need to use the blue rectangular USB port on the side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Shopping List:&amp;lt;br /&amp;gt;&lt;br /&gt;
*SATA-based SSD of your choice (I chose Kingston A400M, the M.2 version, 240GB). Estimated cost: around $50 or less.&lt;br /&gt;
*A matching enclosure, WITH support for UASP and TRIM functions (I chose an Archgon MSD-211 enclosure). Estimated cost: $20-30.&lt;br /&gt;
*(Optional): A USB3 cable if not included with the enclosure. Mine came with it and I think most do.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
*ALTERNATIVE: Argon ONE M.2 case for Raspberry Pi 4. Holds both the Raspberry Pi 4 and an M.2 SATA SSD. Note that you still need to buy the SSD separately.&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Parts_overview.jpg | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(Optional, recommended) If you have a computer with a spare M.2 or SATA slot, it's best to first install your new SSD there. This will allow you to update the firmware to the latest version, which can't be done while it's in the USB enclosure.&amp;lt;br /&amp;gt;If using an M.2 drive, these are installed at an angle and then flattened against the spacer to be horizontal, and then a small screw is added from the top to keep it in place.&amp;lt;br /&amp;gt;[[File:M_2_angle.jpg | 500px]][[File:M_2_flat.jpg | 500px]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;The firmware update is done with a tool from the manufacturer - this is what the Kingston one looks like:&amp;lt;br /&amp;gt;[[File:Ssd_firmware.png | 600px]]&amp;lt;br /&amp;gt;In my case, the drive already had the latest firmware installed, so no updates were necessary.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
#Switch off the PC and remove the drive, then install it in the portable enclosure.&lt;br /&gt;
#Download the Raspberry Pi imager software: https://downloads.raspberrypi.org/imager/imager_latest.exe&lt;br /&gt;
#Connect the SSD enclosure to your PC, then run the imager software.&amp;lt;br /&amp;gt;[[File:Imager_ssd1.png | 500px]][[File:Imager_ssd2.png | 500px]]&lt;br /&gt;
#Don't choose the default OS - select &amp;quot;Raspberry Pi OS (Other)&amp;quot;. Then choose &amp;quot;Raspberry Pi OS (64-bit)&amp;quot;. This will install the 64-bit version instead.&lt;br /&gt;
#Select the matching USB storage device from the list (make sure to select the correct one! Disconnect other devices if you're not 100% sure). Then click &amp;quot;Write&amp;quot; and wait for it to download, flash and verify.&amp;lt;br /&amp;gt;If everything went well, you should see a message similar to this:&amp;lt;br /&amp;gt;[[File:Imager_sd2.png | 500px]]&lt;br /&gt;
#Now you can unplug the SSD drive, set up the Raspberry Pi 4, plug in the SSD to one of the blue USB3 ports and then plug in the power. Attach a screen, keyboard and mouse to the Raspberry Pi and then go through the basic configuration steps.&lt;br /&gt;
#Once you get to the basic Pi desktop, there are a number of configurations which need to be checked.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4320</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4320"/>
		<updated>2022-06-30T00:20:34Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
*Even though the Pi 4 has a USB-C port, don't be tempted to use a USB-C to USB-C cable! The USB-C port on the Pi is only USB2.0 - for high speeds you need to use the blue rectangular USB port on the side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Shopping List:&amp;lt;br /&amp;gt;&lt;br /&gt;
*SATA-based SSD of your choice (I chose Kingston A400M, the M.2 version, 240GB). Estimated cost: around $50 or less.&lt;br /&gt;
*A matching enclosure, WITH support for UASP and TRIM functions (I chose an Archgon MSD-211 enclosure). Estimated cost: $20-30.&lt;br /&gt;
*(Optional): A USB3 cable if not included with the enclosure. Mine came with it and I think most do.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
*ALTERNATIVE: Argon ONE M.2 case for Raspberry Pi 4. Holds both the Raspberry Pi 4 and an M.2 SATA SSD. Note that you still need to buy the SSD separately.&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Parts_overview.jpg | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(Optional, recommended) If you have a computer with a spare M.2 or SATA slot, it's best to first install your new SSD there. This will allow you to update the firmware to the latest version, which can't be done while it's in the USB enclosure.&amp;lt;br /&amp;gt;If using an M.2 drive, these are installed at an angle and then flattened against the spacer to be horizontal, and then a small screw is added from the top to keep it in place.&amp;lt;br /&amp;gt;[[File:M_2_angle.jpg | 500px]][[File:M_2_flat.jpg | 500px]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;The firmware update is done with a tool from the manufacturer - this is what the Kingston one looks like:&amp;lt;br /&amp;gt;[[File:Ssd_firmware.png | 600px]]&amp;lt;br /&amp;gt;In my case, the drive already had the latest firmware installed, so no updates were necessary.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
#Switch off the PC and remove the drive, then install it in the portable enclosure.&lt;br /&gt;
#Download the Raspberry Pi imager software: https://downloads.raspberrypi.org/imager/imager_latest.exe&lt;br /&gt;
#Connect the SSD enclosure to your PC, then run the imager software.&amp;lt;br /&amp;gt;[[File:Imager_ssd1.png | 500px]][[File:Imager_ssd2.png | 500px]]&lt;br /&gt;
#Don't choose the default OS - select &amp;quot;Raspberry Pi OS (Other)&amp;quot;. Then choose &amp;quot;Raspberry Pi OS (64-bit)&amp;quot;. This will install the 64-bit version instead.&lt;br /&gt;
#Select the matching USB storage device from the list (make sure to select the correct one! Disconnect other devices if you're not 100% sure). Then click &amp;quot;Write&amp;quot; and wait for it to download, flash and verify.&amp;lt;br /&amp;gt;If everything went well, you should see a message similar to this:&amp;lt;br /&amp;gt;[[File:Imager_sd2.png | 500px]]&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4319</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4319"/>
		<updated>2022-06-30T00:20:06Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
*Even though the Pi 4 has a USB-C port, don't be tempted to use a USB-C to USB-C cable! The USB-C port on the Pi is only USB2.0 - for high speeds you need to use the blue rectangular USB port on the side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Shopping List:&amp;lt;br /&amp;gt;&lt;br /&gt;
*SATA-based SSD of your choice (I chose Kingston A400M, the M.2 version, 240GB). Estimated cost: around $50 or less.&lt;br /&gt;
*A matching enclosure, WITH support for UASP and TRIM functions (I chose an Archgon MSD-211 enclosure). Estimated cost: $20-30.&lt;br /&gt;
*(Optional): A USB3 cable if not included with the enclosure. Mine came with it and I think most do.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
*ALTERNATIVE: Argon ONE M.2 case for Raspberry Pi 4. Holds both the Raspberry Pi 4 and an M.2 SATA SSD. Note that you still need to buy the SSD separately.&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Parts_overview.jpg | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(Optional, recommended) If you have a computer with a spare M.2 or SATA slot, it's best to first install your new SSD there. This will allow you to update the firmware to the latest version, which can't be done while it's in the USB enclosure.&amp;lt;br /&amp;gt;If using an M.2 drive, these are installed at an angle and then flattened against the spacer to be horizontal, and then a small screw is added from the top to keep it in place.&amp;lt;br /&amp;gt;[[File:M_2_angle.jpg | 500px]][[File:M_2_flat.jpg | 500px]]&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;The firmware update is done with a tool from the manufacturer - this is what the Kingston one looks like:&amp;lt;br /&amp;gt;[[File:Ssd_firmware.png | 600px]]&amp;lt;br /&amp;gt;In my case, the drive already had the latest firmware installed, so no updates were necessary.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
#Switch off the PC and remove the drive, then install it in the portable enclosure.&lt;br /&gt;
#Download the Raspberry Pi imager software: https://downloads.raspberrypi.org/imager/imager_latest.exe&lt;br /&gt;
#Connect the SSD enclosure to your PC, then run the imager software.&amp;lt;br /&amp;gt;[[File:Imager_ssd1.png | 500px]][[File:Imager_ssd2.png | 500px]]&lt;br /&gt;
#Don't choose the default OS - select &amp;quot;Raspberry Pi OS (Other)&amp;quot;. Then choose &amp;quot;Raspberry Pi OS (64-bit)&amp;quot;. This will install the 64-bit version instead.&lt;br /&gt;
#Select the matching USB storage device from the list (make sure to select the correct one! Disconnect other devices if you're not 100% sure). Then click &amp;quot;Write&amp;quot; and wait for it to download, flash and verify.&amp;lt;br /&amp;gt;If everything went well, you should see a message similar to this: [[File:Imager_sd2.png | 500px]]&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Imager_sd2.png&amp;diff=4318</id>
		<title>File:Imager sd2.png</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Imager_sd2.png&amp;diff=4318"/>
		<updated>2022-06-30T00:19:30Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Imager_ssd2.png&amp;diff=4317</id>
		<title>File:Imager ssd2.png</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Imager_ssd2.png&amp;diff=4317"/>
		<updated>2022-06-30T00:15:26Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Imager_ssd1.png&amp;diff=4316</id>
		<title>File:Imager ssd1.png</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Imager_ssd1.png&amp;diff=4316"/>
		<updated>2022-06-30T00:13:41Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4315</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4315"/>
		<updated>2022-06-30T00:07:42Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
*Even though the Pi 4 has a USB-C port, don't be tempted to use a USB-C to USB-C cable! The USB-C port on the Pi is only USB2.0 - for high speeds you need to use the blue rectangular USB port on the side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Shopping List:&amp;lt;br /&amp;gt;&lt;br /&gt;
*SATA-based SSD of your choice (I chose Kingston A400M, the M.2 version, 240GB). Estimated cost: around $50 or less.&lt;br /&gt;
*A matching enclosure, WITH support for UASP and TRIM functions (I chose an Archgon MSD-211 enclosure). Estimated cost: $20-30.&lt;br /&gt;
*(Optional): A USB3 cable if not included with the enclosure. Mine came with it and I think most do.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;*ALTERNATIVE: Argon ONE M.2 case for Raspberry Pi 4. Holds both the Raspberry Pi 4 and an M.2 SATA SSD. Note that you still need to buy the SSD separately.&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Parts_overview.jpg | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(Optional, recommended) If you have a computer with a spare M.2 or SATA slot, it's best to first install your new SSD there. This will allow you to update the firmware to the latest version, which can't be done while it's in the USB enclosure.&amp;lt;br /&amp;gt;If using an M.2 drive, these are installed at an angle and then flattened against the spacer to be horizontal, and then a small screw is added from the top to keep it in place.&amp;lt;br /&amp;gt;[[File:M_2_angle.jpg | 500px]][[File:M_2_flat.jpg | 500px]]&amp;lt;br /&amp;gt;The firmware update is done with a tool from the manufacturer - this is what the Kingston one looks like:&amp;lt;br /&amp;gt;[[File:Ssd_firmware.png | 600px]]&amp;lt;br /&amp;gt;In my case, the drive already had the latest firmware installed, so no updates were necessary.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
#Switch off the PC and remove the drive, then install it in the portable enclosure.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4314</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4314"/>
		<updated>2022-06-30T00:06:44Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
*Even though the Pi 4 has a USB-C port, don't be tempted to use a USB-C to USB-C cable! The USB-C port on the Pi is only USB2.0 - for high speeds you need to use the blue rectangular USB port on the side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Shopping List:&lt;br /&gt;
- SATA-based SSD of your choice (I chose Kingston A400M, the M.2 version, 240GB). Estimated cost: around $50 or less.&lt;br /&gt;
- A matching enclosure, WITH support for UASP and TRIM functions (I chose an Archgon MSD-211 enclosure). Estimated cost: $20-30.&lt;br /&gt;
- (Optional): A USB3 cable if not included with the enclosure. Mine came with it and I think most do.&lt;br /&gt;
&lt;br /&gt;
- ALTERNATIVE: Argon ONE M.2 case for Raspberry Pi 4. Holds both the Raspberry Pi 4 and an M.2 SATA SSD. Note that you still need to buy the SSD separately.&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Parts_overview.jpg | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(Optional, recommended) If you have a computer with a spare M.2 or SATA slot, it's best to first install your new SSD there. This will allow you to update the firmware to the latest version, which can't be done while it's in the USB enclosure.&amp;lt;br /&amp;gt;If using an M.2 drive, these are installed at an angle and then flattened against the spacer to be horizontal, and then a small screw is added from the top to keep it in place.&amp;lt;br /&amp;gt;[[File:M_2_angle.jpg | 500px]][[File:M_2_flat.jpg | 500px]]&amp;lt;br /&amp;gt;The firmware update is done with a tool from the manufacturer - this is what the Kingston one looks like:&amp;lt;br /&amp;gt;[[File:Ssd_firmware.png | 600px]]&amp;lt;br /&amp;gt;In my case, the drive already had the latest firmware installed, so no updates were necessary.&amp;lt;br /&amp;gt;&lt;br /&gt;
#Switch off the PC and remove the drive, then install it in the portable enclosure.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4313</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4313"/>
		<updated>2022-06-30T00:03:30Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
*Even though the Pi 4 has a USB-C port, don't be tempted to use a USB-C to USB-C cable! The USB-C port on the Pi is only USB2.0 - for high speeds you need to use the blue rectangular USB port on the side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Shopping List:&lt;br /&gt;
- SATA-based SSD of your choice (I chose Kingston A400M, the M.2 version, 240GB). Estimated cost: around $50 or less.&lt;br /&gt;
- A matching enclosure, WITH support for UASP and TRIM functions (I chose an Archgon MSD-211 enclosure). Estimated cost: $20-30.&lt;br /&gt;
- (Optional): A USB3 cable if not included with the enclosure. Mine came with it and I think most do.&lt;br /&gt;
&lt;br /&gt;
- ALTERNATIVE: Argon ONE M.2 case for Raspberry Pi 4. Holds both the Raspberry Pi 4 and an M.2 SATA SSD. Note that you still need to buy the SSD separately.&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Parts_overview.jpg | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(Optional, recommended) If you have a computer with a spare M.2 or SATA slot, it's best to first install your new SSD there. This will allow you to update the firmware to the latest version, which can't be done while it's in the USB enclosure.&lt;br /&gt;
If using an M.2 drive, these are installed at an angle and then flattened against the spacer to be horizontal, and then a small screw is added from the top to keep it in place.&lt;br /&gt;
&lt;br /&gt;
[[File:M_2_angle.jpg | 500px]][[File:M_2_flat.jpg | 500px]]&lt;br /&gt;
&lt;br /&gt;
Th firmware update is done with a tool from the manufacturer - this is what the Kingston one looks like:&lt;br /&gt;
&lt;br /&gt;
[[File:Ssd_firmware.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
In my case, the drive already had the latest firmware installed, so no updates were necessary.&lt;br /&gt;
&lt;br /&gt;
#Switch off the PC and remove the drive, then install it in the portable enclosure.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4312</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4312"/>
		<updated>2022-06-29T23:56:40Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Shopping List:&lt;br /&gt;
- SATA-based SSD of your choice (I chose Kingston A400M, the M.2 version). Estimated cost: around $50 or less.&lt;br /&gt;
- A matching enclosure, WITH support for UASP and TRIM functions (I chose an Archgon MSD-211 enclosure). Estimated cost: $20-30.&lt;br /&gt;
- (Optional): A USB3 cable if not included with the enclosure. Mine came with it and I think most do.&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Parts_overview.jpg | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(Optional, recommended) If you have a computer with a spare M.2 or SATA slot, it's best to first install your new SSD there. This will allow you to update the firmware to the latest version, which can't be done while it's in the USB enclosure.&lt;br /&gt;
If using an M.2 drive, these are installed at an angle and then flattened against the spacer to be horizontal, and then a small screw is added from the top to keep it in place.&lt;br /&gt;
&lt;br /&gt;
[[File:M_2_angle.jpg | 500px]][[File:M_2_flat.jpg | 500px]]&lt;br /&gt;
&lt;br /&gt;
This is done with a tool from the manufacturer - this is what the Kingston one looks like:&lt;br /&gt;
&lt;br /&gt;
[[File:Ssd_firmware.png | 600px]]&lt;br /&gt;
&lt;br /&gt;
In my case, the drive already had the latest firmware installed, so no updates were necessary.&lt;br /&gt;
&lt;br /&gt;
#Switch off the PC and remove the drive, then install it in the enclosure.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:M_2_flat.jpg&amp;diff=4311</id>
		<title>File:M 2 flat.jpg</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:M_2_flat.jpg&amp;diff=4311"/>
		<updated>2022-06-29T23:55:37Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:M_2_angle.jpg&amp;diff=4310</id>
		<title>File:M 2 angle.jpg</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:M_2_angle.jpg&amp;diff=4310"/>
		<updated>2022-06-29T23:54:43Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: Bobblybook uploaded a new version of File:M 2 angle.jpg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:M_2_angle.jpg&amp;diff=4309</id>
		<title>File:M 2 angle.jpg</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:M_2_angle.jpg&amp;diff=4309"/>
		<updated>2022-06-29T23:51:20Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4308</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4308"/>
		<updated>2022-06-29T23:46:31Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Shopping List:&lt;br /&gt;
- SATA-based SSD of your choice (I chose Kingston A400M, the M.2 version). Estimated cost: around $50 or less.&lt;br /&gt;
- A matching enclosure, WITH support for UASP and TRIM functions (I chose an Archgon MSD-211 enclosure). Estimated cost: $20-30.&lt;br /&gt;
- (Optional): A USB3 cable if not included with the enclosure. Mine came with it and I think most do.&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:Parts_overview.jpg | 600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(Optional, recommended) If you have a computer with a spare M.2 or SATA slot, it's best to first install your new SSD there. This will allow you to update the firmware to the latest version, which can't be done while it's in the USB enclosure.&lt;br /&gt;
This is done with a tool from the manufacturer - this is what the Kingston one looks like:&lt;br /&gt;
[[File:Ssd_firmware.png | 300px]]&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Ssd_firmware.png&amp;diff=4307</id>
		<title>File:Ssd firmware.png</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Ssd_firmware.png&amp;diff=4307"/>
		<updated>2022-06-29T23:45:52Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: Bobblybook uploaded a new version of File:Ssd firmware.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Ssd_firmware.png&amp;diff=4306</id>
		<title>File:Ssd firmware.png</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Ssd_firmware.png&amp;diff=4306"/>
		<updated>2022-06-29T23:44:51Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Parts_overview.jpg&amp;diff=4305</id>
		<title>File:Parts overview.jpg</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Parts_overview.jpg&amp;diff=4305"/>
		<updated>2022-06-29T23:31:47Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: Selection of hardware needed for RPi4 booting from an SSD.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Selection of hardware needed for RPi4 booting from an SSD.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4304</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4304"/>
		<updated>2022-06-29T23:22:13Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
*When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
A great choice for the SSD which works very well with the RPi4 is the Kingston A400 drive. It comes in both 2.5&amp;quot; and M.2 variants and currently costs about $50. Both form factors work the same, choose whichever you prefer or whichever you get an enclosure for.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
**If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
**If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With all that out of the way, you should end up with&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4303</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4303"/>
		<updated>2022-06-29T23:18:30Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
A great choice for the SSD which works very well with the RPi4 is the Kingston A400 drive. It comes in both 2.5&amp;quot; and M.2 variants and currently costs about $50. Both form factors work the same, choose whichever you prefer or whichever you get an enclosure for.&lt;br /&gt;
&lt;br /&gt;
The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
The enclosure should support UASP and TRIM functionality. Not all enclosures support this! Sometimes the product page will specify this, otherwise there are some other hints that may help:&lt;br /&gt;
*If the enclosure supports USB3.2 (sometimes written as USB3.1 rev.2) then it likely supports both.&lt;br /&gt;
*If the enclosure specifications show the controller chip used, this can be googled to find out if it supports those features or not.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4302</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4302"/>
		<updated>2022-06-29T23:15:04Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 200px]][[File:Kingston_2.5.jpg | 200px]]&lt;br /&gt;
&lt;br /&gt;
When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) (left image, above) or 2.5&amp;quot; SATA SSD (right image, above). SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
A great choice for the SSD which works very well with the RPi4 is the Kingston A400 drive. It comes in both 2.5&amp;quot; and M.2 variants and currently costs about $50. Both form factors work the same, choose whichever you prefer or whichever you get an enclosure for.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4301</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4301"/>
		<updated>2022-06-29T23:13:41Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple of notes before starting:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Kingston_m_2.jpg | 100px]][[File:Kingston_2.5.jpg | 100px]]&lt;br /&gt;
When choosing the SSD for this project, the goals are a bit different than your home PC. We don't want high power, high performance, instead we want efficient, low power and compatibility.&lt;br /&gt;
The SSD best for this is a SATA-based M.2 (B+M key) or 2.5&amp;quot; SATA SSD. SATA is the older protocol; most newer SSD's use NVMe which is faster and also more power hungry.&lt;br /&gt;
It's possible to use NVMe drives with the Raspberry Pi, however the additional speed will be wasted as the USB3 connection is the bottleneck still. Also, since NVMe requires more power, this will create more heat, require more cooling and in some cases requires an additional USB powered hub and/or upgraded 3.5A Pi power supply in order to function.&lt;br /&gt;
If you already have an NVMe drive you want to reuse, you can experiment to see if it will work. But otherwise, stick to a SATA-based drive instead, it's superior for this project.&lt;br /&gt;
&lt;br /&gt;
The enclosure MUST match the form-factor (shape) and type of SSD you are using. If you're using a 2.5&amp;quot; drive, you need an enclosure for this shape. If you're using an M.2 drive, you need one for M.2 devices, and it ALSO needs to match the protocol of your drive (SATA or NVMe). There are some enclosures that can support both types, but often it's one or the other.&lt;br /&gt;
&lt;br /&gt;
A great choice for the SSD which works very well with the RPi4 is the Kingston A400 drive. It comes in both 2.5&amp;quot; and M.2 variants and currently costs about $50. Both form factors work the same, choose whichever you prefer or whichever you get an enclosure for.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Kingston_m_2.jpg&amp;diff=4300</id>
		<title>File:Kingston m 2.jpg</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Kingston_m_2.jpg&amp;diff=4300"/>
		<updated>2022-06-29T23:12:18Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Kingston_2.5.jpg&amp;diff=4299</id>
		<title>File:Kingston 2.5.jpg</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Kingston_2.5.jpg&amp;diff=4299"/>
		<updated>2022-06-29T23:12:07Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4298</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4298"/>
		<updated>2022-06-29T22:57:04Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Pi4_case.jpg | 300px]]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3.0 ports (the two centre blue ports). These can provide much higher speeds, which is not very useful for a mouse and keyboard, but very beneficial for storage devices.&lt;br /&gt;
&lt;br /&gt;
Whenever the Raspberry Pi feels slow, it's often a result of the computer waiting for IO requests to finish, and therefore the SD storage card's speed is holding up the rest of the CPU. Since 2020, there have been firmware updates to the Raspberry Pi 4 which allow reliable booting from an attached USB drive.&lt;br /&gt;
&lt;br /&gt;
Note that the Raspberry Pi 3 doesn't have the blue USB3.0 ports, so it won't benefit as much from this upgrade.&lt;br /&gt;
&lt;br /&gt;
The total cost for this sort of project is around AUD$75-80, less if you are able to salvage an old SSD or reuse an existing one.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=File:Pi4_case.jpg&amp;diff=4297</id>
		<title>File:Pi4 case.jpg</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=File:Pi4_case.jpg&amp;diff=4297"/>
		<updated>2022-06-29T22:50:17Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: Raspberry Pi 4 in default case&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Raspberry Pi 4 in default case&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4296</id>
		<title>Raspberry Pi 4 - Adding an SSD to improve performance and longevity</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Raspberry_Pi_4_-_Adding_an_SSD_to_improve_performance_and_longevity&amp;diff=4296"/>
		<updated>2022-06-29T22:49:17Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: Created page with &amp;quot;  The Raspberry Pi 4 provides a couple of USB3 ports&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi 4 provides a couple of USB3 ports&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Main_Page&amp;diff=4295</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Main_Page&amp;diff=4295"/>
		<updated>2022-06-29T22:47:18Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: /* Smart Cities 2022 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This web site is an experiment with local students, residents and public agencies to see if participative governance and more open information sharing between agencies can promote '''healthier waterways in the Whittlesea municipality'''. In a low carbon and resource constrained future we will all need to explore better methods of engagement and knowledge sharing to protect our communities and the natural environment.&lt;br /&gt;
&lt;br /&gt;
[[File:Smart tank-1.png]]&lt;br /&gt;
&lt;br /&gt;
= Waterways and Waterbodies in Whittlesea =&lt;br /&gt;
The main waterways in the Whittlesea municipality include the Plenty river, Darebin creek, Edgars creek and the Merri creek. In addition there are waterbodies (lakes and wetlands) that provide habitat for plants and animals. &lt;br /&gt;
&lt;br /&gt;
* Blau Street Park Bundoora &lt;br /&gt;
* [[Botanica Park lake Bundoora]] &lt;br /&gt;
* [[Carlingford Park Lalor]] &lt;br /&gt;
* [[Laurimar Park wetlands Doreen]] - Lauries Field&lt;br /&gt;
* Janefield wetland Bundoora &lt;br /&gt;
* [[Peter Hopper lake Mill Park]]&lt;br /&gt;
&lt;br /&gt;
[https://data-melbournewater.opendata.arcgis.com/datasets/wetland-and-lake-assets/explore?location=-37.613758%2C145.129049%2C16.79 Link to '''Melbourne Water Wetland and Lake Assets''']. Database helps to identify if a waterbody is managed by Melbourne Water. The database has some errors. Blue shading indicates Melbourne Water asset. Other assets not shaded may be Council assets or private assets.&lt;br /&gt;
&lt;br /&gt;
= Smart Cities 2021 =&lt;br /&gt;
The Smart Cities course was offered to students in 2021 at the Whittlesea Tech School. Click on individual lessons below.&lt;br /&gt;
* [[Navigation on the Raspberry Pi]]&lt;br /&gt;
* [[Security improvements on the Raspberry Pi]]&lt;br /&gt;
* [[HTML coding]]&lt;br /&gt;
* [[Adding style to an HTML page using CSS]]&lt;br /&gt;
* [[Python introduction]]&lt;br /&gt;
* [[Reading data from an atmospheric sensor]]&lt;br /&gt;
* [[Saving sensor data to a file]]&lt;br /&gt;
* [[Saving data with timestamps]]&lt;br /&gt;
* [[Creating a Dynamic web page]]&lt;br /&gt;
* [[Scheduling tasks using Cron]]&lt;br /&gt;
* [[Graphing data using Plotly]]&lt;br /&gt;
* [[Creating HTML links to Plotly graphs]]&lt;br /&gt;
* [[More CSS coding]]&lt;br /&gt;
* [[Requesting data from a Water Quality Sensor in Peter Hopper lake]]&lt;br /&gt;
* [[Node-RED introduction]]&lt;br /&gt;
* [[Node-RED data processing]]&lt;br /&gt;
* [[Node-RED data processing II]]&lt;br /&gt;
* [[Node-RED creating dashboards]]&lt;br /&gt;
&lt;br /&gt;
= [[Smart Cities 2022]] =&lt;br /&gt;
'''Term 1'''&lt;br /&gt;
* [[Smart Cities - What is a Sustainable Smart City?]]&lt;br /&gt;
* [[Smart Cities - How can we use Environmental Sensors?]]&lt;br /&gt;
* [[Smart Cities - How to protect the Platypus?]]&lt;br /&gt;
* [[Smart Cities - Introduction to the Raspberry Pi and Linux]]&lt;br /&gt;
* [[Smart Cities - First lesson in Python]]&lt;br /&gt;
* [[Smart Cities - Reading data from Environmental Sensors in an Aquarium]]&lt;br /&gt;
* [[Smart Cities - Setting up Aquarium sensor in Tech School]]&lt;br /&gt;
* [[Smart Cities - Getting to 1 tonne per person by 2030]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Term 2'''&lt;br /&gt;
* [[Smart Cities - Data Visualisation using the Node-RED dashboard]]&lt;br /&gt;
* [[Smart Cities - Soldering a Water level sensor]]&lt;br /&gt;
* Smart Cities - Introduction to soldering electronics&lt;br /&gt;
* Smart Cities - Retrieving live sensor data using MQTT and Node-RED &lt;br /&gt;
* Smart Cities - Use Tinkercad to design components for an Environmental sensor&lt;br /&gt;
* [[Smart Cities - BirdNET-Pi Project]]&lt;br /&gt;
* [[Smart Cities - Storing sensor data in a Database in Node-RED]]&lt;br /&gt;
* [[Smart Cities - TeamViewer to access the Raspberry Pi remotely]]&lt;br /&gt;
* [[ Raspberry Pi 4 - Adding an SSD to improve performance and longevity]]&lt;br /&gt;
&lt;br /&gt;
'''Term 3'''&lt;br /&gt;
* Smart Cities - Wetland excursion to Janefield wetlands&lt;br /&gt;
* Smart Cities - Exploring analog sensors - turbidity sensor&lt;br /&gt;
* [[Smart Cities - Getting weather data from the Bureau of Meteorology]]&lt;br /&gt;
* Smart Cities - Learn to build and use a Soil moisture sensor&lt;br /&gt;
* Smart Cities - Learn to use a distance sensor to measure rainwater tank levels&lt;br /&gt;
* Smart Cities - Using Plotly and Python to graph data&lt;br /&gt;
* Smart Cities - Customising web sites for mobile devices&lt;br /&gt;
* Smart Cities - Adding a Drop Down Menu to a web site&lt;br /&gt;
&lt;br /&gt;
'''Term 4'''&lt;br /&gt;
* Smart Cities - Discussion about other Smart City Solutions&lt;br /&gt;
* Smart Cities - Using data to bring about Change&lt;br /&gt;
* Smart Cities - Build a Smart Bee Hive using load sensors&lt;br /&gt;
* Smart Cities - Build a Smart Bee Hive using Infra-Red beam sensors&lt;br /&gt;
* Smart Cities - Build a Solar hot water shower with a LoRa temperature sensor&lt;br /&gt;
* Smart Cities - Build a tiny energy efficient house with a LoRa temperature sensor&lt;br /&gt;
* Smart Cities - Grow tomato plants in pots using a LoRa soil moisture sensor&lt;br /&gt;
* Smart Cities - Build a hot greenhouse to raise seedlings&lt;br /&gt;
* Smart Cities - Build a LoRa GPS litter picker&lt;br /&gt;
&lt;br /&gt;
= Sensors =&lt;br /&gt;
Instructions on how to build individual sensors that can be used in school environmental monitoring projects.&lt;br /&gt;
* [[Temperature sensor]]&lt;br /&gt;
** [[Saving temperature data with Node-RED]]&lt;br /&gt;
** [[Creating Dashboards and Saving Data with Node-RED]]&lt;br /&gt;
* [[Pressure sensor]]&lt;br /&gt;
* Distance sensor&lt;br /&gt;
* Infra-red beam sensor&lt;br /&gt;
* [[Soil moisture sensor]]&lt;br /&gt;
* GPS sensor&lt;br /&gt;
* Turbidity sensor&lt;br /&gt;
* [[Water quality sensor]]&lt;br /&gt;
* [[Water quality sensor Carlingford Park Lake]]&lt;br /&gt;
* [[APIs for Water quality sensors]]&lt;br /&gt;
* [[URLs for Water quality sensors]]&lt;br /&gt;
* [[APIs for Water levels sensors Minnovation]]&lt;br /&gt;
&lt;br /&gt;
= Student projects =&lt;br /&gt;
* [[PyCom Setup]]&lt;br /&gt;
* [[Downloads &amp;amp; Resources]]&lt;br /&gt;
* [[Google Dashboard Documentation]]&lt;br /&gt;
* [[Data Visualisation with Freeboard.io]]&lt;br /&gt;
* [[techschool-temp-sensor]]&lt;br /&gt;
&lt;br /&gt;
= The Things Network =&lt;br /&gt;
* [[Pycom Pygate setup]]&lt;br /&gt;
* How To Register Pycom LoRa Sensors on The Things Network&lt;br /&gt;
&lt;br /&gt;
= [[Sustainable Computers]] =&lt;br /&gt;
&lt;br /&gt;
= Transition Engineering =&lt;br /&gt;
* How can Transition Engineering keep global temperature rise below 1.5degC?&lt;br /&gt;
* What is a sustainable computer and should schools be advocating for them?&lt;br /&gt;
* Why chickens and rabbits are a smart choice for managing food waste and stopping GHG emissions from landfill.&lt;br /&gt;
* Bikes and public transport are much better than electric cars. &lt;br /&gt;
* Smart tanks protect waterways and capture water for local food production&lt;br /&gt;
* Solar hot water is the natural way to heat water and reduce GHG emissions&lt;br /&gt;
* Growing food at school and at home lowers GHG emissions. Why?&lt;br /&gt;
* Bees and other pollinators are vital for food production. Learn how to plant a pollinator garden&lt;br /&gt;
* Learn how to build a solar PV system with battery storage for a Tiny House. &lt;br /&gt;
* What appliances can run on solar PV system when the sun shines?&lt;br /&gt;
* How much energy does your house use? &lt;br /&gt;
* How to calculate the energy efficiency of your house. What are R and U values?&lt;br /&gt;
* Are personal headlamps the future of energy efficient lighting?&lt;br /&gt;
* Composting toilets save water, stop ocean pollution and recycle nutrients back to your garden.&lt;br /&gt;
* '''Garden like a Nonno''' and '''Nonna knows best''' by Jaclyn Crumpi to read about real sustainability.&lt;br /&gt;
&lt;br /&gt;
= Simplicity =&lt;br /&gt;
* [[Urban Food Production]] &lt;br /&gt;
* [[The Simplicity Institute]] - Affiliated with The University of Melbourne &lt;br /&gt;
* [[Happen Films]] Stories for a Changing World&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=PyCom_Setup&amp;diff=3956</id>
		<title>PyCom Setup</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=PyCom_Setup&amp;diff=3956"/>
		<updated>2022-04-07T07:58:56Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1. Board soldering (TODO: Schematic/images)&lt;br /&gt;
&lt;br /&gt;
2. Firmware updater&lt;br /&gt;
* Expansionboard/Pygate: https://docs.pycom.io/updatefirmware/expansionboard/&lt;br /&gt;
* LoPy/WiPy: https://docs.pycom.io/updatefirmware/device/&lt;br /&gt;
&lt;br /&gt;
3. Install Atom + Pymakr plugin.&lt;br /&gt;
Pymakr and firmware install tools only work on x86 processors, so ARM devices (eg. Raspberry pi) will not work for this step.&lt;br /&gt;
&lt;br /&gt;
* For Windows, Visual Studio C++ 2019 is required (2022 currently isn't supported): [[Downloads &amp;amp; Resources]]&lt;br /&gt;
* For linux: install node v16 (v17 does NOT work currently) and 'make' tools + toolchain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Set up Pygate gateway:&lt;br /&gt;
* Register new device in TTN (https://www.thethingsnetwork.org)&lt;br /&gt;
* Use template code from Pycom for the gateway: https://docs.pycom.io/tutorials/expansionboards/pygate/&lt;br /&gt;
Need permission to access serial port! Can be an issue on linux if serial won't connect in Atom.&lt;br /&gt;
&lt;br /&gt;
Common errors:&lt;br /&gt;
AttributeError: 'module' object has no attribute 'callback'&lt;br /&gt;
This usually means that WiPy firmware has not been updated.&lt;br /&gt;
&lt;br /&gt;
OSError: [Errno 2] ENOENT&lt;br /&gt;
Means that the referenced file is not found. Check file path and file name (TTN has a different file name to the code template). Also remove the leading '/' from the flash directory. I'm not sure of the file structure on the LoPy, but it seems that it's not placed in root, and therefore a relative path is needed instead.&lt;br /&gt;
&lt;br /&gt;
Port 1700 is used on TTN. Works fine for me at home, need to test this at WTS to see if the ports are open.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=PyCom_Setup&amp;diff=3955</id>
		<title>PyCom Setup</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=PyCom_Setup&amp;diff=3955"/>
		<updated>2022-04-07T07:57:50Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1. Board soldering (TODO: Schematic/images)&lt;br /&gt;
&lt;br /&gt;
2. Firmware updater&lt;br /&gt;
* Expansionboard/Pygate: https://docs.pycom.io/updatefirmware/expansionboard/&lt;br /&gt;
* LoPy/WiPy: https://docs.pycom.io/updatefirmware/device/&lt;br /&gt;
&lt;br /&gt;
3. Install Atom + Pymakr plugin.&lt;br /&gt;
Pymakr and firmware install tools only work on x86 processors, so ARM devices (eg. Raspberry pi) will not work for this step.&lt;br /&gt;
&lt;br /&gt;
* For Windows, Visual Studio C++ 2019 is required (2022 currently isn't supported): [[Downloads &amp;amp; Resources]]&lt;br /&gt;
* For linux: install node v16 (v17 does NOT work currently) and 'make' tools + toolchain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Set up Pygate gateway:&lt;br /&gt;
* Register new device in TTN (https://www.thethingsnetwork.org)&lt;br /&gt;
* Use template code from Pycom for the gateway: https://docs.pycom.io/tutorials/expansionboards/pygate/&lt;br /&gt;
Need permission to access serial port! Can be an issue on linux if serial won't connect in Atom.&lt;br /&gt;
&lt;br /&gt;
Common errors:&lt;br /&gt;
AttributeError: 'module' object has no attribute 'callback'&lt;br /&gt;
This usually means that WiPy firmware has not been updated.&lt;br /&gt;
&lt;br /&gt;
OSError: [Errno 2] ENOENT&lt;br /&gt;
Means that the referenced file is not found. Check file path and file name (TTN has a different file name to the code template). Also remove the leading '/' from the flash directory. I'm not sure of the file structure on the LoPy, but it seems that it's not placed in root, and therefore a relative path is needed instead.&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=PyCom_Setup&amp;diff=3954</id>
		<title>PyCom Setup</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=PyCom_Setup&amp;diff=3954"/>
		<updated>2022-04-07T07:40:08Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1. Board soldering (TODO: Schematic/images)&lt;br /&gt;
&lt;br /&gt;
2. Firmware updater&lt;br /&gt;
* Expansionboard/Pygate: https://docs.pycom.io/updatefirmware/expansionboard/&lt;br /&gt;
* LoPy: https://docs.pycom.io/updatefirmware/device/&lt;br /&gt;
&lt;br /&gt;
3. Install Atom + Pymakr plugin.&lt;br /&gt;
Pymakr and firmware install tools only work on x86 processors, so ARM devices (eg. Raspberry pi) will not work for this step.&lt;br /&gt;
&lt;br /&gt;
* For Windows, Visual Studio C++ 2019 is required (2022 currently isn't supported): [[Downloads &amp;amp; Resources]]&lt;br /&gt;
* For linux: install node v16 (v17 does NOT work currently) and 'make' tools + toolchain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Set up Pygate gateway:&lt;br /&gt;
* Register new device in TTN (https://www.thethingsnetwork.org)&lt;br /&gt;
* Use template code from Pycom for the gateway: https://docs.pycom.io/tutorials/expansionboards/pygate/&lt;br /&gt;
Need permission to access serial port!&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=PyCom_Setup&amp;diff=3953</id>
		<title>PyCom Setup</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=PyCom_Setup&amp;diff=3953"/>
		<updated>2022-04-07T07:32:01Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: Created page with &amp;quot;1. Board soldering (TODO: Schematic/images)  2. Firmware updater * Expansionboard/Pygate: https://docs.pycom.io/updatefirmware/expansionboard/ * LoPy: https://docs.pycom.io/updatefirmware/device/  3. Install Atom + Pymakr plugin. Pymakr and firmware install tools only work on x86 processors, so ARM devices (eg. Raspberry pi) will not work for this step.  * For Windows, Visual Studio C++ 2019 is required (2022 currently isn't supported): Downloads &amp;amp; Resources * For li...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1. Board soldering (TODO: Schematic/images)&lt;br /&gt;
&lt;br /&gt;
2. Firmware updater&lt;br /&gt;
* Expansionboard/Pygate: https://docs.pycom.io/updatefirmware/expansionboard/&lt;br /&gt;
* LoPy: https://docs.pycom.io/updatefirmware/device/&lt;br /&gt;
&lt;br /&gt;
3. Install Atom + Pymakr plugin.&lt;br /&gt;
Pymakr and firmware install tools only work on x86 processors, so ARM devices (eg. Raspberry pi) will not work for this step.&lt;br /&gt;
&lt;br /&gt;
* For Windows, Visual Studio C++ 2019 is required (2022 currently isn't supported): [[Downloads &amp;amp; Resources]]&lt;br /&gt;
* For linux: install node v16 (v17 does NOT work currently) and 'make' tools + toolchain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Set up Pygate gateway:&lt;br /&gt;
* Register new device in TTN (https://www.thethingsnetwork.org)&lt;br /&gt;
* Use template code from Pycom for the gateway: https://docs.pycom.io/tutorials/expansionboards/pygate/&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=User_talk:Bobblybook&amp;diff=3790</id>
		<title>User talk:Bobblybook</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=User_talk:Bobblybook&amp;diff=3790"/>
		<updated>2022-03-25T07:10:23Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Visual Studio 2019 installer (For Atom/Pymakr): https://drive.google.com/file/d/1BiXCDYHK3jMUFno2Drm-IpvjiKC2e9rm&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Downloads_%26_Resources&amp;diff=3789</id>
		<title>Downloads &amp; Resources</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Downloads_%26_Resources&amp;diff=3789"/>
		<updated>2022-03-25T06:55:34Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: Created page with &amp;quot;Useful files or installers for related projects:  * Visual Studio 2019 installer (For Atom/Pymakr): https://drive.google.com/file/d/1BiXCDYHK3jMUFno2Drm-IpvjiKC2e9rm&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Useful files or installers for related projects:&lt;br /&gt;
&lt;br /&gt;
* Visual Studio 2019 installer (For Atom/Pymakr): https://drive.google.com/file/d/1BiXCDYHK3jMUFno2Drm-IpvjiKC2e9rm&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=Main_Page&amp;diff=3788</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=Main_Page&amp;diff=3788"/>
		<updated>2022-03-25T06:54:46Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This web site is an experiment with local students, residents and public agencies to see if participative governance and more open information sharing between agencies can promote '''healthier waterways in the Whittlesea municipality'''. In a low carbon and resource constrained future we will all need to explore better methods of engagement and knowledge sharing to protect our communities and the natural environment.&lt;br /&gt;
&lt;br /&gt;
[[File:Smart tank-1.png]]&lt;br /&gt;
&lt;br /&gt;
= Waterways and Waterbodies in Whittlesea =&lt;br /&gt;
The main waterways in the Whittlesea municipality include the Plenty river, Darebin creek, Edgars creek and the Merri creek. In addition there are waterbodies (lakes and wetlands) that provide habitat for plants and animals. &lt;br /&gt;
&lt;br /&gt;
* Blau Street Park Bundoora &lt;br /&gt;
* [[Botanica Park lake Bundoora]] &lt;br /&gt;
* [[Carlingford Park Lalor]] &lt;br /&gt;
* [[Laurimar Park wetlands Doreen]] - Lauries Field&lt;br /&gt;
* Janefield wetland Bundoora &lt;br /&gt;
* [[Peter Hopper lake Mill Park]]&lt;br /&gt;
&lt;br /&gt;
[https://data-melbournewater.opendata.arcgis.com/datasets/wetland-and-lake-assets/explore?location=-37.613758%2C145.129049%2C16.79 Link to '''Melbourne Water Wetland and Lake Assets''']. Database helps to identify if a waterbody is managed by Melbourne Water. The database has some errors. Blue shading indicates Melbourne Water asset. Other assets not shaded may be Council assets or private assets.&lt;br /&gt;
&lt;br /&gt;
= Smart Cities 2021 =&lt;br /&gt;
The Smart Cities course was offered to students in 2021 at the Whittlesea Tech School. Click on individual lessons below.&lt;br /&gt;
* [[Navigation on the Raspberry Pi]]&lt;br /&gt;
* [[Security improvements on the Raspberry Pi]]&lt;br /&gt;
* [[HTML coding]]&lt;br /&gt;
* [[Adding style to an HTML page using CSS]]&lt;br /&gt;
* [[Python introduction]]&lt;br /&gt;
* [[Reading data from an atmospheric sensor]]&lt;br /&gt;
* [[Saving sensor data to a file]]&lt;br /&gt;
* [[Saving data with timestamps]]&lt;br /&gt;
* [[Creating a Dynamic web page]]&lt;br /&gt;
* [[Scheduling tasks using Cron]]&lt;br /&gt;
* [[Graphing data using Plotly]]&lt;br /&gt;
* [[Creating HTML links to Plotly graphs]]&lt;br /&gt;
* [[More CSS coding]]&lt;br /&gt;
* [[Requesting data from a Water Quality Sensor in Peter Hopper lake]]&lt;br /&gt;
* [[Node-RED introduction]]&lt;br /&gt;
* [[Node-RED data processing]]&lt;br /&gt;
* [[Node-RED data processing II]]&lt;br /&gt;
* [[Node-RED creating dashboards]]&lt;br /&gt;
&lt;br /&gt;
= [[Smart Cities 2022]] =&lt;br /&gt;
'''Term 1'''&lt;br /&gt;
* [[Smart Cities - What is a Sustainable Smart City?]]&lt;br /&gt;
* [[Smart Cities - How can we use Environmental Sensors?]]&lt;br /&gt;
* [[Smart Cities - How to protect the Platypus?]]&lt;br /&gt;
* [[Smart Cities - Introduction to the Raspberry Pi and Linux]]&lt;br /&gt;
* [[Smart Cities - First lesson in Python]]&lt;br /&gt;
* [[Smart Cities - Reading data from Environmental Sensors in an Aquarium]]&lt;br /&gt;
* [[Smart Cities - Getting to 1 tonne per person by 2030]]&lt;br /&gt;
* [[Smart Cities - Data Visualisation using the Node-RED dashboard]]&lt;br /&gt;
* Smart Cities - Mini-challenge - Soil moisture of a River Red-Gum tree&lt;br /&gt;
&lt;br /&gt;
'''Term 2'''&lt;br /&gt;
* Smart Cities - Create a Web page in HTML&lt;br /&gt;
* Smart Cities - Add Cascading Style Sheets to your web page&lt;br /&gt;
* Smart Cities - Creating Dynamic web pages using Python&lt;br /&gt;
* Smart Cities - Use Tinkercad to design components for an Environmental sensor&lt;br /&gt;
* Smart Cities - Laser cutting and 3D printing using Tinkercad&lt;br /&gt;
* Smart Cities - Collecting sensor data from Janefield wetlands&lt;br /&gt;
* Smart Cities - Creating a web page for Janefield wetlands&lt;br /&gt;
* Smart Cities - Making your web page live on GitHub Pages&lt;br /&gt;
&lt;br /&gt;
'''Term 3'''&lt;br /&gt;
* Smart Cities - Wetland excursion to Janefield wetlands&lt;br /&gt;
* Smart Cities - Exploring analog sensors - turbidity sensor&lt;br /&gt;
* Smart Cities - Getting weather data from the Bureau of Meteorology&lt;br /&gt;
* Smart Cities - Learn to build and use a Soil moisture sensor&lt;br /&gt;
* Smart Cities - Learn to use a distance sensor to measure rainwater tank levels&lt;br /&gt;
* Smart Cities - Using Plotly and Python to graph data&lt;br /&gt;
* Smart Cities - Customising web sites for mobile devices&lt;br /&gt;
* Smart Cities - Adding a Drop Down Menu to a web site&lt;br /&gt;
&lt;br /&gt;
'''Term 4'''&lt;br /&gt;
* Smart Cities - Discussion about other Smart City Solutions&lt;br /&gt;
* Smart Cities - Using data to bring about Change&lt;br /&gt;
* Smart Cities - Build a Smart Bee Hive using load sensors&lt;br /&gt;
* Smart Cities - Build a Smart Bee Hive using Infra-Red beam sensors&lt;br /&gt;
* Smart Cities - Build a Solar hot water shower with a LoRa temperature sensor&lt;br /&gt;
* Smart Cities - Build a tiny energy efficient house with a LoRa temperature sensor&lt;br /&gt;
* Smart Cities - Grow tomato plants in pots using a LoRa soil moisture sensor&lt;br /&gt;
* Smart Cities - Build a hot greenhouse to raise seedlings&lt;br /&gt;
* Smart Cities - Build a LoRa GPS litter picker&lt;br /&gt;
&lt;br /&gt;
= Sensors =&lt;br /&gt;
Instructions on how to build individual sensors that can be used in school environmental monitoring projects.&lt;br /&gt;
* [[Temperature sensor]]&lt;br /&gt;
* [[Pressure sensor]]&lt;br /&gt;
* Distance sensor&lt;br /&gt;
* Infra-red beam sensor&lt;br /&gt;
* [[Soil moisture sensor]]&lt;br /&gt;
* GPS sensor&lt;br /&gt;
* Turbidity sensor&lt;br /&gt;
* [[Water quality sensor]]&lt;br /&gt;
&lt;br /&gt;
* [[Downloads &amp;amp; Resources]]&lt;br /&gt;
&lt;br /&gt;
= The Things Network =&lt;br /&gt;
* [[Pycom Pygate setup]]&lt;br /&gt;
* How To Register Pycom LoRa Sensors on The Things Network&lt;br /&gt;
&lt;br /&gt;
= [[Sustainable Computers]] =&lt;br /&gt;
&lt;br /&gt;
= Simplicity =&lt;br /&gt;
* [[Urban Food Production]] &lt;br /&gt;
* [[The Simplicity Institute]] - Affiliated with The University of Melbourne &lt;br /&gt;
* [[Happen Films]] Stories for a Changing World&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=User_talk:Bobblybook&amp;diff=1387</id>
		<title>User talk:Bobblybook</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=User_talk:Bobblybook&amp;diff=1387"/>
		<updated>2022-01-10T08:16:46Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
    v = &amp;quot;string&amp;quot;;    // sample initialization&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
html text&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
    echo v;         // end of php code&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=User_talk:Bobblybook&amp;diff=1386</id>
		<title>User talk:Bobblybook</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=User_talk:Bobblybook&amp;diff=1386"/>
		<updated>2022-01-10T07:50:54Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;‎&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line&amp;gt;&lt;br /&gt;
def quick_sort(arr):&lt;br /&gt;
	less = []&lt;br /&gt;
	pivot_list = []&lt;br /&gt;
	more = []&lt;br /&gt;
	if len(arr) &amp;lt;= 1:&lt;br /&gt;
		return arr&lt;br /&gt;
	else:&lt;br /&gt;
		pass&lt;br /&gt;
‎&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
sts&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=User_talk:Bobblybook&amp;diff=1385</id>
		<title>User talk:Bobblybook</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=User_talk:Bobblybook&amp;diff=1385"/>
		<updated>2022-01-10T07:43:58Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;‎&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line&amp;gt;&lt;br /&gt;
def quick_sort(arr):&lt;br /&gt;
	less = []s&lt;br /&gt;
	pivot_list = []&lt;br /&gt;
	more = []&lt;br /&gt;
	if len(arr) &amp;lt;= 1:&lt;br /&gt;
		return arr&lt;br /&gt;
	else:&lt;br /&gt;
		pass&lt;br /&gt;
‎&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
sts&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=User_talk:Bobblybook&amp;diff=1384</id>
		<title>User talk:Bobblybook</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=User_talk:Bobblybook&amp;diff=1384"/>
		<updated>2022-01-10T06:44:10Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;‎&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line&amp;gt;&lt;br /&gt;
def quick_sort(arr):&lt;br /&gt;
	less = []&lt;br /&gt;
	pivot_list = []&lt;br /&gt;
	more = []&lt;br /&gt;
	if len(arr) &amp;lt;= 1:&lt;br /&gt;
		return arr&lt;br /&gt;
	else:&lt;br /&gt;
		pass&lt;br /&gt;
‎&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
sts&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
	<entry>
		<id>http://www.waterwaysinwhittlesea.org/index.php?title=User_talk:Bobblybook&amp;diff=1383</id>
		<title>User talk:Bobblybook</title>
		<link rel="alternate" type="text/html" href="http://www.waterwaysinwhittlesea.org/index.php?title=User_talk:Bobblybook&amp;diff=1383"/>
		<updated>2022-01-10T06:44:05Z</updated>

		<summary type="html">&lt;p&gt;Bobblybook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;‎&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line&amp;gt;&lt;br /&gt;
def quick_sort(rr):&lt;br /&gt;
	less = []&lt;br /&gt;
	pivot_list = []&lt;br /&gt;
	more = []&lt;br /&gt;
	if len(arr) &amp;lt;= 1:&lt;br /&gt;
		return arr&lt;br /&gt;
	else:&lt;br /&gt;
		pass&lt;br /&gt;
‎&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
sts&lt;/div&gt;</summary>
		<author><name>Bobblybook</name></author>
	</entry>
</feed>