I have a little pop up A frame camper and I’m always afraid it is going to drive away. Camper theft is a thing.
There are a lot of ways to do this, and some better than others and I dare say that the way I’m doing it may not be the best way, but the way I’m doing it ensures economy. And by that I mean not consuming excessive cellular data.
I really thought I’d slap a 4G HAT on a Pi and Real Time Track with a SIM card. It’s really not that easy and I learned a few things along the way. The first thing I learned is that real time tracking uses data and unlimited SIM cards are generally in the $60 a month range. So the smart play (at least for my situation) is to have the Raspberry Pi text me its position on a semi regular basis. Remember, if it is stolen I only need to track it down once.
I’ve been on a Raspberry Pi project tear lately. Somehow or another I stumbled into BirdNet-Pi and the best way I can describe it, is that it is like Shazam for bird songs. It records the call and frequency and plots it on a spectrograph and identifies the bird.
About a year ago I married my long time girlfriend and we bought a new home just outside of town. We are on a 1 1/2 acre heavily wooded plot that also has a creek running along one edge. So the birds love it here. And my wife loves birds and keeps the feeders clean and full. So I really did this for her but this project has got me super excited about all the different species of birds around here and their distinct calls.
It’s easy as heck to build. You need:
Raspberry Pi – latest is best however I built this with an older Pi 3 B+. It runs fine on there.
SD card to install Pi OS. BirdNet-Pi says to use Pi OS 64 bit Lite.
USB microphone. Initially I used an $8 USB mic and it works but the better the mic…….the better the results you’ll get. I used a Rode mic that costs about $50.
OPTIONAL – if you use the better microphone you will need a USB Sound Card. to plug the mic into. The better mic and sound card make the project a bit more expensive but I think you’ll be glad that you went that route. if you just want to dabble then just use the cheap mic.
NOTE ON MICROPHONE: Because the Rode mic I linked above costs $50 and it is a directional microphone I did some research and found an omni-directional mic that costs $20 less. It is a Lavalier Clip On mic. I’ve had it up several hours and my bird call detection is WAY up.
That’s it. Install Pi Os 64 bit Lite with Raspberry Pi Imager. Be sure to hit Command +Shift + X (Mac) (probably Control + Shift + X on windows) before you write the SD card. This allows you to set up wifi and change the hostname and change the timezone and set up SSH if you want.
Power Brick. Just picked the first one I saw on Amazon. Any 12v , 2 amp or more will do. Get a 5.5mm connector.
So for just over $300 you can have an amazing file server. Also if you back off the 2TB Samsung EVO970 to a 1TB drive you can save $100 roughly. You can buy a cheaper Compute Module as well IF YOU CAN FIND ONE. A 2GB one is fine for serving files. For around $200, or a bit less you can have a solid, and adequately fast file server. Continue reading →
This is another one of those things………..All the information is out there. Several good sources have blogged about it, but NO ONE has put it in a Dummies Guide for the rest of us to follow.
NVME support and NVME booting is now built in to Raspberry Pi OS. If you have a Compute Module Lite you can use the SD Card Copier program to copy your SD card to your NVME drive and boot to the NVME by removing the SD card, however if you have a Raspberry Pi 4 Compute Module with eMMC you have to change the Boot Order according to the docs.
NOTE: THIS IS SPECIFIC TO THE COMPUTE MODULE 4. THERE IS AN EASIER WAY TO CHANGE THE BOOT ORDER WITH A REGULAR RASPBERRY PI IN PI OS. DON’T GET THE METHODS CONFUSED.
It’s not hard to do this. And even if you use an SD card it might shave a little time off the boot to not have it looking for other boot sources first. I recommend doing the following steps anyway so the NVME drive is first in the boot order.
First and foremost I will assume you have a booting Raspberry Pi CM4:
Raspberry Pi CM4 either with eMMC booting or via SD Card. (This example will be from SD) I have an 8GB with no WiFi or Bluetooth.
SSD NVME – Bang for the buck I recommend the Samsung EVO 970 Plus I’ll be using the 2TB version of this card.
A micro USB to USB cable.
Power supply of 12 volts and probably a minimum of 2 amps. I am using an old router brick that is 12v. 1.5 amps with no issues so far. I do recommend around 20 watts of power for the board, adapter board, and SSD.
Once booted up normally with the adapter and nvme drive connected let’s check to see if it is recognized with these two commands:
The Raspberry Pi is a single board computer that came out in 2012 and cost $35. The intent was to teach computer science and coding to school age children. The program and the Pi itself is (or was) a raging success. Hobbyists flocked to the low cost board that ran Linux and created myriads of projects that were fun, useful and educational. I’ve been raving on them since 2012.
The Raspberry Pi Compute Module is an interesting concept mostly designed for embedded solutions.
A regular Raspberry Pi gives you an HDMI slot, a camera slot, GPIO Pins, USB, audio, etc. but a CM4 with the proper board can give you a PCIe slot, onboard SATA, or onboard NVME M.2
But where are those boards?
I’m looking for a board that will do NVME M.2 natively for a 3.15″ SSD. I simply can’t find one.
You can take the official Raspberry Pi IO Board and add a PCIe adapter to achieve this but it is kind of a kluge the way it sits in the slot and to date I’ve seen no specific cases that would hold the board securely.
Plus if you give up that PCIe lane to the adapter you can’t use it for other cool things.
I got the inspiration to build up this Raspberry Pi NAS with a Compute Module and SATA adapter from Jeff Geerling. His blog page is here (linked with permission). If you like Raspberry Pi even a little bit this guy pushes the Pi to the extreme. His computer, networking, and Linux skills are exceptional and his delivery is easy to understand. If you visit his blog click the YouTube icon on the right side of the page and visit his channel.
Decided to turn my Pi Compute Module 4 into Network Attached Storage (NAS). A real NAS. While a Raspberry Pi NAS won’t light the networking world on fire it is more than adequate to serve up files. I want to put this NAS out in my Shed for two reasons.
Redundant backup in case the house burns down
Use Squeezelite client to stream audio to my shed stereo, a circa 1980’s Technics Receiver.
I have a mini-ITX case and guts to put a “real” server out there but my shed is a woodworking shop and push come to shove I’d rather gum up the fan and overheat $100 worth of Pi and Compute Module IO board than to blast a $450 server motherboard. Besides lots of sawdust it gets wicked hot and wicked cold in the shed too. This computer is going to get dirty and this is a choice of economics as much as anything.
Making a Pi NAS is easy but it also ends up being a spaghetti mess and unless you design and 3D print a custom case the Compute Module just isn’t organically designed to fit any standard case out there. We gotta get creative.
I’m writing this blog because of something I learned the hard way and that I just did not understand. I, of course, hopes this helps someone else.
I just start playing with the Raspberry Pi Compute Module and Carrier boards and I recently received the Official Pi IO Board for the Compute Module 4. I decided the first thing I wanted to do was make use of the PCIe slot on the board.
And that’s where the trouble began.
There are LOTS of great web pages on Pi Carrier Boards and PCIe configuration but this issue slipped me up for over a day.
The Raspberry Pi debuted on February 29th, 2012. Wow, has it been 10 years already? Makes me feel old.
The original concept of the Pi was to teach British schoolchildren how to program and code. What really made it stand out was the COST which was $35. It also used Linux which meant it was relatively fast and ran on limited resources. The original Pi had some bottlenecks, especially around USB and Ethernet but it did all work and at a $35 price tag it was ripe for hacking and that’s just what the geeks did.
My first Pi was a breeze to set up and my first project was something called Logitechmediaserver (LMS) and Squeezelite which was a streaming media server and client for Pandora, Spotify, and a now defunct music platform called MOG. A comparable platform these days is something called Sonos. I challenge you build a Sonos System for as cheap as you can build an LMS server.
If you plugged in a Digital to Analog Converter (DAC) to the USB of the pi you could stream to any stereo aux input. To this day I have several Pi LMS clients in my house. Our current house has built in speakers all over the house and we can stream anything we want to them. Right now I just use Spotify and TuneIn. They have since added Tidal to their lineup as well.