How to Flash RAK2245 Pi HAT OS on Raspberry Pi 3B+/4 | Step-by-Step LoRaWAN Gateway Tutorial

Introduction

Welcome to the first part of our LoRaWAN Gateway setup series. In this tutorial, we’ll learn how to flash the operating system (OS) for the RAK2245 Pi HAT on a Raspberry Pi 3B+/4.

The RAK2245 Pi HAT is a LoRaWAN concentrator board that, when combined with a Raspberry Pi, allows you to build a powerful DIY LoRaWAN gateway. This gateway will later run ChirpStack LoRaWAN Server, which enables you to connect LoRaWAN nodes and manage them efficiently.


👉 Full step-by-step video guide is also on YouTube, but keep reading for detailed instructions, screenshots, and troubleshooting tips.


Hardware & Software Requirements

Hardware Needed

  • RAK2245 Pi HAT (LoRaWAN concentrator)
  • Raspberry Pi 3B+ or Raspberry Pi 4
  • MicroSD card (16GB or larger, Class 10 recommended)
  • Power supply (5V 3A recommended for Pi 4)
  • Internet connection (Ethernet or WiFi)

Software Needed

  • RAK2245 OS image (download from RAK official site)
  • BalenaEtcher (for flashing SD card)
  • ChirpStack LoRaWAN Server (to be installed in next tutorial)

Preparing the Raspberry Pi

  1. Download the RAK2245 OS image from RAKwireless official resources.
  2. Insert your microSD card into your computer.
  3. Optional but recommended: verify the checksum of the downloaded image to ensure integrity.

Flashing the OS (Step-by-Step)

  1. Install and open BalenaEtcher.
  2. Click Flash from file → select the RAK2245 OS image.
  3. Choose your microSD card as the target.
  4. Click Flash! and wait for the process to complete.
  5. Insert the SD card into the Raspberry Pi.
  6. Connect the RAK2245 Pi HAT, power up your Raspberry Pi, and let it boot.

Verifying Installation

  • Connect to your Raspberry Pi via HDMI or SSH.
  • Ensure the OS boots properly.
  • Check that the RAK2245 HAT is detected (using device commands or logs).
  • If successful, your Pi is now running the RAK2245 OS.

Preparing for ChirpStack Installation

Now that the base OS is running, the next step will be installing ChirpStack LoRaWAN Server. ChirpStack acts as the backend network server for managing LoRaWAN devices.

👉 Stay tuned for Part 2 of this series where we install and configure ChirpStack on the Raspberry Pi.


Common Issues & Troubleshooting

  • Issue: SD card not detected → Solution: Re-flash or use a different card.
  • Issue: Pi not powering → Solution: Ensure you’re using a 5V 3A adapter.
  • Issue: No network → Solution: Double-check Ethernet cable or WiFi config.

Video Tutorial


Conclusion

We’ve successfully flashed the OS for the RAK2245 Pi HAT on Raspberry Pi 3B+/4. This forms the foundation for building a LoRaWAN gateway, and in the next tutorial, we’ll move on to installing ChirpStack.

📬 Enjoyed this tutorial? Stay updated by subscribing to our newsletter

💬 Got questions or stuck somewhere? Drop a comment below — I’d love to help.

Oh hi there 👋
It’s nice to meet you.

Sign up to receive awesome content in your inbox, every month.

We don’t spam! Read our privacy policy for more info.

5 1 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Scroll to Top
0
Would love your thoughts, please comment.x
()
x