Cheap single board computers

Raspberry pi et al

Ponderous details of making the current generation of cheap but recognisably modern machines do interesting stuff, especially single board computers; little systems on a single PCB, usually based on ARM-type architectures.

You want inspiration? Alex McLean released his new album as a Raspberry pi.

Originally I didn’t care about these machines; but they turn out to be convenient and fun. Also in this era of justified paranoia, I might want to run separate apps on separate computers for increased safety; disposable miniature computers make this affordable.

Platforms

There are various miscellaneous platforms with little brand recognition and less support; these generally leverage similarity to a major player such as raspberry pi.

🏗 see if there good alternatives in the wilds of Ali express There are various contenders such as odroids and such. See the overdetailed wikipedia page, hackerboards.com or one of the intermittent geek site listicles to stay up to date on that.

Raspberry Pi

To find a headless pi on the network:

#!/bin/sh
# https://gist.github.com/danmackinlay/2c970aec992a59eab7dda739b974ea9a

#!/bin/sh

# get broadcast addresses for each network
net=`ifconfig | grep -o -E "Bcast:(.*?) " | cut -f2 -d":"`

# loop over networks running the scan
for n in $net;
do
  # first find SSH machines silently to prime the arp table
  nmap -T4 -n -p 22 --open --min-parallelism 100 "$n/24" | grep -e "scan report for" -e "ssh" > /dev/null
done

# then run arp to show machines pi MACs
# https://udger.com/resources/mac-address-vendor-detail?name=raspberry_pi_foundation
arp -na | grep -E "(b8:27:eb|dc:a6:32)" | grep -Eo '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'

The default user on Raspbian is pi with the password raspberry. Change it.

Note that the Rpi4 needs firmware updates to avoid overheating and also just runs hot. Do not use the official case or the poor little guy will cook himself alive in there.

sudo apt update
sudo apt full-upgrade
sudo apt install rpi-eeprom

Check temperature:

watch -n 1 vcgencmd measure_temp

Bela

Low-latency multi-channel audio machine: bela

NVIDIA Jetson

NVIDIA make SBCs with GPUs such as jetson, although they don’t seem to have good audio natively…? Maybe HDMI.

Applications

Art installations

Are you doing this because you want to run a machine in a gallery?

Media Centres

You want a computer which just sites there and plays MP3s for you and has a weird crappy custom keyboard that makes it difficult to find things? This is not too hard; the main complication is that there are many alternatives which change their names often. See Media centers.

Perhaps run volumio; that seems like the friendliest option, and Michelangelo the guiding genius is a super nice guy.

VPN Access Point

Nice idea. The inbuilt wifi is acceptable but I notice that in a bigger space might not be powerful enough. A USB Wifi dongle with a 5dBi gain antenna might be better. I would like to know if the purported decreased robustness of 802.11ac versus 802.11n is worth it. Reviews of USB wifi dongles here. Note there are also PoE (“Power over ethernet”) hats available which might be helpful for this usage.