Skip to main content

🛠️ Assembling with Raspberry Pi

In this section, you'll learn how to install a Raspberry Pi (5) into the M1 enclosure—perfect for remote, headless deployments in rugged environments.

But before diving in, make sure you’ve got all the gear ready!


✅ What You’ll Need

M1 Kit
  • M1 Enclosure Kit
  • Raspberry Pi 5 (or earlier version with the same mounting holes)
  • Phillips head screwdriver
  • Flat head screwdriver (optional)

Setup

Accessing the M1 carrier board

We’ll start by removing the top lid of the enclosure to reach the carrier board.

M1 RPi step 1

The lid isn’t fastened with screws—just lift it off.

M1 RPi step 2

Use a Phillips head screwdriver to remove the three screws holding the carrier board in place. Don’t worry about the other three—you’ll find them in your kit. We pre-installed just three to make your first removal easier.

M1 RPi step 3

Gently lift up the carrier board and remove it from the enclosure.

M1 RPi step 4

Want to explore the carrier board in detail? We’ve documented that here.


Preparing the Raspberry Pi

Now let’s prep the Raspberry Pi for mounting. You’ll need the Pi (we’re using RPi 5 here) and the nylon screws and threaded spacers from the kit.

M1 RPi step 5

Install the four nylon spacers into the mounting holes on the Pi.

M1 RPi step 6

Once installed, it should look something like this.

M1 RPi step 7

Installing the Raspberry Pi onto the Carrier Board

Line up the Pi with the carrier board.

M1 RPi step 8

Carefully align the 40-pin header with the socket on the carrier board. Also make sure the spacers fit into the holes.

M1 RPi step 9

Gently press down on both sides. You should see a small 1mm gap between the connectors—this is intentional. Don’t try to push it all the way in.

M1 RPi step 10

Use the provided screws to secure the Pi to the board.

M1 RPi step 11

This setup leaves room for HATs or other accessories to be installed later.

M1 RPi step 12

Installing the USB-C Adapter Cable

Your kit comes with a custom angled USB-C cable that routes neatly through the enclosure.

M1 RPi step 13

Even if you don’t plan to use USB-C right away, we recommend plugging it in now. You won’t be able to access the port once the board is mounted.

M1 RPi step 14

Now place the assembled carrier board back into the enclosure.

M1 RPi step 15

Secure it with all six self-tapping screws—three from before and three new ones from the kit.

M1 RPi step 16
M1 RPi step 17

Installing the Cable Glands

To bring in power or data cables, use the M20 cable glands. The enclosure has two sealed M20 holes and two for optional SMA connectors (antenna ports).

M1 RPi step 18

Planning to bring out only the USB cable? Just remove one M20 cap and install the gland from the kit.

M1 RPi step 19

To ensure an IP67 seal, tighten to about 7 kgf-cm.

M1 RPi step 21

Thread the USB cable through the gland.


Install the Silicone Gasket

M1 RPi step 22

Place the gasket around the edge of the lid groove. Make sure it sits flat.


Close the Lid

M1 RPi step 23

Secure the lid using the six M3 screws and washers. Use the smaller Allen key included in the kit.

M1 RPi step 24

To maintain the IP67 rating, tighten screws to about 7.5 kgf-cm.

M1 RPi step 25

All done! Your Raspberry Pi is now rugged and ready. 🌦️


⚡ Powering Your Device

There are several ways to supply power to your Raspberry Pi inside the M1 enclosure. The most straightforward is via USB-C, as we covered earlier—but that’s not your only option.


1. 5V Terminal Block

The M1 carrier board breaks out the Pi’s 5V and GND lines to a convenient 2-pin terminal block.

M1 RPi Terminal block

Use it to bring power using plain wires. Make sure your power source provides 5V at 5 Amps, which is the recommended spec for the RPi 5.

M1 RPi Terminal block wiring

You can route the cable through a cable gland.
💡 Pro tip: If your wire is too thin for the gland, wrap it with butyl tape to make a tighter seal.


2. Power Over Ethernet (PoE)

The carrier board includes optional pads for a 4-pin PoE header—just solder it on.

M1 RPi POE connector

This lets you use a PoE HAT to deliver both power and ethernet through a single cable.

M1 RPi POE connector solder

Make sure the header is soldered straight—this makes Pi installation easier.

M1 RPi Terminal POE interface

Install your PoE HAT and plug in the Pi like usual.

M1 RPi Terminal POE ethernet cable

Feed the ethernet cable in through one of the M20 glands.
Note: Bulky RJ45 connectors might be a tight fit.


3. Dedicated Power HATs

There are many off-the-shelf power HATs that can step down 12V or 24V to 5V for the Pi. These are useful for automotive, solar, or industrial deployments.


✨ Enabling Additional Hardware Features

The M1 enclosure has a few extra tricks built-in to help you build a complete, professional-grade product.


1. Using the Onboard RGB LEDs

There are three user-programmable RGB LEDs:

  • One on the top (main status LED)
  • Two on the side (near the external button)

These are controlled by an onboard ADP8866 I²C LED driver, connected to pins 3 and 5 on the Pi's header (standard I²C).
Its default I²C address is 0x27.

M1 RPi RGB LEDs

Heads-up: This shares the same I²C bus as the Qwiic connector, so avoid address conflicts.

🔧 A control library for the ADP8866 will be available soon on our GitHub!


2. Connecting the External Button

The M1 enclosure includes a user-accessible push button on the exterior. You can hook it up in parallel with the Pi's power button header to enable ON/OFF or suspend actions.

M1 RPi Button

Use two jumper wires included in your M1 kit (colors might differ) to connect the BTN header to the Pi's power button input.

M1 RPi Button

The BTN header is clearly marked, has no polarity, and is easy to connect.

M1 RPi Button

Just make sure to solder or secure the connections properly.

Want to know more about how to use this with your Pi? Check out the official Pi power button guide.


3. Qwiic Interface (a.k.a. STEMMA QT)

We love SparkFun's Qwiic and Adafruit’s STEMMA QT ecosystems—they make adding I²C peripherals painless.

M1 RPi Qwiic connector

Just plug in compatible sensors, displays, or IMUs—no soldering required.

M1 RPi Qwiic sensor

The Qwiic port is tied to pins 3 and 5 on the Pi’s header and runs at 3.3V logic.


🧱 Mounting the Enclosure

You’ll find detailed mounting patterns and mechanical specs in the datasheet.
Perfect for wall plates, custom brackets, or even pole mounts.

🔗 View Mounting Instructions →


📄 M1 Enclosure Datasheet

Need technical drawings, environmental ratings, or compliance info?

Check out the full M1 datasheet →


⚠️ Limitations

Here are a few things to keep in mind:

  • Some bulky RJ45 ethernet plugs may not fit through the M20 glands—use low-profile versions or trim the strain relief.