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.
sensors.h
- Committer:
- Fuminori OKUHARA
- Date:
- 2018-07-30
- Revision:
- 5:e92264bc120e
File content as of revision 5:e92264bc120e:
typedef struct { float temperature; float pressure; float humidity; } BME280Data; typedef struct { float temperature; float accelerometer[3]; float gyroscope[3]; float magnetometer[3]; } MPU9250Data; typedef struct { BME280Data bme280; MPU9250Data mpu9250; } SensorData;