Example code of sakura.io Evaluation board.

Dependencies:   AQM0802A BME280 MPU9250_SPI SakuraIO gps mbed

SakuraIo Evaluation Board Standard

Overview

This program is example code of sakura.io Evaluation board.

Functions

  • Periodic measure from onboard sensors(period is 200ms)
    • Motion sensor(gyro, accelometer, magnetometer)
    • Environment sensor(temperatur, humidity, airpressur)
    • GPS(longitude, latitude, timestamp)
  • Periodic send the measuring datas to sakura.io platform(period is 300sec)
  • Output the measured datas output to USB-Serial port
    • baudrate is 9600bps
  • Can select on / off of periodic running with switch `SW5`

Description

See the Getting Started page.

Revision:
4:99f7d7c6a408
Parent:
3:e5e53c1f6fda
--- a/main.cpp	Mon May 07 06:17:24 2018 +0000
+++ b/main.cpp	Thu Jul 26 05:19:17 2018 +0000
@@ -171,7 +171,7 @@
     }
     
     if (stat_sw5 == 1) {
-        if ((tick_by_200ms % SEND_INTERVAL_TICKS_PAR_COUNT) == 0) {  //定期送信は5分に一回(31日動かしっぱなしでも無料分を超えないように)
+        if ((tick_by_200ms % SEND_INTERVAL_TICKS_PAR_COUNT) == 0) {  //Send data intarval is 5 minutes.
             pc.printf("\r\n\r\n--------------------\r\n");
             read_sensor_data();
             pc.printf("BME280\r\n");