Scaling an IoT deployment? Join our webinar on May 28th where we dive into real-world scaling pain points and how to overcome them.

Blues Developers
What’s New
Resources
Blog
Technical articles for developers
Newsletter
The monthly Blues developer newsletter
Terminal
Connect to a Notecard in your browser
Developer Certification
Get certified on wireless connectivity with Blues
Webinars
Listing of Blues technical webinars
Blues.comNotehub.io
Shop
Docs
Button IconHelp
Notehub StatusVisit our Forum
Button IconSign In
Sign In
Sign In
What’s New
Resources
Blog
Technical articles for developers
Newsletter
The monthly Blues developer newsletter
Terminal
Connect to a Notecard in your browser
Developer Certification
Get certified on wireless connectivity with Blues
Webinars
Listing of Blues technical webinars
Blues.comNotehub.io
Shop
Docs
homechevron_rightExample Appschevron_rightAcceleratorschevron_rightIndoor Floor-Level Tracker

Indoor Floor-Level Tracker

  • Arduino Firmware
  • Environment Variables
  • Fleet Management
  • Notehub API
  • Swan
  • Web App Provided

A highly accurate floor-level tracker for response teams at emergency events.

To run this project yourself you’ll need to:

  • Configure Notehub.
  • Purchase the necessary hardware.
  • Flash the project’s firmware.
  • Run the project’s web application.

Notehub

The Indoor Floor-Level Tracker runs on top of Notehub. As such, to run this sample you’ll need to create a Notehub account, start a new Notehub project, and configure a handful of environment variables.

Creating a New Project

  1. Sign up for a free Notehub account, if you don’t have one already.
  2. Click the blue Create Project button in the top-right corner of the screen.
  3. Give the project a name, such as “FloorTracker”, and then click the next Create Project button. Creating a project in Notehub with a name

Configuring Environment Variables

The Indoor Floor-Level Tracker uses environment variables for storing project settings that need to be shared and synchronized across devices.

For this project all environment variables need to be set up at the fleet level, allowing you to configure different settings on different groups of devices, if necessary.

Notehub creates an initial fleet for you when you start a new project, and you can use that for setting your initial variables.

  1. Navigate to your fleet in the navigation menu, and then click the Settings link. Location of Notehub fleet settings
  2. Click the Environment tab.
  3. Scroll down to the Fleet environment variables heading, and define the four variables below.
    1. baseline_floor: (integer) The floor a device is at when starting up. 1 is a good default, and only needs to be overrode if starting up devices when not at ground level.
    2. floor_height: (number) An optional height (in meters) of the floors in the current building. If not provided or blank, the firmware uses a default value.
    3. live: (bool) Whether devices should actively be tracking and reporting. You’ll want to set this to false until you’re ready to start testing.
    4. no_movement_threshold: (number) The number of minutes to allow before firing an alarm if a device has not moved floors.
  4. With all four defined, click the blue Save button. Notehub fleet environment variables fully defined

With this your Notehub backend is fully configured, and you’re ready to start setting up your hardware.

Hardware

The following hardware is required to run the Indoor Floor-Level Tracker.

  • Blues Starter Kit
  • BMP581
  • Qwiic Cable

The Notecard, Swan microcontroller, Molex antenna, and BMP581 all connect to Notecarrier-F as shown in the image below.

The final assembled hardware

NOTE: For a detailed look at how to connect the hardware, refer to the Notecard and Notecarrier-F quickstart guide.

With the hardware assembled you next need to get the project’s firmware running on your device.

Firmware

The Indoor Floor-Level Tracker project has custom firmware that runs on the Swan. As a next step, complete the firmware’s setup guide to get your firmware up and running.

Web Application

The Indoor Floor-Level Tracker’s web application allows you to view device data and manage environment variables in a browser.

As a final step, complete the web app’s setup guide to get the app running on your development machine.

On This Page

  • Notehub
    • Creating a New Project
    • Configuring Environment Variables
  • Hardware
  • Firmware
  • Web Application

Resources

  • GitHub
  • Hackster
  • Request More Info
© 2025 Blues Inc.
© 2025 Blues Inc.
TermsPrivacy
Notecard Disconnected
Having trouble connecting?

Try changing your USB cable as some cables do not support transferring data. If that does not solve your problem, contact us at support@blues.com and we will get you set up with another tool to communicate with the Notecard.

Advanced Usage

The help command gives more info.

Connect a Notecard
Use USB to connect and start issuing requests from the browser.
Try Notecard Simulator
Experiment with Notecard's latest firmware on a Simulator assigned to your free Notehub account.

Don't have an account? Sign up