# BEE Board and Daisy-7 IMU-GPS module

<p class="abstract">Create your IMU inertial measurement Application in small area</p>

This article illustrate how to read all values from [Daisy-7](http://www.acmesystems.it/DAISY-7) with BEE Board.

<img width="60%" src="./beeboard_imu.jpg"/>

This module extends the BEE Board capabilities to make GPS/MEMS applications such as

* Motion activated functions
* Intelligent power saving for handheld devices
* Appliances and robotics
* Motion Control
* IMU inertial measurement unit & AHRS
* GPS tracking
* Black box
* Motion reconstruction and analysis


# Application example : BlackBox

<p class="abstract">Dump DAISY-7 data in CSV file for motion reconstruction and analysis.</p>

This example executes a dump of all data received from the DAISY-7 every 200ms on a micro SD card.
We are connected one button and one led for user interface. Press button to start logging, every led blink one row are recorded in CSV file. If you hold button on startup, dump file is emptied!

To connect SD Card to W3 of BEE Board follow [this guide](http://www.acmesystems.it/beeboard_sdcard)

## Data collected from my BlackBox

<img width="60%" src="./imu_graph.jpg"/>

[CSV File](./DUMP.CSV)

## Hardware Required

* a [BEE](http://www.acmesystems.it/BEEBOARD) Board
* a [DAISY-7](http://www.acmesystems.it/DAISY-7) GPS-MEMS
* a [DAISY-12](http://www.acmesystems.it/DAISY-12) protoboard
* a microSD card adapter
* Two Daisy Flat Cable

## BEE Board Code

<span class="github" user="Madefree" project="playground" file="BlackBox/BlackBox.ino">BlackBox.ino
</span>

## Matlab import and plot CSV dump file

<span class="github" user="Madefree" project="playground" file="BlackBox/matlab/plotData.m">plotData.m
</span>

<span class="github" user="Madefree" project="playground" file="BlackBox/matlab/importCSV.m">importCSV.m
</span>

# Application example : GPS Tracking with SMS

<p class="abstract">Tracking your mobile application with SMS</p>

<img width="60%" src="./tracker.jpg"/>

## Hardware Required

* a [BEE](http://www.acmesystems.it/BEEBOARD) Board
* a [DAISY-7](http://www.acmesystems.it/DAISY-7) GPS-MEMS
* a [DAISY-13](http://www.acmesystems.it/DAISY-13) GSM Modem
* Two Daisy Flat Cable

In this example if a number stored in SIM Phone Book calls [Daisy-13](http://www.acmesystems.it/DAISY-13), it responds with GPS coordinate in SMS.

For more info about Daisy-13 and BEE Board, follow [this page](http://www.acmesystems.it/beeboard_gsm)

## Code

<span class="github" user="Madefree" project="playground" file="TrackerGPS/TrackerGPS.ino">TrackerGPS.ino
</span>

# Library to manage Daisy-7 with BEE Board

## Communication

* GPS communicate via Serial Port at 115200 baudrate.
* Other sensor communicate via I2C bus.

This scenario is optimal for **W1** :)

## Daisy7 library

* Download and Install it by following [this guide](http://www.acmesystems.it/beeboard_add_libraries_to_ide).
* Plug Ribble Cable on Wings **W1**
* open IDE and iclude Dasiy7 Library.

## Related links

* [DAISY-7](http://www.acmesystems.it/DAISY-7)
* [BEE Board PINOUT](http://www.acmesystems.it/beeboard_pinout)
* [Madefree web site](http://www.madefree.eu)

@shop='BEEBOARD'
@shop='BEEKIT-1'
@shop='DAISY-7'
@shop='DAISY-7-L'
@shop='GPSANT'
@shop='FC-19818-10P-FF'
@shop='JJ-02291-10P-F'
@shop='FC-3754-1M'
