This tutorial refers to a product that has reached its end-of-life status.

MKR FOX 1200 Movement Trigger

Use your MKR FOX 1200 as a movement trigger to keep an eye on your belongings.

Components and Supplies

About This Project

Background

This project relies on the geolocation feature of the Sigfox network.

The location computation is based on the data from the Sigfox infrastructure, coming from several replicas of the same messages sent by a device and received by different base stations. The method used is not based on flight time or signal Doppler shift, but on the signal strength (RSSI - Received Signal Stren- gth Indicator) using a probability model (the location with the highest probability is selected). The Sigfox geolocation service will evolve in 2017 to increase its accuracy by using machine learning technology.

Accelerometer

Another key technology is the micromachined accelerometer inside the MMA8451 device: an I2C interfaced sensor that our project uses to detect movements and trigger the communication with the Sigfox network. Thanks to the low power modes of SAMD21 and Sigfox technology, expect this project to run for several months on a pair of AA Alkaline batteries.

Components

The hardware.

Build It

Connect the 3 axis to the MKR FOX 1200 as shown:

Connect the accelerometer.

Accelerometer connected.

Connect a jumper between pin 14 and pin 0:

Connect jumpers.

Put in a nice box:

Put the components in a box.

Your setup is now hidden!

Place the box inside the car:

The box in the car.

Code

How It Works

Once the movement sensor triggers, the MKR FOX will send an alert message with the coordinates taken from the network.

Software

On software side, if you haven't done yet, register your MKR FOX 1200 by following the example here.

Then go to the Sigfox backend and configure the callback as follows:

Sigfox Backend.
Sigfox Backend.

Change the recipient with your email address.
Change the recipient with your email address.

Suggest changes

The content on docs.arduino.cc is facilitated through a public GitHub repository. If you see anything wrong, you can edit this page here.

License

The Arduino documentation is licensed under the Creative Commons Attribution-Share Alike 4.0 license.