SPARK

A plug-and-play development kit designed as a USB module, the Spark facilitates rapid prototyping of IoT solutions.

Once configured, the board can be connected to a power bank for mobility. The Spark works with the open source Arduino IDE platform, which allows developers to tap into a huge development community to speed up the process. Compatible with the suite of Grove sensors, which have easy-to-use standardized connectors, the Spark includes a development board and up to four Grove connectors.

What’s in the Box?

Your development kit contains a Spark development board and four Grove sensors that can measure temperature, sound, distance and 6-axis accelerometer and gyroscope.

Prerequisites

Before setting up your board, you should have the following:

  • Expansion Board
  • An mQCentral account
  • Credentials for your board, including:
    • DevEUI
    • Appkey
    • AppEUI

If you do not have mQCentral account credentials, contact machineQ Support.

Required Software

Sample code – To help you get started in your development efforts, machineQ has provided an example sketch file (link) for the included temperature sensor.

  • Navigate to http://wiki.seeedstudio.com/Grove/ to download additional code for the sensors included in your package
  • Add verbiage from Beth’s doc on Cayenne LPP
  • The Arduino Integrated Development Environment (IDE) via web or download

 

Setting up the Spark

 

1) Plug the board into your computer with a USB or micro USB cable.

2) Plug the temperature/humidity sensor into port A2/A3 on the board.

3) Confirm the COM port that the board is using:

  • Open Arduino on your computer.
  • Select the Tools tab.
  • Change the board to Arduino Leonardo, if it is listed as something else.

4) Change the Port to the port you are using for your board.

5) Load the sketch file from machineQ into Arduino IDE by clicking File>Open and choosing the downloaded sketch file (*.ino). You must put it into its own folder on your computer. If you skip this step, Arduino will prompt you to complete it.

6) Open the file with Arduino. The code will be displayed.

7) Scroll down in the code until you find the DevEUI, AppEUI and Appkey.

8) Insert the keys from the machineQ email into the code by overwriting the values in quotes in the code.

9) Compile the code and upload it to the board.

10) Access the mQCentral portal to register your board. Follow these instructions.

11) To display the data in a Dashboard, follow these instructions.

12) Navigate to http://wiki.seeedstudio.com/Grove/ to download additional code for the sensors included in your package.