Sensor Tutorials Overview

This set of sensor tutorials allows you to explore the Mynewt Sensor Framework features and learn how to develop sensor-enabled Mynewt applications.

The Mynewt Sensor framework supports:

  • Onboard and off-board sensors.

  • Retrieving sensor data and controlling sensor devices via the Mynewt OS Shell.

  • Retrieving sensor data over the OIC protocol and BLE transport.

Available Tutorials

The tutorials are:

Mynewt Smart Device Controller OIC App

We use the Mynewt Sensor Monitor App on iOS or Android to retrieve and display sensor data from the Mynewt OS OIC sensor applications described in the OIC Sensor Data Monitoring tutorials. You can download the app from either the Apple Store or Google Play Store.

Note: At the time of writing this tutorial, the iOS app was still in the queue waiting to be placed in the App Store. You can build the iOS app from source as indicated below.

If you would like to contribute or modify the Mynewt Smart Device Controller App, see the Android Sensor source and iOS Sensor source on github.


Ensure that you meet the following prerequisites before continuing with one of the tutorials.

  • Have Internet connectivity to fetch remote Mynewt components.

  • Have a computer to build a Mynewt application and connect to the board over USB.

  • Have a Micro-USB cable to connect the board and the computer.

  • Install the newt tool and toolchains ( See Basic Setup ).

  • Read the Mynewt OS Concepts section.

  • Create a project space (directory structure) and populate it with the core code repository (apache-mynewt-core) explained in Creating Your First Project

  • Work through one of the Blinky Tutorials