Skip to content
MCU Atlas
NRF52NRF52840

OpenHaystack on Zephyr: Find My tracking with nRF52840

Track anything with Apple's Find My network: this Zephyr firmware turns an nRF52840 board into an OpenHaystack Find My accessory you provision yourself.

Difficulty:IntermediateSource available

Key Facts

  • Chip: nRF52840
  • RTOS: Zephyr
  • Network: Apple Find My (crowdsourced)
  • Power: coin cell feasible

About This Project

This project ports OpenHaystack to Zephyr RTOS so an nRF52840 Dongle (or other nRF52 board) can advertise as an Apple Find My accessory and be located on Apple's crowdsourced network. Power draw is low enough for coin-cell or small-battery operation. It is privacy-sensitive: only track your own devices, and understand the cryptographic key management OpenHaystack requires.

Source & Attribution

Source: GitHub
License: MIT
Last verified: 10/15/2026
OpenHaystack on Zephyr: Find My tracking with nRF52840

Illustration

How to Build It

A Zephyr RTOS port of OpenHaystack firmware for nRF52840 (and other Zephyr BLE) boards. It sends Bluetooth advertisements that Apple's Find My network picks up, so you can locate a DIY tag with the OpenHaystack app on a Mac.

Parts Needed

  • nRF52840 Dongle (or another Zephyr-supported BLE board)
  • CR2032 or other power if not on USB
  • Mac running the OpenHaystack app (to generate keys and view locations)
  • Zephyr toolchain (west, Zephyr SDK)

Steps

  1. 1

    Generate a key

    In the OpenHaystack Mac app, create an accessory and copy its advertisement public key.

  2. 2

    Set up Zephyr

    Install the Zephyr SDK and west, then initialise a workspace for the app and run west update to fetch the modules.

  3. 3

    Insert your key

    Either paste the key into the public_key array in main.c before building, or build first and patch the placeholder in zephyr.bin with the included openhaypatch.sh script.

  4. 4

    Build

    Run west build -p auto -b <your-board> -s app. The image ends up in build/zephyr.

  5. 5

    Flash

    Run west flash. Boards like the nRF52840 Dongle may need nrfutil DFU instead, so check your board's docs.

  6. 6

    Track it

    Leave the tag somewhere and watch for location reports in OpenHaystack. Only track your own property.

Bill of Materials

Parts list

2 parts · 2 linked

Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works

Not included: 3D-printed case, wire, solder, USB cable

Download CSV

Related Projects

Pi-hole: network-wide ad blocking on Raspberry Pi
Illustration
RASPBERRY PIPI-ZERO-2-W
A DNS sinkhole that blocks ads and trackers for every device on your network, classic first Raspberry Pi project.
Beginner·Code
3 parts listed
Syndetis: a pocket Ethernet tester on the WT32-ETH01 ESP32
Illustration
ESP32
Free MIT firmware turns the WT32-ETH01 ESP32 into a pocket Ethernet tester: link speed, DHCP, LLDP neighbors and ping on an OLED, plus a phone web dashboard.
Intermediate·Code
6 parts listed
ESP32 AdBlocker: network-wide ad blocking, no Raspberry Pi
Illustration
ESP32ESP32-S3
One ESP32-S3 N16R8 board becomes a Pi-hole-style DNS ad blocker for your whole home network — every device covered, with reports to your phone.
Beginner·Code
2 parts listed