Multi-Hackers


Multi-Tech's All Star Hacking Team!

You are viewing an older revision! See the latest version

2015 ATT Government Solutions Hackathon

/media/uploads/mfiore/img_1469.jpg

Introduction

Welcome to the MultiTech wiki page for the 2015 ATT Government Solutions Hackathon! This page is the perfect starting point if you're using the MultiTech Dragonfly + UDK + Sensors bundle as a part of your solution.

Getting Started

Before you start coding, you'll want to take care of a couple housekeeping things:

  • Go to the mbed developer site and create an account.
  • Go to the MultiTech Dragonfly platform page and click the "add to your mbed compiler" button.
  • Make sure the STLink firmware on your UDK is up to date by following the steps on the Nucleo Firmware page.
  • Get a terminal emulator so you can see debug output from your Dragonfly.

Examples

MultiTech has put together an example application that demonstrates how to use the Dragonfly + UDK + sensors setup.

Import programMultiTech_Dragonfly_2015_ATT_Gov_Solutions_Hackathon_Example

Example program for MultiTech Dragonfly using ST MEMs sensor shield, Grove moisture sensor, and Grove button.

This program reads sensor data, displays it on the debug port, sends a SMS message containing sensor data when the button is pressed (configuration required), and posts sensor data to the AT&T M2X cloud platform (configuration required). The program uses three libraries to accomplish these tasks.

Import librarymtsas

Complete library supporting MultiConnect Dragonfly and SocketModem Arduino Shield devices.

The MTSAS library provides an easy-to-use API to the cellular radio on the Dragonfly. Instead of sending AT commands and parsing the responses yourself, let MTSAS do the dirty work for you.

Import libraryX_NUCLEO_IKS01A1

Firmware Library for X-NUCLEO-IKS01A1 (MEMS Inertial & Environmental Sensors) Expansion Board

The X_NUCLEO_IKS01A1 library provides an API to all of the sensors on the ST MEMs board. With a few function calls, you can be reading the temperature, humidity, and pressure, as well as getting motion and position data from the magnetometer, accelerometer, and gyroscope.

Import libraryMbedJSONValue

Minimalist JSON parser and serializer (inspired by picojson). Used by MbedJSONRpc.

Instead of formatting JSON data for a HTTP POST yourself, let MbedJSONValue do it for you.


All wikipages