Author Archives: John Hagensieker

Raspberry Pi Compute Module IO Board and PCIe devices

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.

I ordered an NVME adapter and a Samsung EVO 970 Plus NVME drive and the adapter arrived first.  So I decided to go ahead and get it set up and ready for the NVME drive.

And this is really where the trouble began.

Continue reading

Raspberry Pi At 10 Years Old

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.

Continue reading

Geekpi CM4 Router Board – Challenges

I got my first Raspberry Compute Module 4 and installed it in a Geekpi CM4 Router Board.  And then cue the fun.  It is cool but it isn’t quite ready for plug and play prime time.   It was quite a challenge to get everything running.

First of all there are several images to download on the GitHub page and I just wasn’t sure which one to use.   The image that supposedly allowed the OLED display to work somehow or another didn’t have a working ETH1 wan port after installation.  A router without a wan port isn’t worth a shit and it sure isn’t a router.  Pardon my French.

So then the image with the ETH1 wan port working didn’t have a working OLED display.  FML.   In the great scheme of things the OLED being functional isn’t that important and that’s the direction I decided to go.  Then I figured out how to get the OLED on which is a hack.

Here’s how it happened:

Continue reading

Raspberry Pi Compute Module Discussion

I bought my 1st Raspberry Pi when the 1st version came out.  I think my intention was to make a streaming music server out of it, which I did using logitechmediaserver. Logitechmediaserver is a MUCH CHEAPER implementation of Sonos.  You’ve heard of Sonos, right?  Ever since them I have used the Raspberry Pi for all sorts of things.  Off the top of my head I can list:

  • Music Server
  • File Server with Samba
  • Temperature and Humidity Platform (with added sensors)
  • Hot Tub Hot Water Sensor and Alarm
  • 433 MHz Weather Station
  • Motion Cameras
  • NAS Server with OpenMediaVault
  • Dakboard (showing news feed, weather, calendar, etc)
  • Police Scanner with OP25
  • Streaming police scanner with IceCast
  • Home Assistant for Home Automation
  • Software Defined Radio Spyserver
  • PiAware for tracking aircraft
  • Satellite Tracking
  • 3D printer server with Octoprint
  • CNC G Code Sender
  • Kodi Media Server

I bet you that I’m missing a whole lot of stuff too.  That’s all I could think of quickly.  But that’s a lot. Raspberry Pi variants have served me well over the years, helped teach me Linux, and is still a workhorse around my house.

So why would you get a Raspberry Pi in a Compute Module footprint?  I’ll try to answer that.

Continue reading

Flashing Pi Compute Module 4 with eMMC memory from a Mac

I have been using the Raspberry Pi since it was 1st generation.  But I bought my very first Raspberry Pi Compute Module 4 along with a cheap Carrier Board  .  There are all manner of cool carrier boards.  Just there is one problem.  You can’t actually buy any of them.  Supply Chain issues and stuff.  LGB.

And that extends to the Pi Compute Module as well.  There are a bunch of them……..but you can’t get ’em.

About the only one you CAN get right now is the CM4102032 with 2GB of Memory.  Here is the data sheet for the CM4’s.

While it has an SD card slot (TF card slot, actually)………you can’t boot from it.  Well, that’s new.

The eMMC memory has to be written to directly.  Let me show you how.

Continue reading

Wood Working – I Surprise Myself

I may have written this in another blog or two but it bears repeating.  I have never really worked with wood in my life.  I have however used my laser on pre-made wood blanks from hobby stores and people close to me know I was doing this.

On Thanksgiving of 2021 my wife’s sister and her husband came over to the house and brought me a full sized Milwaukee router from a garage clean out from someone who had passed away.

The next day I took a rectangle of wood and put a routed edge on it and I think I probably giggled for 30 minutes.  I was tickled at how good it looked and how easy it was to do.

Since then I have bought several woodworking tools and a CNC machine.  I generally prefer to make things that are useful and not just trinkets and this blog will showcase a few of those projects.

Here’s thing number 1.  We renovated our bathroom upstairs.  My wife said she wanted some towel hooks on the back wall but said she wished it were on a board and not just the wall.  I decided to take a stab at it………………..
Continue reading

Super Old Tech – Fluorescent Lights

You’d think a modern Tech Blog would discuss modern equipment but the reality is sometimes tech that is still laying around gets forgotten about and in some sense this blog is about an attempt to upgrade some old tech.

Back when I was a pup fluorescent lighting was everywhere.  It was probably the most common way to light up larger spaces.  If you got your hands on a 4′ long lighting fixture you were living large.  My dad found a couple somewhere and painted them red, white, and blue and hung them in his office basement.  I’ll never forget that horrific buzz.

Recently my wife and I bought a mid 1980’s country home and the back yard shed had two 4′ long fluorescent light fixtures in it.  There were a couple of bad tubes in it and sometimes the lights would come on and sometimes they wouldn’t.  Being the tech savvy dude that I am I decided to upgrade the old light tubes to LED’s with drop in replacements.  Sounds easy, right?

It was not.
Continue reading

Some CNC Projects

I’ve been busy learning my new machine and more importantly the software, Vectric VCarve Desktop.  There are lots of choices for CNC software but Vectric Software is POWERFUL.   There just is SO MUCH you can do with it.   The last week or so I have been making Inlays.  That’s where you put, and glue one material inside another.  Here is what I have done so far:

CNC Inlays (click pics to enlarge)

But wait, there’s more!
Continue reading

CNC Router Bits – My Take

I’ve recently began making things on a CNC machine.  Anyone can buy a CNC but the learning curve can be steep especially as it relates to bits.  There is SO MUCH to know.  What bit do you use for what type of cutting action, what speed, what feed?  What the same bit in different materials will do.  Screw up your cuts and you will snap a bit in a heartbeat.  Or you can dull a bit.  Even the right bit with the wrong settings can burn or tear at your substrate.

To further exacerbate the situation ……….. BITS ARE EXPENSIVE.  Snap a $40 bit and it hurts more than your pride.  Also, because of the high cost of bits, at least initially, you’ll probably only have one of each type of bit.  Snap that bit and you’ll have to wait a few days to get a new one.

I started this journey with a Sainsmart 3018 Prover machine.

Cutting with 1/8th bit

In this pic I used a 1/8th end mill to cut out my name in a semi-3D relief manner.

Took quite a while to make this small design.  To speed things up, many CNC operations require the use of multiple bits during a single design creation.

Cut, change bit, cut, change bit, etc.

I probably could have cut this out much quicker by using a larger bit to clear the big empty spaces and then coming in and cleaning up around the name.

That sure is easy for me to think about now but when I made that John sign I didn’t HAVE ANY BIGGER BITS.  My machine only came with engraving bits and then I went on line and bought a little bit set that really wasn’t money well spent.

Continue reading

Storm Preparedness. A Story of Failure

At my old house I had all manner of storm preparations in place.  We moved here in July of 2021  which gave me several months before the Winter Storm of January 2022 hit.

I, as they say………Screwed The Pooch.

Fortunately for me the power never went out because if it had I wasn’t quite ready for it.   My biggest indiscretion was that I own a 9500 watt, 50 amp generator.  That is essentially enough power to run your whole house in a storm.

At my old house I had a 7500 watt, 30 amp generator.  I ran my whole house EASILY with that.  And while this is a much larger house with mostly all electric appliances…………you pick a floor to live on.  Upstairs or Downstairs.  Actually the heating system downstairs runs on gas. So if we stay downstairs, which we mostly do anyway………….we’d never miss a beat.

So when we moved here I decided to hook a PBN50 Power Inlet Box up to the house.

  • 9500 watt, 50 amp generator – 
  • 50 amp power inlet connector – 
  • Cord to hook them together – X

Shit.
Continue reading